<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>
