Woojin Lee

Set routes

......@@ -23,37 +23,31 @@ const Routes = () => {
<Redirect
exact
from="/"
to="/dashboard"
to="/my-drive"
/>
<RouteWithLayout
component={DashboardView}
exact
layout={MainLayout}
path="/dashboard"
path="/my-drive"
/>
<RouteWithLayout
component={UserListView}
exact
layout={MainLayout}
path="/users"
path="/share"
/>
<RouteWithLayout
component={ProductListView}
exact
layout={MainLayout}
path="/products"
path="/recent"
/>
<RouteWithLayout
component={TypographyView}
exact
layout={MainLayout}
path="/typography"
/>
<RouteWithLayout
component={IconsView}
exact
layout={MainLayout}
path="/icons"
path="/trash"
/>
<RouteWithLayout
component={AccountView}
......
......@@ -45,22 +45,22 @@ const Sidebar = props => {
const pages = [
{
title: '내 드라이브',
href: '/dashboard',
href: '/my-drive',
icon: <DashboardIcon />
},
{
title: '공유함',
href: '/users',
href: '/share',
icon: <PeopleIcon />
},
{
title: '최근 열어본 파일',
href: '/products',
href: '/recent',
icon: <ShoppingBasketIcon />
},
{
title: '휴지통',
href: '/sign-in',
href: '/trash',
icon: <LockOpenIcon />
},
{
......