-
Notifications
You must be signed in to change notification settings - Fork 5
/
app.vue
86 lines (84 loc) · 1.8 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
80
81
82
83
84
85
86
<script setup lang="ts">
const HEAD_META = [
{
name: 'description',
content: 'Here is Kurt | Follow me on Github @kurt-liao',
},
// Facebook
{
name: 'og:url',
content: 'https://me.kurtstories.com/',
},
{
name: 'og:type',
content: 'website',
},
{
name: 'og:title',
content: 'Kurt.me',
},
{
name: 'og:description',
content: 'Here is Kurt | Follow me on Github @kurt-liao',
},
{
name: 'og:image',
content:
'https://raw.githubusercontent.com/kurt-liao/terminal.me/main/public/logo.svg',
},
// Twitter
{
name: 'twitter:card',
content: 'summary_large_image',
},
{
name: 'twitter:domain',
content: 'me.kurtstories.com',
},
{
name: 'twitter:url',
content: 'https://me.kurtstories.com/',
},
{
name: 'twitter:title',
content: 'Kurt.me',
},
{
name: 'twitter:description',
content: 'Here is Kurt | Follow me on Github @kurt-liao',
},
{
name: 'twitter:image',
content:
'https://raw.githubusercontent.com/kurt-liao/terminal.me/main/public/logo.svg',
},
]
useHead({
htmlAttrs: {
lang: 'en',
},
title: 'Kurt.me',
meta: HEAD_META,
})
</script>
<template>
<Head>
<Script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ "gtm.start": new Date().getTime(), event: "gtm.js" });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != "dataLayer" ? "&l=" + l : "";
j.defer = true;
j.src = "https://www.googletagmanager.com/gtm.js?id=" + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, "script", "dataLayer", "G-KEN9T9R10T");
</Script>
</Head>
<ThemeProvider>
<ShellProvider>
<NuxtLayout> <NuxtPage /></NuxtLayout>
</ShellProvider>
</ThemeProvider>
</template>