Skip to content

Commit

Permalink
design :: team page 퍼블리싱 시작
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Mar 13, 2024
1 parent 25a8634 commit 937bac6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/pages/Team/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import styled from '@emotion/styled';

export const Team = () => {
return <Wrapper>hello</Wrapper>;
};

const Wrapper = styled.div`
margin-top: 80px;
width: 100%;
`;
6 changes: 5 additions & 1 deletion src/router/router.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { createBrowserRouter } from 'react-router-dom';
import { Layout } from './layout';
import { Main } from '../pages/Main';
import { Team } from '@/pages/Team';

export const Router = createBrowserRouter([
{
path: '/',
element: <Layout />,
children: [{ path: '', element: <Main /> }],
children: [
{ path: '', element: <Main /> },
{ path: 'team', children: [{ index: true, element: <Team /> }] },
],
},
]);

0 comments on commit 937bac6

Please sign in to comment.