feat: extracted theme change logic
This commit is contained in:
51
src/data/sidebar.js
Normal file
51
src/data/sidebar.js
Normal file
@@ -0,0 +1,51 @@
|
||||
export const links = [
|
||||
{
|
||||
name: 'home',
|
||||
ariaLabel: 'home',
|
||||
routerName: 'Home',
|
||||
icon: 'home',
|
||||
label: 'sidebar.home'
|
||||
},
|
||||
{
|
||||
name: 'search',
|
||||
ariaLabel: 'search',
|
||||
routerName: 'Search',
|
||||
icon: 'search',
|
||||
label: 'sidebar.search'
|
||||
},
|
||||
{
|
||||
name: 'charts',
|
||||
ariaLabel: 'charts',
|
||||
routerName: 'Charts',
|
||||
icon: 'show_chart',
|
||||
label: 'sidebar.charts'
|
||||
},
|
||||
{
|
||||
name: 'favorites',
|
||||
ariaLabel: 'favorites',
|
||||
routerName: 'Favorites',
|
||||
icon: 'star',
|
||||
label: 'sidebar.favorites'
|
||||
},
|
||||
{
|
||||
name: 'analyzer',
|
||||
ariaLabel: 'link analyzer',
|
||||
routerName: 'Link Analyzer',
|
||||
icon: 'link',
|
||||
label: 'sidebar.linkAnalyzer'
|
||||
},
|
||||
{
|
||||
name: 'settings',
|
||||
ariaLabel: 'settings',
|
||||
routerName: 'Settings',
|
||||
icon: 'settings',
|
||||
label: 'sidebar.settings'
|
||||
},
|
||||
{
|
||||
name: 'about',
|
||||
ariaLabel: 'info',
|
||||
routerName: 'About',
|
||||
icon: 'info',
|
||||
label: 'sidebar.about'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user