diff --git a/app/(landing)/_components/IntroButtonSection.tsx b/app/(landing)/_components/IntroButtonSection.tsx index 622e620..66da71d 100644 --- a/app/(landing)/_components/IntroButtonSection.tsx +++ b/app/(landing)/_components/IntroButtonSection.tsx @@ -9,8 +9,8 @@ import { DrawerHeader, DrawerTitle, DrawerTrigger, -} from '@/shared/components/ui/drawer'; -import { Button } from '@/shared/components/ui/button'; +} from '@/components/ui/drawer'; +import { Button } from '@/components/ui/button'; import useModal from '@/shared/hooks/useModal'; const IntroButtonSection = () => { diff --git a/app/(landing)/page.tsx b/app/(landing)/page.tsx index a59661e..184d4dc 100644 --- a/app/(landing)/page.tsx +++ b/app/(landing)/page.tsx @@ -1,3 +1,5 @@ +import React from 'react'; + import SnowGlobeCanvas from '@/shared/components/canvas/SnowGlobeCanvas'; import UISection from '@/shared/components/ui/UISection'; import Header from '@/app/(landing)/_components/Header'; diff --git a/app/test/_components/SubmitButton.tsx b/app/test/_components/SubmitButton.tsx index 2426b56..1a95535 100644 --- a/app/test/_components/SubmitButton.tsx +++ b/app/test/_components/SubmitButton.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { useFormStatus } from 'react-dom'; -import { Button } from '@/shared/components/ui/button'; +import { Button } from '@/components/ui/button'; const SubmitButton = () => { const { pending } = useFormStatus(); diff --git a/components.json b/components.json index 606a44e..fa674c9 100644 --- a/components.json +++ b/components.json @@ -11,7 +11,7 @@ "prefix": "" }, "aliases": { - "components": "@/shared/components", + "components": "@/components", "utils": "@/lib/utils" } } diff --git a/shared/components/ui/button.tsx b/components/ui/button.tsx similarity index 100% rename from shared/components/ui/button.tsx rename to components/ui/button.tsx diff --git a/shared/components/ui/dialog.tsx b/components/ui/dialog.tsx similarity index 100% rename from shared/components/ui/dialog.tsx rename to components/ui/dialog.tsx diff --git a/shared/components/ui/drawer.tsx b/components/ui/drawer.tsx similarity index 100% rename from shared/components/ui/drawer.tsx rename to components/ui/drawer.tsx diff --git a/shared/components/modals/GuestModal.tsx b/shared/components/modals/GuestModal.tsx index 2668c8d..e4d6068 100644 --- a/shared/components/modals/GuestModal.tsx +++ b/shared/components/modals/GuestModal.tsx @@ -9,8 +9,8 @@ import { DialogHeader, DialogTitle, DialogFooter, -} from '@/shared/components/ui/dialog'; -import { Button } from '@/shared/components/ui/button'; +} from '@/components/ui/dialog'; +import { Button } from '@/components/ui/button'; import MODAL_TYPE from '@/shared/constants/modal'; const GuestModal = () => { diff --git a/shared/components/modals/IntroduceModal.tsx b/shared/components/modals/IntroduceModal.tsx index 9c46643..c4a84a5 100644 --- a/shared/components/modals/IntroduceModal.tsx +++ b/shared/components/modals/IntroduceModal.tsx @@ -9,8 +9,8 @@ import { DialogHeader, DialogTitle, DialogFooter, -} from '@/shared/components/ui/dialog'; -import { Button } from '@/shared/components/ui/button'; +} from '@/components/ui/dialog'; +import { Button } from '@/components/ui/button'; import MODAL_TYPE from '@/shared/constants/modal'; const IntroduceModal = () => { diff --git a/shared/components/modals/MessageModal.tsx b/shared/components/modals/MessageModal.tsx index de3b5ea..bdae0e2 100644 --- a/shared/components/modals/MessageModal.tsx +++ b/shared/components/modals/MessageModal.tsx @@ -8,7 +8,7 @@ import { DialogTitle, DialogFooter, DialogClose, -} from '@/shared/components/ui/dialog'; +} from '@/components/ui/dialog'; import useModal from '@/shared/hooks/useModal'; import MODAL_TYPE from '@/shared/constants/modal'; diff --git a/shared/components/ui/PreviousButton.tsx b/shared/components/ui/PreviousButton.tsx index c13610b..c242698 100644 --- a/shared/components/ui/PreviousButton.tsx +++ b/shared/components/ui/PreviousButton.tsx @@ -3,7 +3,7 @@ import { useEffect } from 'react'; import { CircleArrowLeft } from 'lucide-react'; -import { Button } from '@/shared/components/ui/button'; +import { Button } from '@/components/ui/button'; import usePrev from '@/shared/hooks/usePrev'; const PreviousButton = () => { diff --git a/stories/Buttons/Button.stories.tsx b/stories/Buttons/Button.stories.tsx index 9387a78..b14723a 100644 --- a/stories/Buttons/Button.stories.tsx +++ b/stories/Buttons/Button.stories.tsx @@ -1,6 +1,6 @@ import type { Meta, StoryObj } from '@storybook/react'; import { fn } from '@storybook/test'; -import { Button } from '@/shared/components/ui/button'; +import { Button } from '@/components/ui/button'; const meta = { title: 'Button',