forked from Simnation/Main
multijob
This commit is contained in:
parent
e9d6fa5f24
commit
0b6e0f9708
47 changed files with 3824 additions and 0 deletions
|
@ -0,0 +1,23 @@
|
|||
<script lang="ts">
|
||||
import NavItem from './atoms/NavItem.svelte';
|
||||
import PanelStore from '../stores/PanelStore';
|
||||
import type { side } from '../types/types';
|
||||
|
||||
export let side: side;
|
||||
|
||||
const { panelActive, panels } = PanelStore;
|
||||
</script>
|
||||
|
||||
<nav class="w-[80px] min-h-screen nav flex flex-col z-10">
|
||||
<div class="ps-logo w-full h-[80px]"/>
|
||||
{#each $panels as item}
|
||||
<NavItem name={item.name} isActive={item.name == $panelActive} icon={item.icon} {side}/>
|
||||
{/each}
|
||||
</nav>
|
||||
|
||||
<style>
|
||||
.nav {
|
||||
background: var(--color-darkerblue);
|
||||
border-left: 1px solid var(--color-darkblue);
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue