diff --git a/components/Layout/CardsLayout.tsx b/components/Layout/CardsLayout.tsx new file mode 100644 index 0000000..5f1a9a6 --- /dev/null +++ b/components/Layout/CardsLayout.tsx @@ -0,0 +1,15 @@ +import React from "react"; + +interface CardsLayoutProps { + children: React.ReactNode; +} + +const CardsLayout = ({ children }: CardsLayoutProps) => { + return ( +
+ {children} +
+ ); +}; + +export default CardsLayout; diff --git a/components/Layout/ContentLayout.tsx b/components/Layout/ContentLayout.tsx new file mode 100644 index 0000000..e2eb3dc --- /dev/null +++ b/components/Layout/ContentLayout.tsx @@ -0,0 +1,15 @@ +import React from "react"; + +interface ContentLayoutProps { + children: React.ReactNode; +} + +const ContentLayout = ({ children }: ContentLayoutProps) => { + return ( +
+ {children} +
+ ); +}; + +export default ContentLayout; diff --git a/pages/favorite/index.tsx b/pages/favorite/index.tsx new file mode 100644 index 0000000..22af0e1 --- /dev/null +++ b/pages/favorite/index.tsx @@ -0,0 +1,27 @@ +import CardsLayout from "@/components/Layout/CardsLayout"; +import ContentLayout from "@/components/Layout/ContentLayout"; + +const Favorite = () => { + return ( + <> +
+

+ ⭐️ 즐겨찾기 +

+
+ + + {/* 카드 공통 컴포넌트로 구현 예정 */} +
card
+
card
+
card
+
card
+
card
+
card
+
+
+ + ); +}; + +export default Favorite;