Skip to content

Commit f117ed7

Browse files
committed
Add form pages block
1 parent a17b2e8 commit f117ed7

File tree

6 files changed

+710
-0
lines changed

6 files changed

+710
-0
lines changed

src/components/Layout/Layout.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ import TabsPage from '../../pages/tabs'
4545
import ProgressPage from '../../pages/progress'
4646
import WidgetsPage from '../../pages/widget'
4747

48+
import FormsElements from '../../pages/forms/elements'
49+
import FormValidation from '../../pages/forms/validation'
50+
4851
import BreadCrumbs from '../../components/BreadCrumbs';
4952

5053
// context
@@ -108,6 +111,10 @@ function Layout(props) {
108111
<Route path="/app/ui/widget" component={WidgetsPage} />
109112
<Route path="/app/ui/progress" component={ProgressPage} />
110113
{/*<Route path="/app/ui/notifications" component={NotificationsPage} />*/}
114+
115+
<Route path="/app/forms/elements" component={FormsElements} />
116+
<Route path="/app/forms/validation" component={FormValidation} />
117+
111118
/>
112119

113120
<Route path={'/app/api-docs'} exact

src/components/Sidebar/SidebarStructure.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,18 @@ const structure = [
147147
{ label: 'Form Validation', link: '/app/forms/validation' },
148148
],
149149
},
150+
{
151+
id: 10,
152+
label: 'Charts',
153+
link: '/app/charts',
154+
icon: <ChartIcon />,
155+
children: [
156+
{ label: 'Charts Overview', link: '/app/charts/overview' },
157+
{ label: 'Line Charts', link: '/app/charts/line' },
158+
{ label: 'Bar Charts', link: '/app/charts/bar' },
159+
{ label: 'Pie Charts', link: '/app/charts/pie' },
160+
],
161+
},
150162
];
151163

152164
export default structure;

0 commit comments

Comments
 (0)