-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
39 lines (36 loc) · 799 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
<script setup lang="ts">
const colorMode = useColorMode();
useHead({
titleTemplate(title) {
return title && title != "Nike Okoronkwo"
? `${title} | Nike Okoronkwo`
: "Nike Okoronkwo";
},
link: [
{
rel: "icon",
href: colorMode.value === "light" ? "/favicon.ico" : "/favicon-dark.ico",
},
{
rel: "apple-touch-icon",
href:
colorMode.value === "light"
? "/apple-touch-icon.png"
: "/apple-touch-icon-dark.png",
},
],
});
useSeoMeta({
title: "Nike Okoronkwo",
ogTitle: "Nikechukwu Okoronkwo",
description: "The main homepage of Nikechukwu Okoronkwo",
});
</script>
<template>
<div>
<NuxtLoadingIndicator color="#353935" />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>