diff --git a/apps/shelter/src/pages/animals/index.tsx b/apps/shelter/src/pages/animals/index.tsx index c11ddc43..877008d2 100644 --- a/apps/shelter/src/pages/animals/index.tsx +++ b/apps/shelter/src/pages/animals/index.tsx @@ -1,3 +1,5 @@ +import NotReady from 'shared/components/NotReady'; + export default function AnimalsPage() { - return

AnimalsPage

; + return ; } diff --git a/apps/shelter/src/pages/chattings/index.tsx b/apps/shelter/src/pages/chattings/index.tsx index a48ead0b..25178c78 100644 --- a/apps/shelter/src/pages/chattings/index.tsx +++ b/apps/shelter/src/pages/chattings/index.tsx @@ -1,3 +1,5 @@ +import NotReady from 'shared/components/NotReady'; + export default function ChattingsPage() { - return

ChattingsPage

; + return ; } diff --git a/apps/volunteer/src/pages/animals/index.tsx b/apps/volunteer/src/pages/animals/index.tsx index c11ddc43..877008d2 100644 --- a/apps/volunteer/src/pages/animals/index.tsx +++ b/apps/volunteer/src/pages/animals/index.tsx @@ -1,3 +1,5 @@ +import NotReady from 'shared/components/NotReady'; + export default function AnimalsPage() { - return

AnimalsPage

; + return ; } diff --git a/apps/volunteer/src/pages/chattings/index.tsx b/apps/volunteer/src/pages/chattings/index.tsx index a48ead0b..25178c78 100644 --- a/apps/volunteer/src/pages/chattings/index.tsx +++ b/apps/volunteer/src/pages/chattings/index.tsx @@ -1,3 +1,5 @@ +import NotReady from 'shared/components/NotReady'; + export default function ChattingsPage() { - return

ChattingsPage

; + return ; } diff --git a/packages/shared/components/NotReady.tsx b/packages/shared/components/NotReady.tsx new file mode 100644 index 00000000..f800a6d2 --- /dev/null +++ b/packages/shared/components/NotReady.tsx @@ -0,0 +1,21 @@ +import { Button, Heading, HStack, Text, VStack } from '@chakra-ui/react'; +import { useNavigate } from 'react-router-dom'; + +export default function NotReady() { + const navigate = useNavigate(); + + return ( + + + 준비 중입니다 + + + 홈 혹은 이전 페이지로 이동해주세요 + + + + + + + ); +}