-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
79 lines (71 loc) · 1.88 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<script setup lang="ts">
// import { createClient } from "@vercel/edge-config";
// useSeoMeta({
// title: "Avatio",
// ogTitle: "Avatio",
// description: "アバターセットアップ共有サービス",
// ogDescription: "アバターセットアップ共有サービス",
// ogImage: "https://example.com/image.png", // todo
// twitterCard: "summary_large_image",
// });
useHead({
title: "Avatio",
link: [
{
rel: "icon",
type: "image/png",
href: "/favicon.ico",
},
],
meta: [{ name: "lang", content: "ja" }],
});
const modal_feedback = ref(false);
// let isMaintenance: boolean | undefined = false;
// try {
// // const runtimeConfig = useRuntimeConfig();
// // const edgeConfig = createClient(runtimeConfig.public.edgeConfig);
// // isMaintenance = await edgeConfig.get("isMaintenance");
// // console.log("isMaintenance", isMaintenance);
// } catch (e) {
// console.error(e);
// }
</script>
<template>
<UContainer
class="flex flex-col gap-10"
:ui="{ padding: 'pt-4 px-6 md:px-20 lg:px-40' }"
>
<UiHeader />
<NuxtPage />
<UiFooter />
</UContainer>
<UButton
size="xl"
icon="lucide:lightbulb"
label="フィードバック"
:ui="{ rounded: 'rounded-full' }"
class="fixed bottom-6 right-6 pr-[18px]"
@click="modal_feedback = true"
/>
<UModal
v-model="modal_feedback"
:ui="{
background: 'bg-white dark:bg-neutral-800',
ring: 'ring-0',
rounded: 'rounded-xl',
overlay: { background: 'backdrop-blur-sm' },
}"
>
<ModalFeedback />
</UModal>
<UNotifications />
</template>
<style>
body {
background-color: #f0f0f0;
font-family: "Murecho";
}
.dark body {
background-color: #262626;
}
</style>