wrbapp/frontend/pages/index.vue

30 lines
1.2 KiB
Vue
Raw Normal View History

2022-09-15 19:15:07 +02:00
<template>
2022-09-27 16:00:09 +02:00
<div class="flex flex-col justify-center items-center px-2 overflow-hidden">
<h1 class="font-bold text-3xl text-center mt-6 mb-3">Reddingsbrigade Waddinxveen</h1>
2023-03-20 11:23:46 +01:00
<h2 class="text-xl text-center mb-12">{{ userStore.userPersons.map(a => a.fullName).join(', ')}}</h2>
2022-09-27 16:00:09 +02:00
<div class="container w-full max-w-md">
<NuxtLink to="/news" class="rounded-t item-hover py-2 flex items-center">
<span>Nieuws</span>
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
<div class="divider" />
<NuxtLink to="/calendar" class="item-hover py-2 flex items-center">
2023-01-22 15:12:15 +01:00
<span>Agenda</span>
2022-09-27 16:00:09 +02:00
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
<div class="divider" />
<NuxtLink to="/settings" class="rounded-b item-hover py-2 flex items-center">
<span>Settings</span>
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
</div>
2022-09-15 19:15:07 +02:00
</div>
</template>
2022-09-16 21:11:44 +02:00
<script setup>
definePageMeta({
2023-03-20 11:23:46 +01:00
title: 'Home',
2022-09-16 21:11:44 +02:00
})
2023-03-20 11:23:46 +01:00
const userStore = useUserStore()
2022-09-16 21:11:44 +02:00
</script>