draft market

This commit is contained in:
2023-07-27 09:22:47 +02:00
parent c75f3b6321
commit dc9be7db98
13 changed files with 117 additions and 15 deletions

28
src/sidebar/Sidebar.vue Normal file
View File

@@ -0,0 +1,28 @@
<script setup lang="ts">
import { RouterLink } from 'vue-router';
</script>
<template>
<aside class="fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0">
<div class="h-full px-3 py-4 overflow-y-auto bg-slate-700">
<ul class="space-y-2 font-medium">
<li>
<RouterLink to="/reprocess" class="flex items-center p-2 rounded-md">
<span>Reprocess</span>
</RouterLink>
</li>
<li>
<RouterLink to="/market" class="flex items-center p-2 rounded-md">
<span>Market</span>
</RouterLink>
</li>
</ul>
</div>
</aside>
</template>
<style scoped>
.router-link-active {
@apply bg-emerald-500;
}
</style>

1
src/sidebar/index.ts Normal file
View File

@@ -0,0 +1 @@
export { default as Sidebar } from './Sidebar.vue';