2022-04-03 01:20:55 +02:00
|
|
|
<template>
|
2022-12-30 21:36:59 +01:00
|
|
|
<a class="button is-link is-sr-only" href="#content">Accéder au contenu</a>
|
|
|
|
<AdminHeader v-if="authStore.isLogged" id="nav" />
|
|
|
|
<a class="button is-link is-sr-only" href="#nav">Accéder à la navigation</a>
|
|
|
|
<div class="container" id="content">
|
|
|
|
<slot />
|
|
|
|
</div>
|
2022-04-03 01:20:55 +02:00
|
|
|
</template>
|
|
|
|
|
2022-12-25 23:52:43 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { useAuthStore } from "~/stores/authStore"
|
|
|
|
|
|
|
|
const authStore = useAuthStore()
|
2022-12-30 22:27:11 +01:00
|
|
|
useHead({
|
|
|
|
titleTemplate: (pageTitle) =>
|
|
|
|
(pageTitle ? `${pageTitle} | ` : "") + "Admin | Ciné-club ENS Ulm",
|
|
|
|
})
|
2022-12-25 23:52:43 +01:00
|
|
|
</script>
|
2022-04-03 01:20:55 +02:00
|
|
|
|
2022-05-30 00:19:28 +02:00
|
|
|
<style scoped lang="sass"></style>
|