-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
44 lines (40 loc) · 913 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
<template>
<NuxtLayout>
<Html>
<Head>
<Meta
property="viewport"
content="initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width"
/>
</Head>
<Body :class="{ dark: isDarkMode }">
<NuxtPage />
</Body>
</Html>
</NuxtLayout>
</template>
<script lang="ts" setup>
useHead({
title: "Saif new",
meta: [{ name: "description", content: "This is Saif Obeidat" }],
link: [
{
rel: "preconnect",
href: `https://fonts.googleapis.com`
},
{
rel: "preconnect",
href: `https://fonts.gstatic.com`,
crossorigin: ""
},
{
rel: "stylesheet",
href: `https://fonts.googleapis.com/css2?family=Tajawal:wght@200;400;500;700;800&display=swap`
}
]
});
let generalStore = useGeneralStore();
let isDarkMode = computed(() => {
return generalStore.isDarkMode;
});
</script>