diff --git a/app/(route)/list/_components/.gitkeep b/app/(route)/list/_components/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/app/(route)/list/_components/nav/index.tsx b/app/(route)/list/_components/nav/index.tsx new file mode 100644 index 0000000..f61fc44 --- /dev/null +++ b/app/(route)/list/_components/nav/index.tsx @@ -0,0 +1,20 @@ +'use client' +import { useRouter } from 'next/navigation' +import { GoArrowLeft } from 'react-icons/go' +import S from './nav.module.css' + +function Nav({ title }: { title: string }) { + const router = useRouter() + + return ( + + ) +} + +export default Nav diff --git a/app/(route)/list/_components/nav/nav.module.css b/app/(route)/list/_components/nav/nav.module.css new file mode 100644 index 0000000..e0e6ffe --- /dev/null +++ b/app/(route)/list/_components/nav/nav.module.css @@ -0,0 +1,12 @@ +.nav { + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-between; + padding: 18px 25px; +} + +.title { + font-weight: 700; + font-size: 1.5rem; +} diff --git a/app/(route)/list/list.module.css b/app/(route)/list/list.module.css new file mode 100644 index 0000000..aeef3f1 --- /dev/null +++ b/app/(route)/list/list.module.css @@ -0,0 +1,9 @@ +.wrapper{ + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 20px; + margin-top: 20px; + padding-bottom: 50px; +} \ No newline at end of file diff --git a/app/(route)/list/page.tsx b/app/(route)/list/page.tsx index 369eee8..c4db493 100644 --- a/app/(route)/list/page.tsx +++ b/app/(route)/list/page.tsx @@ -1,5 +1,22 @@ +import Nav from './_components/nav' +import S from './list.module.css' + +//TODO: 주석처리 사항들에 데이터 가져오기 function List() { - return + return ( + <> +