|
| 1 | +/* eslint-disable max-lines */ |
| 2 | +import type { ButtonProps } from '@components/Button/button' |
| 3 | + |
1 | 4 | import successIcon from './icons/circle-check.svg?raw'
|
2 | 5 | import componentsIcon from './icons/components.svg?raw'
|
3 | 6 | import fileIcon from './icons/file.svg?raw'
|
@@ -263,34 +266,64 @@ export const breadcrumbsWithIconsOnly = [
|
263 | 266 | { icon: componentsIcon, href: '/docs/components' }
|
264 | 267 | ]
|
265 | 268 |
|
266 |
| -export const footerColumn1 = [{ |
| 269 | +export const itemGroup1 = [{ |
267 | 270 | items: [
|
268 | 271 | { name: 'Home', href: '#' },
|
269 | 272 | { name: 'Docs', href: '#' },
|
270 | 273 | { name: 'Component', href: '#' }
|
271 | 274 | ]
|
272 | 275 | }]
|
273 | 276 |
|
274 |
| -export const footerColumn2 = [{ |
| 277 | +export const itemGroup2 = [{ |
275 | 278 | items: [
|
276 | 279 | { name: 'CSS Config', href: '#' },
|
277 | 280 | { name: 'Styles', href: '#' },
|
278 | 281 | { name: 'Utilities', href: '#' }
|
279 | 282 | ]
|
280 | 283 | }]
|
281 | 284 |
|
282 |
| -export const footerColumns = [ |
283 |
| - { items: footerColumn1[0].items }, |
284 |
| - { items: footerColumn2[0].items } |
| 285 | +export const itemGroups = [ |
| 286 | + { items: itemGroup1[0].items }, |
| 287 | + { items: itemGroup2[0].items } |
285 | 288 | ]
|
286 | 289 |
|
287 |
| -export const footerColumnsWithTitle = [ |
| 290 | +export const itemGroupsWithTitle = [ |
288 | 291 | {
|
289 | 292 | title: 'SITEMAP',
|
290 |
| - items: footerColumn1[0].items |
| 293 | + items: itemGroup1[0].items |
| 294 | + }, |
| 295 | + { |
| 296 | + title: 'THEMES', |
| 297 | + items: itemGroup2[0].items |
| 298 | + } |
| 299 | +] |
| 300 | + |
| 301 | +export const itemGroupsWithBadges = [ |
| 302 | + { |
| 303 | + title: 'SITEMAP', |
| 304 | + items: [ |
| 305 | + { name: 'Home', href: '#' }, |
| 306 | + { name: 'Docs', href: '#', badge: 'updated', badgeTheme: 'info' as ButtonProps['theme'] }, |
| 307 | + { name: 'Component', href: '#', badge: 'new components' } |
| 308 | + ] |
| 309 | + }, |
| 310 | + { |
| 311 | + title: 'THEMES', |
| 312 | + items: itemGroup2[0].items |
| 313 | + } |
| 314 | +] |
| 315 | + |
| 316 | +export const itemGroupsWithIcons = [ |
| 317 | + { |
| 318 | + title: 'SITEMAP', |
| 319 | + items: [ |
| 320 | + { name: 'Home', href: '#', icon: gitHubIcon, target: '_blank' as any }, |
| 321 | + { name: 'Docs', href: '#', badge: 'updated', badgeTheme: 'info' as ButtonProps['theme'], icon: fileIcon }, |
| 322 | + { name: 'Component', href: '#', badge: 'new components', icon: componentsIcon, active: true } |
| 323 | + ] |
291 | 324 | },
|
292 | 325 | {
|
293 | 326 | title: 'THEMES',
|
294 |
| - items: footerColumn2[0].items |
| 327 | + items: itemGroup2[0].items |
295 | 328 | }
|
296 | 329 | ]
|
0 commit comments