Woojin Lee

Set routes

...@@ -23,37 +23,31 @@ const Routes = () => { ...@@ -23,37 +23,31 @@ const Routes = () => {
23 <Redirect 23 <Redirect
24 exact 24 exact
25 from="/" 25 from="/"
26 - to="/dashboard" 26 + to="/my-drive"
27 /> 27 />
28 <RouteWithLayout 28 <RouteWithLayout
29 component={DashboardView} 29 component={DashboardView}
30 exact 30 exact
31 layout={MainLayout} 31 layout={MainLayout}
32 - path="/dashboard" 32 + path="/my-drive"
33 /> 33 />
34 <RouteWithLayout 34 <RouteWithLayout
35 component={UserListView} 35 component={UserListView}
36 exact 36 exact
37 layout={MainLayout} 37 layout={MainLayout}
38 - path="/users" 38 + path="/share"
39 /> 39 />
40 <RouteWithLayout 40 <RouteWithLayout
41 component={ProductListView} 41 component={ProductListView}
42 exact 42 exact
43 layout={MainLayout} 43 layout={MainLayout}
44 - path="/products" 44 + path="/recent"
45 /> 45 />
46 <RouteWithLayout 46 <RouteWithLayout
47 component={TypographyView} 47 component={TypographyView}
48 exact 48 exact
49 layout={MainLayout} 49 layout={MainLayout}
50 - path="/typography" 50 + path="/trash"
51 - />
52 - <RouteWithLayout
53 - component={IconsView}
54 - exact
55 - layout={MainLayout}
56 - path="/icons"
57 /> 51 />
58 <RouteWithLayout 52 <RouteWithLayout
59 component={AccountView} 53 component={AccountView}
......
...@@ -45,22 +45,22 @@ const Sidebar = props => { ...@@ -45,22 +45,22 @@ const Sidebar = props => {
45 const pages = [ 45 const pages = [
46 { 46 {
47 title: '내 드라이브', 47 title: '내 드라이브',
48 - href: '/dashboard', 48 + href: '/my-drive',
49 icon: <DashboardIcon /> 49 icon: <DashboardIcon />
50 }, 50 },
51 { 51 {
52 title: '공유함', 52 title: '공유함',
53 - href: '/users', 53 + href: '/share',
54 icon: <PeopleIcon /> 54 icon: <PeopleIcon />
55 }, 55 },
56 { 56 {
57 title: '최근 열어본 파일', 57 title: '최근 열어본 파일',
58 - href: '/products', 58 + href: '/recent',
59 icon: <ShoppingBasketIcon /> 59 icon: <ShoppingBasketIcon />
60 }, 60 },
61 { 61 {
62 title: '휴지통', 62 title: '휴지통',
63 - href: '/sign-in', 63 + href: '/trash',
64 icon: <LockOpenIcon /> 64 icon: <LockOpenIcon />
65 }, 65 },
66 { 66 {
......