From 4b3ad127cd61c7bae51d9a17eca9bb5b3bd67795 Mon Sep 17 00:00:00 2001 From: minjongbaek Date: Sat, 10 Feb 2024 18:43:00 +0900 Subject: [PATCH 1/4] =?UTF-8?q?feat:=20TopNavigation=20=EC=BB=B4=ED=8F=AC?= =?UTF-8?q?=EB=84=8C=ED=8A=B8=EA=B0=80=20=ED=95=AD=EC=83=81=20=EC=83=81?= =?UTF-8?q?=EB=8B=A8=EC=97=90=20=EA=B3=A0=EC=A0=95=EB=90=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/v1/base/TopNavigation.tsx | 6 +++--- src/v1/layout/Layout.tsx | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/v1/base/TopNavigation.tsx b/src/v1/base/TopNavigation.tsx index 70ea5e41..f59b7b58 100644 --- a/src/v1/base/TopNavigation.tsx +++ b/src/v1/base/TopNavigation.tsx @@ -8,7 +8,7 @@ type ItemProps = TopNavigationProps; const TopNavigation = ({ children }: TopNavigationProps) => { return ( -
+
{children}
); @@ -16,7 +16,7 @@ const TopNavigation = ({ children }: TopNavigationProps) => { const LeftItem = ({ children }: ItemProps) => { return ( -
+
{children}
); @@ -38,7 +38,7 @@ const CenterItem = ({ children, textAlign = 'center' }: CenterItemProps) => { const RightItem = ({ children }: ItemProps) => { return ( -
+
{children}
); diff --git a/src/v1/layout/Layout.tsx b/src/v1/layout/Layout.tsx index be16dd00..20f18aad 100644 --- a/src/v1/layout/Layout.tsx +++ b/src/v1/layout/Layout.tsx @@ -19,7 +19,9 @@ const Layout = ({ children }: LayoutProps) => { const pathname = usePathname(); const isRootPath = pathname && rootPaths.includes(pathname); - const dynamicClass = isRootPath ? 'pb-[6.4rem] pt-[2rem]' : 'py-[2rem]'; + const dynamicClass = isRootPath + ? 'pb-[6.4rem] pt-[2rem]' + : 'pt-[5.4rem] pb-[2rem]'; return ( <> From e9bdf8caa5758052f48aaf6e107260fff80ecd1f Mon Sep 17 00:00:00 2001 From: minjongbaek Date: Sat, 10 Feb 2024 18:43:11 +0900 Subject: [PATCH 2/4] =?UTF-8?q?typo:=20=EB=B6=88=ED=95=84=EC=9A=94?= =?UTF-8?q?=ED=95=9C=20=EA=B3=B5=EB=B0=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 517c10db..8284b887 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -14,7 +14,7 @@ const RootLayout = ({ children }: { children: ReactNode }) => { -
+
{children}
From 29291d4e5a3695d3bfa28d863bf8e168a6d99733 Mon Sep 17 00:00:00 2001 From: minjongbaek Date: Wed, 14 Feb 2024 21:16:14 +0900 Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=EB=8D=B0=EC=8A=A4=ED=81=AC=ED=83=91?= =?UTF-8?q?=EC=97=90=EC=84=9C=EB=8F=84=20TopNavigation=20=EC=9D=B4=20?= =?UTF-8?q?=EC=A0=9C=EB=8C=80=EB=A1=9C=20=EB=B3=B4=EC=97=AC=EC=A7=80?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/v1/base/TopNavigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1/base/TopNavigation.tsx b/src/v1/base/TopNavigation.tsx index f59b7b58..a37f333a 100644 --- a/src/v1/base/TopNavigation.tsx +++ b/src/v1/base/TopNavigation.tsx @@ -8,7 +8,7 @@ type ItemProps = TopNavigationProps; const TopNavigation = ({ children }: TopNavigationProps) => { return ( -
+
{children}
); From bf4272991b20472f0ecce702b7e9a18c69c0c755 Mon Sep 17 00:00:00 2001 From: minjongbaek Date: Wed, 14 Feb 2024 21:19:30 +0900 Subject: [PATCH 4/4] =?UTF-8?q?style:=20TopNavigation=20=EB=86=92=EC=9D=B4?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/v1/base/TopNavigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1/base/TopNavigation.tsx b/src/v1/base/TopNavigation.tsx index a37f333a..342e149d 100644 --- a/src/v1/base/TopNavigation.tsx +++ b/src/v1/base/TopNavigation.tsx @@ -8,7 +8,7 @@ type ItemProps = TopNavigationProps; const TopNavigation = ({ children }: TopNavigationProps) => { return ( -
+
{children}
);