ledger gemory draft

This commit is contained in:
Sirttas
2026-05-17 12:42:25 +02:00
parent e81fdc24bb
commit f9ae0d142a
35 changed files with 2017 additions and 2763 deletions
+8 -6
View File
@@ -1,18 +1,16 @@
<script setup lang="ts">
import { useAuthStore } from '@/auth';
import { Dropdown } from '@/components';
import { RouterLink } from 'vue-router';
const links = [
{ name: "Ledger", path: "/legers" },
{ name: "Market", path: "/market" },
{ name: "Reprocess", path: "/reprocess" },
{ name: "Tools", path: "/tools" }
];
const authStore = useAuthStore();
const logout = async () => {
await authStore.logout();
}
</script>
@@ -22,7 +20,7 @@ const logout = async () => {
<div class="mb-2 border-b-2 border-emerald-500">
<Dropdown class="mb-2 user-dropdown">
<template #button>
<span>{{ authStore.username }}</span>
<span>NAME</span>
</template>
<ul>
<li>
@@ -48,13 +46,17 @@ const logout = async () => {
</aside>
</template>
<style scoped lang="postcss">
<style scoped>
@reference "tailwindcss";
.sidebar-button {
@apply flex items-center rounded-md hover:bg-slate-800 cursor-pointer;
@apply flex items-center rounded-md hover:bg-slate-800 cursor-pointer;
}
.router-link-active {
@apply bg-emerald-500 hover:bg-emerald-700;
}
.user-dropdown {
@apply w-full;
:deep(>div) {