-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathapp.vue
45 lines (37 loc) · 835 Bytes
/
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
<script setup lang="ts">
const colorMode = useColorMode()
useHead(() => {
let string = "eggsy.xyz"
return {
titleTemplate: `%s - ${string}`,
htmlAttrs: {
class: `min-h-screen ${colorMode.preference} ${colorMode.value}`,
},
meta: [
{
hid: "og:site_name",
name: "og:site_name",
content: string,
},
],
}
})
</script>
<template>
<div class="min-h-screen bg-gray-50 dark:bg-neutral-900">
<Navbar class="pt-10" />
<!-- Nuxt component -->
<main class="responsive-screen min-h-screen pb-8">
<NuxtPage />
</main>
<!-- Footer -->
<Footer />
<!-- Go to top button -->
<GoTop />
<!-- Sponsor Popup -->
<SponsorPopup />
<!-- Other Components -->
<VitePwaManifest />
<NuxtLoadingIndicator />
</div>
</template>