Skip to content

Commit

Permalink
fix: Layout.tsx Navbar component 연동
Browse files Browse the repository at this point in the history
  • Loading branch information
1eecan committed Oct 29, 2023
1 parent 0e20133 commit d814444
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/pages/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,19 @@ import { Outlet } from 'react-router-dom';

import styled from '@emotion/styled';

import { Navbar } from '@components/shared/Navbar/Navbar';

export const Layout = () => {
return (
<>
<LayoutWrapper>
<Outlet />
</LayoutWrapper>
<Nav>하단 NAV바</Nav>
<Navbar />
</>
);
};

const LayoutWrapper = styled.div`
margin: 50px 16px 0 16px;
`;

const Nav = styled.div`
position: fixed;
width: 100%;
left: 0;
bottom: 0;
background-color: aqua;
`;

0 comments on commit d814444

Please sign in to comment.