movie-night-web/src/components/common/navigation/navbar.vue

33 lines
905 B
Vue
Raw Normal View History

2025-03-30 20:51:11 -05:00
<template>
2025-07-07 18:04:12 -05:00
<div
class="grid grid-rows-2 text-center sm:text-left sm:grid-rows-none sm:grid-cols-2 my-5 navbar w-full"
>
<NuxtLink class="block" to="/">
2025-03-30 20:51:11 -05:00
<h1 class="block site-title bloodseeker">Cinema Corona</h1>
</NuxtLink>
2025-07-07 18:04:12 -05:00
<ul
class="mt-3 sm:mt-0 justify-self-center sm:justify-self-end inline-flex space-x-5 bloodseeker leading-10"
>
2025-03-30 20:51:11 -05:00
<li>
<NuxtLink class="text-xl header-link" to="/lists">Lists</NuxtLink>
</li>
<li>
<NuxtLink class="text-xl header-link" to="/schedule">Schedule</NuxtLink>
</li>
<li v-if="authenticated">
2025-07-07 18:04:12 -05:00
<ProfileMenu />
</li>
2025-03-30 20:51:11 -05:00
</ul>
</div>
</template>
<script lang="ts" setup>
import { hasToken } from "~/composables/hasToken";
2025-07-13 00:09:58 -05:00
import ProfileMenu from "~/components/common/menus/ProfileMenu.vue";
const authenticated = computed(() => hasToken());
2025-03-30 20:51:11 -05:00
</script>
2025-07-07 18:04:12 -05:00
<style scoped></style>