Skip to content

Commit d844d9f

Browse files
authored
design: 내비게이션 바 shadow 추가 (#164)
* design: 내비게이션 바 섀도우 추가 * chore: 이름 변경 작업중 * chore: Layout 파일 이름 변경 작업 완료 * refactor: Layout 코드 변경 * chore: layout 임포트 수정
1 parent 2a90e7d commit d844d9f

3 files changed

Lines changed: 2 additions & 25 deletions

File tree

src/components/layout/BottomNavigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const BottomNavigation = () => {
4949
];
5050

5151
return (
52-
<nav className="fixed bottom-0 flex h-[56px] w-full max-w-[600px] bg-white">
52+
<nav className="fixed bottom-0 flex h-[56px] w-full max-w-[600px] bg-white [box-shadow:0px_-2px_6px_0px_var(--K50,#F5F5F5)]">
5353
{navs.map((nav) => (
5454
<Link
5555
key={nav.text}

src/components/layout/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type LayoutProps = {
1313
const Layout = ({ children }: LayoutProps) => {
1414
const { hideBottomNavigation } = useLayout();
1515
return (
16-
<div className="mx-auto mb-[56px] w-full min-w-[360px] max-w-[600px] pt-[56px]">
16+
<div className="mx-auto mb-14 w-full min-w-[360px] max-w-[600px] pt-14">
1717
{children}
1818
{!hideBottomNavigation && <BottomNavigation />}
1919
</div>

src/components/layout/layout.tsx

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)