Skip to content

Commit c87adfc

Browse files
committed
Add extra pages
1 parent 89150ab commit c87adfc

39 files changed

+1668
-8
lines changed

src/components/Layout/Layout.js

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ import DraggableGrid from '../../pages/draggablegrid'
5858
import MapsGoogle from '../../pages/maps'
5959
import VectorMaps from '../../pages/maps/VectorMap'
6060

61+
import Timeline from '../../pages/timeline'
62+
import Search from '../../pages/search'
63+
import Gallery from '../../pages/gallery'
64+
import Invoice from '../../pages/invoice'
65+
import Calendar from '../../pages/calendar'
66+
6167
import BreadCrumbs from '../../components/BreadCrumbs';
6268

6369
// context
@@ -102,14 +108,17 @@ function Layout(props) {
102108
<Route path='/app/dashboard' component={Dashboard} />
103109
<Route path="/app/profile" component={Profile} />
104110
<Route path='/app/user/edit' component={EditUser} />
105-
{/*TypographyPage*/}
111+
112+
<Route exact path="/app/core" render={() => <Redirect to="/app/core/typography" />} />
106113
<Route path="/app/core/typography" component={TypographyPage} />
107114
<Route path="/app/core/colors" component={ColorsPage} />
108115
<Route path="/app/core/grid" component={GridPage} />
109116

117+
<Route exact path="/app/tables" render={() => <Redirect to={'/app/tables/static'} />} />
110118
<Route path="/app/tables/static" component={StaticTablesPage} />
111119
<Route path="/app/tables/dynamic" component={DynamicTablesPage} />
112120

121+
<Route exact path="/app/ui" render={() => <Redirect to="/app/ui/icons" />} />
113122
<Route path="/app/ui/icons" component={IconsPage} />
114123
<Route path="/app/ui/badge" component={BadgesPage} />
115124
<Route path="/app/ui/carousel" component={CarouselsPage} />
@@ -122,9 +131,11 @@ function Layout(props) {
122131
<Route path="/app/ui/progress" component={ProgressPage} />
123132
{/*<Route path="/app/ui/notifications" component={NotificationsPage} />*/}
124133

134+
<Route exact path="/app/forms" render={() => <Redirect to="/app/forms/elements" />} />
125135
<Route path="/app/forms/elements" component={FormsElements} />
126136
<Route path="/app/forms/validation" component={FormValidation} />
127137

138+
<Route exact path="/app/charts" render={() => <Redirect to={'/app/charts/overview'} />} />
128139
<Route path="/app/charts/overview" component={Charts} />
129140
<Route path="/app/charts/line" component={LineCharts} />
130141
<Route path="/app/charts/bar" component={BarCharts} />
@@ -136,6 +147,13 @@ function Layout(props) {
136147
<Route path="/app/maps/google" component={MapsGoogle} />
137148
<Route path="/app/maps/vector" component={VectorMaps} />
138149

150+
<Route exact path="/app/extra" render={() => <Redirect to="/app/extra/timeline" />}/>
151+
<Route path="/app/extra/timeline" component={Timeline} />
152+
<Route path="/app/extra/search" component={Search} />
153+
<Route path="/app/extra/gallery" component={Gallery} />
154+
<Route path="/app/extra/invoice" component={Invoice} />
155+
<Route path="/app/extra/calendar" component={Calendar} />
156+
139157
/>
140158

141159
<Route path={'/app/api-docs'} exact
@@ -150,11 +168,7 @@ function Layout(props) {
150168
/>
151169
)}
152170
/>
153-
<Route
154-
exact
155-
path="/app/ui"
156-
render={() => <Redirect to="/app/ui/icons" />}
157-
/>
171+
158172
<Route path={'/app/users'} exact component={UsersTablePage} />
159173
<Route path={'/app/user/new'} exact component={AddUser} />
160174
<Route

src/images/gallery/gallery1.jpg

876 KB
Loading

src/images/gallery/gallery10.jpg

1.4 MB
Loading

src/images/gallery/gallery11.jpg

791 KB
Loading

src/images/gallery/gallery12.jpg

833 KB
Loading

src/images/gallery/gallery2.jpg

698 KB
Loading

src/images/gallery/gallery3.jpg

987 KB
Loading

src/images/gallery/gallery4.jpg

793 KB
Loading

src/images/gallery/gallery5.jpg

1.04 MB
Loading

src/images/gallery/gallery6.jpg

1.26 MB
Loading

0 commit comments

Comments
 (0)