From 5a7bec2e2a22728ece5175e7e921ffdf59033250 Mon Sep 17 00:00:00 2001 From: SeonghunYang Date: Tue, 25 Jun 2024 11:46:30 +0000 Subject: [PATCH 01/48] chore: Add navigation buttons to navigation bar for larger screens --- app/(sub-page)/components/navigation-bar.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/(sub-page)/components/navigation-bar.tsx b/app/(sub-page)/components/navigation-bar.tsx index 840ec575..59248a8c 100644 --- a/app/(sub-page)/components/navigation-bar.tsx +++ b/app/(sub-page)/components/navigation-bar.tsx @@ -5,6 +5,7 @@ import SideNavigationBar from './side-navigation-bar'; import UserInfoNavigator from '@/app/ui/user/user-info-navigator/user-info-navigator'; import SignButtonGroup from '@/app/ui/user/user-info-navigator/sign-button-group'; import Link from 'next/link'; +import Button from '@/app/ui/view/atom/button/button'; export default function NavigationBar() { return ( @@ -15,6 +16,19 @@ export default function NavigationBar() { } content={
콘텐츠
} footer={} />
+ +
+ +
+
); } From 6f479277d72857b2631c8a4bf4343ac62440bc4e Mon Sep 17 00:00:00 2001 From: SeonghunYang Date: Tue, 25 Jun 2024 11:49:45 +0000 Subject: [PATCH 02/48] refactor: Update navigation bar to use NavigationItem component for larger screens --- app/(sub-page)/components/navigation-bar.tsx | 25 +++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/app/(sub-page)/components/navigation-bar.tsx b/app/(sub-page)/components/navigation-bar.tsx index 59248a8c..e4dfd78c 100644 --- a/app/(sub-page)/components/navigation-bar.tsx +++ b/app/(sub-page)/components/navigation-bar.tsx @@ -18,17 +18,24 @@ export default function NavigationBar() {
- -
); } + +type NavigationItemProps = { + href: string; + label: string; +}; + +function NavigationItem({ href, label }: NavigationItemProps) { + return ( + +