This repository has been archived on 2024-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
Nexus-Polestar/astro/components/Sidebar.astro
KorbsStudio 1a4991e278
update
2023-01-27 23:18:17 -05:00

46 lines
No EOL
946 B
Text

---
import Tab from './sidebar/Tab.astro';
import TabControls from './sidebar/TabWithControls.astro';
---
<div class="sidebar">
<div class="sidebar-top">
<Tab
Page="1"
Name="Welcome"
Icon="fa-solid fa-wand-magic-sparkles"
Default="active" // This selects the tab by default
></Tab>
<Tab
Page="2"
Name="Files"
Icon="fa-solid fa-folder-tree"
></Tab>
<Tab
Page="3"
Name="Webview Demo"
Icon="fa-solid fa-globe"
></Tab>
<TabControls
Page="3A"
Name="Webview Demo"
Icon="fa-solid fa-globe"
></TabControls>
<Tab
Page="4"
Name="iFrame Demo"
Icon="fa-solid fa-eye"
></Tab>
</div>
<div class="sidebar-bottom">
<Tab
Page="5"
Name="Settings"
Icon="fa-solid fa-sliders"
></Tab>
</div>
</div>