diff --git a/.husky/commit-msg b/.husky/commit-msg
index bb9733c8..b6fde150 100644
--- a/.husky/commit-msg
+++ b/.husky/commit-msg
@@ -2,7 +2,7 @@
. "$(dirname -- "$0")/_/husky.sh"
message="$(cat $1)"
-requiredPattern="^(Feat|Fix|Docs|Style|Refactor|Chore|Test|Design|Build|Merge|Setting|Deploy):.*$"
+requiredPattern="^(Feat|Fix|Bug|Docs|Style|Refactor|Chore|Test|Design|Build|Merge|Setting|Deploy):.*$"
if ! [[ $message =~ $requiredPattern ]];
then
echo "=========================================================================="
diff --git a/src/app/shop/layout.tsx b/src/app/shop/layout.tsx
index 91bb07d3..1e5525e9 100644
--- a/src/app/shop/layout.tsx
+++ b/src/app/shop/layout.tsx
@@ -1,18 +1,22 @@
-import { ReactNode } from 'react';
+// import { ReactNode } from 'react';
-import Breadcrumb from '@/components/Breadcrumb/Breadcrumb';
+// import Breadcrumb from '@/components/Breadcrumb/Breadcrumb';
-interface ShopLayoutProps {
- children: ReactNode;
-}
+// interface ShopLayoutProps {
+// children: ReactNode;
+// }
+
+// export default function ShopLayout({ children }: ShopLayoutProps) {
+// return (
+//
+//
+//
+// {children}
+//
+//
+// );
+// }
-export default function ShopLayout({ children }: ShopLayoutProps) {
- return (
-
- );
+export default function ShopLayout() {
+ return null;
}
diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx
index 0c31071f..43eec198 100644
--- a/src/app/shop/page.tsx
+++ b/src/app/shop/page.tsx
@@ -1,42 +1,46 @@
-import { getAllProductList } from '@/api/productAPI';
-import Pagination from '@/components/Pagination/Pagination';
-import type { ProductParams } from '@/types/productItemType';
-import classNames from 'classnames/bind';
-import CategoryMenu from './_components/Category/CategoryMenu';
-import CategoryTitle from './_components/Category/CategoryTitle';
-import ProductList from './_components/Product/ProductList';
-import Sort from './_components/Sort/Sort';
-import styles from './page.module.scss';
+// import { getAllProductList } from '@/api/productAPI';
+// import Pagination from '@/components/Pagination/Pagination';
+// import type { ProductParams } from '@/types/productItemType';
+// import classNames from 'classnames/bind';
+// import CategoryMenu from './_components/Category/CategoryMenu';
+// import CategoryTitle from './_components/Category/CategoryTitle';
+// import ProductList from './_components/Product/ProductList';
+// import Sort from './_components/Sort/Sort';
+// import styles from './page.module.scss';
-const cn = classNames.bind(styles);
+// const cn = classNames.bind(styles);
-interface ShopAllPageProps {
- searchParams: { [key: string]: string | string[] | undefined };
-}
+// interface ShopAllPageProps {
+// searchParams: { [key: string]: string | string[] | undefined };
+// }
+
+// export default async function ShopAllPage({ searchParams }: ShopAllPageProps) {
+// const sortParam = Array.isArray(searchParams.sort) ? searchParams.sort[0] : searchParams.sort || 'createdAt_desc';
+// const pageParam = Array.isArray(searchParams.page) ? searchParams.page[0] : searchParams.page || '0';
-export default async function ShopAllPage({ searchParams }: ShopAllPageProps) {
- const sortParam = Array.isArray(searchParams.sort) ? searchParams.sort[0] : searchParams.sort || 'createdAt_desc';
- const pageParam = Array.isArray(searchParams.page) ? searchParams.page[0] : searchParams.page || '0';
+// const getAllProductParams: ProductParams = {
+// sort: sortParam as string,
+// page: pageParam as string,
+// size: '16',
+// };
- const getAllProductParams: ProductParams = {
- sort: sortParam as string,
- page: pageParam as string,
- size: '16',
- };
+// const { data } = await getAllProductList(getAllProductParams);
+// const { content, ...rest } = data;
+// return (
+// <>
+//
+// 전체상품
+//
+//
+//
+//
+// >
+// );
+// }
- const { data } = await getAllProductList(getAllProductParams);
- const { content, ...rest } = data;
- return (
- <>
-
- 전체상품
-
-
-
-
- >
- );
+export default async function ShopAllPage() {
+ return null;
}
diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx
index f4423c26..a1f685f8 100644
--- a/src/components/Header/Header.tsx
+++ b/src/components/Header/Header.tsx
@@ -15,7 +15,7 @@ import { deleteCookie } from '@/utils/manageCookie';
import { useUser } from '@/hooks/useUser';
import { LogoIcon, UserIcon } from '@/public/index';
import type { CartAPIDataType } from '@/types/cartType';
-import { CartButton, LoginButton, LogoutButton, NotificationButton, SearchButton, ShopButton } from './HeaderParts';
+import { CartButton, LoginButton, LogoutButton, NotificationButton, SearchButton } from './HeaderParts';
import styles from './Header.module.scss';
@@ -103,7 +103,7 @@ export default function Header() {
>
커스텀 키보드 만들기
-
+ {/* */}
커뮤니티