<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import AuthNav from './components/AuthNav.vue'
</script>

<template>
  <header>
    <div class="title">
      <h1>
        <RouterLink to="/">
          {{ year }} Tracker Expanded
        </RouterLink>
      </h1>
    </div>
      <nav>
        <RouterLink to="/table">Table</RouterLink>
        <RouterLink to="/database">Database Info</RouterLink>
      </nav>
      <AuthNav />
  </header>

  <RouterView />

</template>

<style scoped>

</style>
