@@ -19,7 +19,7 @@ const _nav = [
19
19
{
20
20
component : CNavItem ,
21
21
name : 'Dashboard' ,
22
- to : '/dashboard' ,
22
+ href : '# /dashboard' ,
23
23
icon : < CIcon icon = { cilSpeedometer } customClassName = "nav-icon" /> ,
24
24
badge : {
25
25
color : 'info' ,
@@ -33,13 +33,13 @@ const _nav = [
33
33
{
34
34
component : CNavItem ,
35
35
name : 'Colors' ,
36
- to : '/theme/colors' ,
36
+ href : '# /theme/colors' ,
37
37
icon : < CIcon icon = { cilDrop } customClassName = "nav-icon" /> ,
38
38
} ,
39
39
{
40
40
component : CNavItem ,
41
41
name : 'Typography' ,
42
- to : '/theme/typography' ,
42
+ href : '# /theme/typography' ,
43
43
icon : < CIcon icon = { cilPencil } customClassName = "nav-icon" /> ,
44
44
} ,
45
45
{
@@ -49,33 +49,33 @@ const _nav = [
49
49
{
50
50
component : CNavGroup ,
51
51
name : 'Base' ,
52
- to : '/base' ,
52
+ href : '# /base' ,
53
53
icon : < CIcon icon = { cilPuzzle } customClassName = "nav-icon" /> ,
54
54
items : [
55
55
{
56
56
component : CNavItem ,
57
57
name : 'Accordion' ,
58
- to : '/base/accordion' ,
58
+ href : '# /base/accordion' ,
59
59
} ,
60
60
{
61
61
component : CNavItem ,
62
62
name : 'Breadcrumb' ,
63
- to : '/base/breadcrumbs' ,
63
+ href : '# /base/breadcrumbs' ,
64
64
} ,
65
65
{
66
66
component : CNavItem ,
67
67
name : 'Cards' ,
68
- to : '/base/cards' ,
68
+ href : '# /base/cards' ,
69
69
} ,
70
70
{
71
71
component : CNavItem ,
72
72
name : 'Carousel' ,
73
- to : '/base/carousels' ,
73
+ href : '# /base/carousels' ,
74
74
} ,
75
75
{
76
76
component : CNavItem ,
77
77
name : 'Collapse' ,
78
- to : '/base/collapses' ,
78
+ href : '# /base/collapses' ,
79
79
} ,
80
80
{
81
81
component : CNavItem ,
@@ -85,65 +85,65 @@ const _nav = [
85
85
{
86
86
component : CNavItem ,
87
87
name : 'Navs & Tabs' ,
88
- to : '/base/navs' ,
88
+ href : '# /base/navs' ,
89
89
} ,
90
90
{
91
91
component : CNavItem ,
92
92
name : 'Pagination' ,
93
- to : '/base/paginations' ,
93
+ href : '# /base/paginations' ,
94
94
} ,
95
95
{
96
96
component : CNavItem ,
97
97
name : 'Placeholders' ,
98
- to : '/base/placeholders' ,
98
+ href : '# /base/placeholders' ,
99
99
} ,
100
100
{
101
101
component : CNavItem ,
102
102
name : 'Popovers' ,
103
- to : '/base/popovers' ,
103
+ href : '# /base/popovers' ,
104
104
} ,
105
105
{
106
106
component : CNavItem ,
107
107
name : 'Progress' ,
108
- to : '/base/progress' ,
108
+ href : '# /base/progress' ,
109
109
} ,
110
110
{
111
111
component : CNavItem ,
112
112
name : 'Spinners' ,
113
- to : '/base/spinners' ,
113
+ href : '# /base/spinners' ,
114
114
} ,
115
115
{
116
116
component : CNavItem ,
117
117
name : 'Tables' ,
118
- to : '/base/tables' ,
118
+ href : '# /base/tables' ,
119
119
} ,
120
120
{
121
121
component : CNavItem ,
122
122
name : 'Tooltips' ,
123
- to : '/base/tooltips' ,
123
+ href : '# /base/tooltips' ,
124
124
} ,
125
125
] ,
126
126
} ,
127
127
{
128
128
component : CNavGroup ,
129
129
name : 'Buttons' ,
130
- to : '/buttons' ,
130
+ href : '# /buttons' ,
131
131
icon : < CIcon icon = { cilCursor } customClassName = "nav-icon" /> ,
132
132
items : [
133
133
{
134
134
component : CNavItem ,
135
135
name : 'Buttons' ,
136
- to : '/buttons/buttons' ,
136
+ href : '# /buttons/buttons' ,
137
137
} ,
138
138
{
139
139
component : CNavItem ,
140
140
name : 'Buttons groups' ,
141
- to : '/buttons/button-groups' ,
141
+ href : '# /buttons/button-groups' ,
142
142
} ,
143
143
{
144
144
component : CNavItem ,
145
145
name : 'Dropdowns' ,
146
- to : '/buttons/dropdowns' ,
146
+ href : '# /buttons/dropdowns' ,
147
147
} ,
148
148
] ,
149
149
} ,
@@ -155,49 +155,49 @@ const _nav = [
155
155
{
156
156
component : CNavItem ,
157
157
name : 'Form Control' ,
158
- to : '/forms/form-control' ,
158
+ href : '# /forms/form-control' ,
159
159
} ,
160
160
{
161
161
component : CNavItem ,
162
162
name : 'Select' ,
163
- to : '/forms/select' ,
163
+ href : '# /forms/select' ,
164
164
} ,
165
165
{
166
166
component : CNavItem ,
167
167
name : 'Checks & Radios' ,
168
- to : '/forms/checks-radios' ,
168
+ href : '# /forms/checks-radios' ,
169
169
} ,
170
170
{
171
171
component : CNavItem ,
172
172
name : 'Range' ,
173
- to : '/forms/range' ,
173
+ href : '# /forms/range' ,
174
174
} ,
175
175
{
176
176
component : CNavItem ,
177
177
name : 'Input Group' ,
178
- to : '/forms/input-group' ,
178
+ href : '# /forms/input-group' ,
179
179
} ,
180
180
{
181
181
component : CNavItem ,
182
182
name : 'Floating Labels' ,
183
- to : '/forms/floating-labels' ,
183
+ href : '# /forms/floating-labels' ,
184
184
} ,
185
185
{
186
186
component : CNavItem ,
187
187
name : 'Layout' ,
188
- to : '/forms/layout' ,
188
+ href : '# /forms/layout' ,
189
189
} ,
190
190
{
191
191
component : CNavItem ,
192
192
name : 'Validation' ,
193
- to : '/forms/validation' ,
193
+ href : '# /forms/validation' ,
194
194
} ,
195
195
] ,
196
196
} ,
197
197
{
198
198
component : CNavItem ,
199
199
name : 'Charts' ,
200
- to : '/charts' ,
200
+ href : '# /charts' ,
201
201
icon : < CIcon icon = { cilChartPie } customClassName = "nav-icon" /> ,
202
202
} ,
203
203
{
@@ -208,7 +208,7 @@ const _nav = [
208
208
{
209
209
component : CNavItem ,
210
210
name : 'CoreUI Free' ,
211
- to : '/icons/coreui-icons' ,
211
+ href : '# /icons/coreui-icons' ,
212
212
badge : {
213
213
color : 'success' ,
214
214
text : 'NEW' ,
@@ -217,12 +217,12 @@ const _nav = [
217
217
{
218
218
component : CNavItem ,
219
219
name : 'CoreUI Flags' ,
220
- to : '/icons/flags' ,
220
+ href : '# /icons/flags' ,
221
221
} ,
222
222
{
223
223
component : CNavItem ,
224
224
name : 'CoreUI Brands' ,
225
- to : '/icons/brands' ,
225
+ href : '# /icons/brands' ,
226
226
} ,
227
227
] ,
228
228
} ,
@@ -234,29 +234,29 @@ const _nav = [
234
234
{
235
235
component : CNavItem ,
236
236
name : 'Alerts' ,
237
- to : '/notifications/alerts' ,
237
+ href : '# /notifications/alerts' ,
238
238
} ,
239
239
{
240
240
component : CNavItem ,
241
241
name : 'Badges' ,
242
- to : '/notifications/badges' ,
242
+ href : '# /notifications/badges' ,
243
243
} ,
244
244
{
245
245
component : CNavItem ,
246
246
name : 'Modal' ,
247
- to : '/notifications/modals' ,
247
+ href : '# /notifications/modals' ,
248
248
} ,
249
249
{
250
250
component : CNavItem ,
251
251
name : 'Toasts' ,
252
- to : '/notifications/toasts' ,
252
+ href : '# /notifications/toasts' ,
253
253
} ,
254
254
] ,
255
255
} ,
256
256
{
257
257
component : CNavItem ,
258
258
name : 'Widgets' ,
259
- to : '/widgets' ,
259
+ href : '# /widgets' ,
260
260
icon : < CIcon icon = { cilCalculator } customClassName = "nav-icon" /> ,
261
261
badge : {
262
262
color : 'info' ,
@@ -275,22 +275,22 @@ const _nav = [
275
275
{
276
276
component : CNavItem ,
277
277
name : 'Login' ,
278
- to : '/login' ,
278
+ href : '# /login' ,
279
279
} ,
280
280
{
281
281
component : CNavItem ,
282
282
name : 'Register' ,
283
- to : '/register' ,
283
+ href : '# /register' ,
284
284
} ,
285
285
{
286
286
component : CNavItem ,
287
287
name : 'Error 404' ,
288
- to : '/404' ,
288
+ href : '# /404' ,
289
289
} ,
290
290
{
291
291
component : CNavItem ,
292
292
name : 'Error 500' ,
293
- to : '/500' ,
293
+ href : '# /500' ,
294
294
} ,
295
295
] ,
296
296
} ,
0 commit comments