-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
36 lines (31 loc) · 797 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
<script setup lang="ts">
const { data: page } = await useAsyncData(() => queryContent("/").findOne());
useHead({
meta: [{ name: "viewport", content: "width=device-width, initial-scale=1" }],
link: [{ rel: "icon", href: "https://avatars.githubusercontent.com/u/72127044?v=4" }],
htmlAttrs: {
lang: "en",
},
});
defineOgImageComponent("NuxtSeo", {
title: page.value.title,
description: page.value.description,
theme: "#ff0000",
colorMode: "dark",
});
useSeoMeta({
titleTemplate: `%s - izmystic`,
description: "Website Designer | Graphic Designer",
ogTitle: "%s - izmystic",
ogDescription: "Website Designer | Graphic Designer",
});
</script>
<template>
<Header />
<UMain>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</UMain>
<Footer />
</template>