diff --git a/src/app/banner/page.tsx b/src/app/banner/page.tsx index 12cdf4b..54f12b6 100644 --- a/src/app/banner/page.tsx +++ b/src/app/banner/page.tsx @@ -1,5 +1,5 @@ "use client"; -import Banner from "@/component/homes/banner/index" +import Banner from "@/components/home/banner/index" const banner =()=>{ return( <> diff --git a/src/app/declaration/page.tsx b/src/app/declaration/page.tsx index 6a4e582..52dc213 100644 --- a/src/app/declaration/page.tsx +++ b/src/app/declaration/page.tsx @@ -1,5 +1,5 @@ "use client"; -import Declaration from "@/component/homes/declaration/index" +import Declaration from "@/components/home/declaration/index" const DeclarationPage = ()=>{ return( diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 97dd262..57acedf 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,6 @@ import type { Metadata } from "next"; -import QueryClientProvider from "../component/common/provider/query-provider"; -import Layout from "../component/common/layout/index"; +import QueryClientProvider from "../components/common/provider/query-provider"; +import Layout from "../components/common/layout/index"; import StyledComponentsRegistry from "@/libs/registry"; import "@/styles/font.css" export const metadata: Metadata = { diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 86a705b..44533aa 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,5 +1,5 @@ "use client"; -import LoginPage from "@/component/auth/index"; +import LoginPage from "@/components/auth/index"; import React from "react"; export default function Login() { diff --git a/src/app/member/page.tsx b/src/app/member/page.tsx index 4317e48..0ac6794 100644 --- a/src/app/member/page.tsx +++ b/src/app/member/page.tsx @@ -1,5 +1,5 @@ 'use client'; -import Main from "@/component/homes/main"; +import Main from "@/components/home/main"; const Memeber = ()=>{ return
} diff --git a/src/app/page.tsx b/src/app/page.tsx index ff98e71..17d6596 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,5 +1,5 @@ "use client" -import Approve from "@/component/homes/approve"; +import Approve from "@/components/home/approve"; const MainPage = () => { return ; diff --git a/src/component/auth/index.tsx b/src/components/auth/index.tsx similarity index 100% rename from src/component/auth/index.tsx rename to src/components/auth/index.tsx diff --git a/src/component/auth/style.ts b/src/components/auth/style.ts similarity index 100% rename from src/component/auth/style.ts rename to src/components/auth/style.ts diff --git a/src/component/common/error/index.tsx b/src/components/common/error/index.tsx similarity index 100% rename from src/component/common/error/index.tsx rename to src/components/common/error/index.tsx diff --git a/src/component/common/layout/index.tsx b/src/components/common/layout/index.tsx similarity index 100% rename from src/component/common/layout/index.tsx rename to src/components/common/layout/index.tsx diff --git a/src/component/common/layout/style.ts b/src/components/common/layout/style.ts similarity index 100% rename from src/component/common/layout/style.ts rename to src/components/common/layout/style.ts diff --git a/src/component/common/provider/query-provider.tsx b/src/components/common/provider/query-provider.tsx similarity index 100% rename from src/component/common/provider/query-provider.tsx rename to src/components/common/provider/query-provider.tsx diff --git a/src/component/common/searchBtn/index.tsx b/src/components/common/searchBtn/index.tsx similarity index 100% rename from src/component/common/searchBtn/index.tsx rename to src/components/common/searchBtn/index.tsx diff --git a/src/component/common/searchBtn/style.ts b/src/components/common/searchBtn/style.ts similarity index 100% rename from src/component/common/searchBtn/style.ts rename to src/components/common/searchBtn/style.ts diff --git a/src/component/common/sidbar/index.tsx b/src/components/common/sidbar/index.tsx similarity index 97% rename from src/component/common/sidbar/index.tsx rename to src/components/common/sidbar/index.tsx index 4643126..c9adf92 100644 --- a/src/component/common/sidbar/index.tsx +++ b/src/components/common/sidbar/index.tsx @@ -9,7 +9,7 @@ import member2 from "@/assets/img/home/Vector.png"; import chat2 from "@/assets/img/home/chat.png"; import banner2 from "@/assets/img/home/page_info.png"; import defaultImg from "@/assets/img/home/Avatar1.png"; -import Logout from "@/component/homes/logout/index"; +import Logout from "@/components/home/logout/index"; import { usePathname } from "next/navigation"; import * as S from "./style"; import { useGetProfileInfo } from "@/queries/Profile/Profile.query"; diff --git a/src/component/common/sidbar/style.ts b/src/components/common/sidbar/style.ts similarity index 100% rename from src/component/common/sidbar/style.ts rename to src/components/common/sidbar/style.ts diff --git a/src/component/common/skleton/index.tsx b/src/components/common/skleton/index.tsx similarity index 100% rename from src/component/common/skleton/index.tsx rename to src/components/common/skleton/index.tsx diff --git a/src/component/common/skleton/style.ts b/src/components/common/skleton/style.ts similarity index 100% rename from src/component/common/skleton/style.ts rename to src/components/common/skleton/style.ts diff --git a/src/component/homes/approve/approveTable/index.tsx b/src/components/home/approve/approveTable/index.tsx similarity index 100% rename from src/component/homes/approve/approveTable/index.tsx rename to src/components/home/approve/approveTable/index.tsx diff --git a/src/component/homes/approve/approveTable/style.ts b/src/components/home/approve/approveTable/style.ts similarity index 100% rename from src/component/homes/approve/approveTable/style.ts rename to src/components/home/approve/approveTable/style.ts diff --git a/src/component/homes/approve/index.tsx b/src/components/home/approve/index.tsx similarity index 100% rename from src/component/homes/approve/index.tsx rename to src/components/home/approve/index.tsx diff --git a/src/component/homes/approve/style.ts b/src/components/home/approve/style.ts similarity index 100% rename from src/component/homes/approve/style.ts rename to src/components/home/approve/style.ts diff --git a/src/component/homes/banner/bannerForm/index.tsx b/src/components/home/banner/bannerForm/index.tsx similarity index 100% rename from src/component/homes/banner/bannerForm/index.tsx rename to src/components/home/banner/bannerForm/index.tsx diff --git a/src/component/homes/banner/bannerForm/style.ts b/src/components/home/banner/bannerForm/style.ts similarity index 100% rename from src/component/homes/banner/bannerForm/style.ts rename to src/components/home/banner/bannerForm/style.ts diff --git a/src/component/homes/banner/bannerList/index.tsx b/src/components/home/banner/bannerList/index.tsx similarity index 100% rename from src/component/homes/banner/bannerList/index.tsx rename to src/components/home/banner/bannerList/index.tsx diff --git a/src/component/homes/banner/bannerList/style.ts b/src/components/home/banner/bannerList/style.ts similarity index 100% rename from src/component/homes/banner/bannerList/style.ts rename to src/components/home/banner/bannerList/style.ts diff --git a/src/component/homes/banner/index.tsx b/src/components/home/banner/index.tsx similarity index 100% rename from src/component/homes/banner/index.tsx rename to src/components/home/banner/index.tsx diff --git a/src/component/homes/banner/style.ts b/src/components/home/banner/style.ts similarity index 100% rename from src/component/homes/banner/style.ts rename to src/components/home/banner/style.ts diff --git a/src/component/homes/declaration/List/index.tsx b/src/components/home/declaration/List/index.tsx similarity index 100% rename from src/component/homes/declaration/List/index.tsx rename to src/components/home/declaration/List/index.tsx diff --git a/src/component/homes/declaration/List/style.ts b/src/components/home/declaration/List/style.ts similarity index 100% rename from src/component/homes/declaration/List/style.ts rename to src/components/home/declaration/List/style.ts diff --git a/src/component/homes/declaration/index.tsx b/src/components/home/declaration/index.tsx similarity index 100% rename from src/component/homes/declaration/index.tsx rename to src/components/home/declaration/index.tsx diff --git a/src/component/homes/declaration/style.ts b/src/components/home/declaration/style.ts similarity index 100% rename from src/component/homes/declaration/style.ts rename to src/components/home/declaration/style.ts diff --git a/src/component/homes/logout/index.tsx b/src/components/home/logout/index.tsx similarity index 100% rename from src/component/homes/logout/index.tsx rename to src/components/home/logout/index.tsx diff --git a/src/component/homes/logout/style.ts b/src/components/home/logout/style.ts similarity index 100% rename from src/component/homes/logout/style.ts rename to src/components/home/logout/style.ts diff --git a/src/component/homes/main/index.tsx b/src/components/home/main/index.tsx similarity index 89% rename from src/component/homes/main/index.tsx rename to src/components/home/main/index.tsx index dfd98ed..12ed4a5 100644 --- a/src/component/homes/main/index.tsx +++ b/src/components/home/main/index.tsx @@ -4,8 +4,8 @@ import MemberTable from "./memberTable/index"; import { SearchBar } from "../searchBar/searchBar"; import { MEMBER_TABLE_ITEMS } from "@/constant/member/Member.constant"; import { useMemberSearchStore } from "@/store/member"; -import SkeletonComponent from "@/component/common/skleton/index"; -import ErrorBoundary from "@/component/common/error"; +import SkeletonComponent from "@/components/common/skleton/index"; +import ErrorBoundary from "@/components/common/error"; import { Suspense, useState } from "react"; const Main = () => { const { memberSearch, setMemberSearch } = useMemberSearchStore(); diff --git a/src/component/homes/main/memberTable/index.tsx b/src/components/home/main/memberTable/index.tsx similarity index 100% rename from src/component/homes/main/memberTable/index.tsx rename to src/components/home/main/memberTable/index.tsx diff --git a/src/component/homes/main/memberTable/style.ts b/src/components/home/main/memberTable/style.ts similarity index 100% rename from src/component/homes/main/memberTable/style.ts rename to src/components/home/main/memberTable/style.ts diff --git a/src/component/homes/main/style.ts b/src/components/home/main/style.ts similarity index 100% rename from src/component/homes/main/style.ts rename to src/components/home/main/style.ts diff --git a/src/component/homes/moreaction/index.tsx b/src/components/home/moreaction/index.tsx similarity index 100% rename from src/component/homes/moreaction/index.tsx rename to src/components/home/moreaction/index.tsx diff --git a/src/component/homes/moreaction/style.ts b/src/components/home/moreaction/style.ts similarity index 100% rename from src/component/homes/moreaction/style.ts rename to src/components/home/moreaction/style.ts diff --git a/src/component/homes/searchBar/searchBar.tsx b/src/components/home/searchBar/searchBar.tsx similarity index 100% rename from src/component/homes/searchBar/searchBar.tsx rename to src/components/home/searchBar/searchBar.tsx diff --git a/src/component/homes/searchBar/style.ts b/src/components/home/searchBar/style.ts similarity index 100% rename from src/component/homes/searchBar/style.ts rename to src/components/home/searchBar/style.ts diff --git a/src/component/homes/table/index.tsx b/src/components/home/table/index.tsx similarity index 100% rename from src/component/homes/table/index.tsx rename to src/components/home/table/index.tsx diff --git a/src/component/homes/table/style.ts b/src/components/home/table/style.ts similarity index 100% rename from src/component/homes/table/style.ts rename to src/components/home/table/style.ts diff --git a/tsconfig.json b/tsconfig.json index c9308c6..4f075b1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ ], "paths": { "@/*": ["./src/*"], - "@/components/*": ["src/component/*"], + "@/components/*": ["src/components/*"], "@/hooks/*": ["src/hooks/*"], "@constant": ["src/constant/*"], "@queries":["src/queries/*"],