Put Tabs config in it's own file

This commit is contained in:
KorbsStudio 2023-02-13 13:56:29 -05:00
parent 0bfacbff80
commit cef5cc5ff7
No known key found for this signature in database
2 changed files with 38 additions and 1 deletions

View file

@ -1,5 +1,6 @@
---
import { APP, SIDEBARTOP, SIDEBARBOTTOM } from '../config'
import { APP } from '../config'
import { SIDEBARTOP, SIDEBARBOTTOM } from '../tabs'
---
<div class="sidebar">

36
astro/tabs.ts Normal file
View file

@ -0,0 +1,36 @@
/// Top tabs of your sidbears
export const SIDEBARTOP = [
{
text: "Dashboard",
icon: "fa-solid fa-wand-magic-sparkles",
option: "active",
default: true
},
{
text: "Files",
icon: "fa-solid fa-folder-tree"
},
{
text: "Webview Demo",
icon: "fa-solid fa-globe"
},
{
text: "Webview Demo 2",
icon: "fa-solid fa-globe",
option: "has-navigation",
navigation: true
},
{
text: "iFrame Demo",
icon: "fa-solid fa-eye",
},
]
/// Bottoms tabs of your sidebar
export const SIDEBARBOTTOM = [
{
text: "Settings",
page: "Settings",
icon: "fa-solid fa-sliders",
}
]