Skip to content

Commit e548749

Browse files
authored
Merge pull request #307 from prgrms-web-devcourse-final-project/refactor/nav-bar
[chore] nav-bar spacer 사이즈 조정
2 parents 718ffaf + cba62d5 commit e548749

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/layouts/Layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import BottomNav from '@/layouts/bottomNav/BottomNav';
88

99
function Layout() {
1010
return (
11-
<div className="max-w-[600px] min-w-[320px] w-full bg-background flex min-h-screen mx-auto">
11+
<div className="max-w-[600px] min-w-[320px] w-full bg-background flex flex-col min-h-screen mx-auto">
1212
{/* 헤더 */}
1313
<HeaderWrapper />
1414

@@ -21,7 +21,7 @@ function Layout() {
2121
initial={{ opacity: 0 }}
2222
animate={{ opacity: 1 }}
2323
transition={{ duration: 0.3 }}
24-
className="flex justify-center w-full h-full"
24+
className="flex justify-center w-full"
2525
>
2626
<Outlet />
2727
</motion.div>

src/layouts/bottomNav/BottomNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function BottomNav() {
7878
</nav>
7979

8080
{/* Spacer: 콘텐츠가 하단바에 가려지지 않도록 */}
81-
<div className="h-[62px]" />
81+
<div className="h-[69px]" />
8282
</>
8383
);
8484
}

src/pages/landing/Landing.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ function Landing() {
88
navigate('/login');
99
};
1010
return (
11-
<div className="flex flex-col w-full justify-center relative">
11+
<div className="relative flex flex-col justify-center w-full h-full">
1212
<div className="flex flex-col gap-3 mt-[44px] mb-[180px]">
13-
<p className="h3-b text-gray-80 text-center">
13+
<p className="text-center h3-b text-gray-80">
1414
음악으로 감정을 기록하고 <br /> 누군가와 이어지는 순간
1515
</p>
16-
<p className="caption-r text-gray-60 text-center">
16+
<p className="text-center caption-r text-gray-60">
1717
당신의 감정을 음악으로 표현하고 <br /> 같은 감정을 나누는 이들과 연결되세요
1818
</p>
1919
<MusicAnimation />

0 commit comments

Comments
 (0)