From 1c8f05e217830a8ca5f7025a13285ef77f92c0c6 Mon Sep 17 00:00:00 2001 From: stakbucks Date: Tue, 5 Nov 2024 22:26:52 +0900 Subject: [PATCH] feat(demo, bottle): add app-site-association page --- apps/bottle/src/app/intro/create/page.tsx | 4 ++++ .../profile/edit/(items)/introduction/page.tsx | 4 ++++ .../src/components/intro/introduction/index.tsx | 3 +++ .../src/components/intro/questions/index.tsx | 3 +++ .../apple-app-site-association/route.ts | 16 ++++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 apps/demo/src/app/.well-known/apple-app-site-association/route.ts diff --git a/apps/bottle/src/app/intro/create/page.tsx b/apps/bottle/src/app/intro/create/page.tsx index 8e9a98c..2571855 100644 --- a/apps/bottle/src/app/intro/create/page.tsx +++ b/apps/bottle/src/app/intro/create/page.tsx @@ -12,6 +12,7 @@ import { bottleStorage, keyMap } from '@/features/bottle-storage/bottleStorage'; import { useFunnel } from '@/features/funnel'; import { useIntroductionMutation } from '@/store/mutation/useIntroductionMutation'; import { useProfileImagesMutation } from '@/store/mutation/useProfileImagesMutation'; +import { spacings } from '@bottlesteam/ui'; import { useRouter } from 'next/navigation'; import { useMemo } from 'react'; import { GradientBackground } from './GradientBackground'; @@ -52,6 +53,9 @@ export default function CreateIntroPage() { {'고생 많으셨어요!\n작성한 소개를 다듬어 보세요'} + + {'타인에게 불쾌감을 줄 경우 제재를 받을 수 있어요'} + { diff --git a/apps/bottle/src/app/profile/edit/(items)/introduction/page.tsx b/apps/bottle/src/app/profile/edit/(items)/introduction/page.tsx index 23b7fb4..b500ba5 100644 --- a/apps/bottle/src/app/profile/edit/(items)/introduction/page.tsx +++ b/apps/bottle/src/app/profile/edit/(items)/introduction/page.tsx @@ -4,6 +4,7 @@ import { IntroductionV2 } from '@/components/intro/introductionV2'; import { ProfileLayout } from '@/components/profile/layout'; import { useIntroductionMutation } from '@/store/mutation/useIntroductionMutation'; import { useCurrentUserProfileQuery } from '@/store/query/useCurrentUserProfileQuery'; +import { spacings } from '@bottlesteam/ui'; import { useRouter } from 'next/navigation'; /** @@ -22,6 +23,9 @@ export default function IntroductionEditPage() { return ( <> {'보틀에 담을\n소개를 작성해 주세요'} + + {'타인에게 불쾌감을 줄 경우 제재를 받을 수 있어요'} + { diff --git a/apps/bottle/src/components/intro/introduction/index.tsx b/apps/bottle/src/components/intro/introduction/index.tsx index 9bb8d53..159e645 100644 --- a/apps/bottle/src/components/intro/introduction/index.tsx +++ b/apps/bottle/src/components/intro/introduction/index.tsx @@ -30,6 +30,9 @@ export function Introduction({ return ( <> {'보틀에 담을\n소개를 작성해 주세요'} + + {'타인에게 불쾌감을 줄 경우 제재를 받을 수 있어요'} +