wrbapp/frontend/pages/wedstrijd/index.vue

29 lines
1.1 KiB
Vue
Raw 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" />
<NuxtLink to="/calendar" class="item-hover py-2 flex items-center">
<span>Brigade Tijden</span>
<Icon class="ml-auto" size="2em" name="ion:arrow-forward"/>
</NuxtLink>
2023-02-05 22:47:13 +01:00
<div v-if="userData.wedstrijdAdmin" class="divider" />
<NuxtLink v-if="userData.wedstrijdAdmin" to="/wedstrijd/addcontest" class="rounded-b item-hover py-2 flex items-center">
2022-12-04 10:29:11 +01:00
<span>Wedstrijd Toevoegen</span>
<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
const { userData } = inject('firebase')
2022-12-04 10:29:11 +01:00
</script>