wrbapp/frontend/pages/wedstrijd/index.vue

29 lines
1.1 KiB
Vue
Raw Permalink Normal View History

2022-11-29 18:14:11 +01:00
<template>
2022-12-04 10:29:11 +01:00
<div class="flex flex-col justify-center items-center px-2 overflow-hidden">
<div class="container w-full max-w-md">
2023-01-26 11:06:07 +01:00
<NuxtLink to="/wedstrijd/owntimes" class="rounded-t item-hover py-2 flex items-center">
2022-12-04 10:29:11 +01:00
<span>Eigen Tijden</span>
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
<div class="divider" />
2023-02-10 13:55:18 +01:00
<NuxtLink to="/wedstrijd/alltimes" class="item-hover py-2 flex items-center">
2022-12-04 10:29:11 +01:00
<span>Brigade Tijden</span>
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
2023-03-20 11:23:46 +01:00
<div v-if="userStore.userData.wedstrijdAdmin" class="divider" />
<NuxtLink v-if="userStore.userData.wedstrijdAdmin" to="/wedstrijd/addcontest" class="rounded-b item-hover py-2 flex items-center">
<span>Tijden Toevoegen</span>
2022-12-04 10:29:11 +01:00
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
</div>
</div>
2022-11-29 18:14:11 +01:00
</template>
2022-12-04 10:29:11 +01:00
<script setup>
definePageMeta({
2023-02-05 22:47:13 +01:00
title: 'Wedstrijd'
2022-12-04 10:29:11 +01:00
})
2023-02-05 22:47:13 +01:00
2023-03-20 11:23:46 +01:00
const userStore = useUserStore()
2022-12-04 10:29:11 +01:00
</script>