Skip to content

Commit bc43755

Browse files
committed
[style] header pc 일때 nav 가운데로, footer에 작은 shadow 추가
1 parent d1520f4 commit bc43755

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/shared/components/footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Github from './Github';
22

33
function Footer() {
44
return (
5-
<footer className="w-full bg-primary flex items-center justify-between p-[12px] font-serif font-light">
5+
<footer className="w-full bg-primary flex items-center justify-between p-[12px] font-serif font-light shadow-footer">
66
<div className="flex flex-col gap-1">
77
<p className="text-sm md:text-base">Cocktail Discovery Service, SSOUL </p>
88
<div className="flex flex-col sm:flex-row gap-0.5 sm:gap-2 text-sm md:text-base">

src/shared/components/header/Header.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ function Header() {
4444
>
4545
<HamburgerMenu />
4646
<HeaderLogo />
47-
<NavItem pathname={pathname} className="sm:block hidden" />
47+
<NavItem
48+
pathname={pathname}
49+
className="hidden sm:block sm:absolute sm:left-1/2 sm:top-1/2 sm:-translate-x-1/2 sm:-translate-y-1/2"
50+
/>
4851
<HeaderBtn pathname={pathname} />
4952
</header>
5053
);

src/shared/styles/_theme.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
--inset-shadow-black: inset 0 0px 6px rgba(0, 0, 0, 0.6);
2020

2121
--shadow-header: 0 6px 17px 0 rgba(255, 210, 187, 0.3);
22+
--shadow-footer: 0 -1px 6px 0 rgba(255, 210, 187, 0.2);
2223
}

0 commit comments

Comments
 (0)