2022-11-13 14:34:43 +09:00
|
|
|
<script setup>
|
2022-11-23 22:06:27 +09:00
|
|
|
import { APP_NAME } from './constants'
|
|
|
|
|
2022-11-13 14:34:43 +09:00
|
|
|
useHead({
|
2022-11-25 20:48:48 +09:00
|
|
|
titleTemplate: title => `${title ? `${title} | ` : ''}${APP_NAME}${import.meta.env.DEV ? ' (dev)' : ''}`,
|
2022-11-13 14:34:43 +09:00
|
|
|
link: [
|
|
|
|
{
|
2022-11-24 13:48:59 +09:00
|
|
|
rel: 'icon', type: 'image/svg+png', href: '/favicon.png',
|
2022-11-13 14:34:43 +09:00
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
2022-11-23 11:16:31 +09:00
|
|
|
|
|
|
|
// eslint-disable-next-line no-unused-expressions
|
|
|
|
isDark.value
|
2022-11-13 14:34:43 +09:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-11-24 18:59:07 +09:00
|
|
|
<NuxtLoadingIndicator color="repeating-linear-gradient(to right,var(--c-primary) 0%,var(--c-primary-active) 100%)" />
|
2022-11-13 14:34:43 +09:00
|
|
|
<NuxtLayout>
|
|
|
|
<NuxtPage />
|
|
|
|
</NuxtLayout>
|
2022-11-27 21:29:10 +09:00
|
|
|
<TeleportTarget
|
|
|
|
id="teleport-end"
|
|
|
|
/>
|
2022-11-13 14:34:43 +09:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
html, body , #__nuxt{
|
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.dark {
|
2022-11-23 11:16:31 +09:00
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
--at-apply: bg-base text-base;
|
2022-11-13 14:34:43 +09:00
|
|
|
}
|
|
|
|
</style>
|