-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.vue
45 lines (41 loc) · 809 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">
import json from "~/portfolio.json";
import { Data } from "~/interfaces";
const data: Data = json;
useHead({
meta: [
{
name: "description",
content: data.about.summary,
},
...(data.about.image
? [
{
name: "og:image",
content: data.about.image,
},
{
name: "og:image:type",
content: "image/png",
},
{
name: "og:image:width",
content: "512",
},
{
name: "og:image:height",
content: "512",
},
]
: []),
],
});
</script>
<template>
<NuxtLayout>
<NuxtLoadingIndicator />
<template #content>
<NuxtPage />
</template>
</NuxtLayout>
</template>