Refactor components. Improve design. Improve routing

This commit is contained in:
2023-11-17 17:15:37 -05:00
parent cbe4b5323e
commit f2d4ce12d4
17 changed files with 278 additions and 146 deletions

View File

@@ -2,11 +2,15 @@
<q-page class="row justify-center">
<q-img alt="OYS Logo" src="~assets/oysqn_logo.png" fit="scale-down" />
<q-list class="full-width mobile-only">
<q-item v-for="link in links" :key="link.name">
<q-item
v-for="link in links.filter((x) => x.front_links)"
:key="link.name"
>
<q-btn
:v-model="auth.ready"
:icon="link.icon"
color="primary"
:size="`1.5em`"
:size="`1.25em`"
:to="link.to"
:label="link.name"
rounded
@@ -21,6 +25,9 @@
<script lang="ts" setup>
import { defineComponent } from 'vue';
import { links } from 'src/router/navlinks.js';
import { useAuthStore } from 'stores/auth';
const auth = useAuthStore();
defineComponent({
name: 'IndexPage',