feat(dashboard): add price history, caching, and i18n
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import { t } from 'i18next';
|
||||
import dashboard from '@/routes/dashboard';
|
||||
import history from '@/routes/history';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<nav class="fixed top-0 left-0 w-40">
|
||||
<ul>
|
||||
<li>
|
||||
<a :href="dashboard.index().url">{{ t('dashboard.title') }}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a :href="history.index().url">{{ t('history.title') }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="absolute top-0 left-40"><slot /></div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user