-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
63 lines (55 loc) · 1.69 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
<script setup>
useHead({
title: 'UMPSA Connect',
link: [
{
rel: 'icon', href: '/favicon.ico', sizes: '48x48'
},
{
rel: 'icon', href: '/favicon.svg', sizes: 'any', type: 'image/svg+xml'
},
{
rel: 'apple-touch-icon', href: '/img/apple-touch-icon.jpeg'
}
],
htmlAttrs: {
lang: 'en'
}
})
useSeoMeta({
title: 'UMPSA Connect',
ogTitle: 'UMPSA Connect',
description: 'UMPSA Connect serves as a comprehensive solution to enhance communication, streamline information dissemination, foster engagement, and improve data security across the entire UMPSA community. By providing users with easy access to relevant information and facilitating seamless communication, the platform contributes to a more connected and informed campus environment.',
ogDescription: 'UMPSA Connect serves as a comprehensive solution to enhance communication, streamline information dissemination, foster engagement, and improve data security across the entire UMPSA community. By providing users with easy access to relevant information and facilitating seamless communication, the platform contributes to a more connected and informed campus environment.',
ogImage: '/img/login.png',
twitterCard: 'summary_large_image',
})
const { system } = useColorMode()
const theme = ref('light')
const changeTheme = async () => {
if (system.value != theme.value) {
theme.value = system.value
}
}
watch(system, async () => {
await changeTheme()
})
onMounted(async () => {
await changeTheme()
})
</script>
<template>
<NuxtPwaManifest />
<NuxtRouteAnnouncer />
<NuxtLoadingIndicator />
<VApp :theme="theme">
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</VApp>
</template>
<style>
:root {
scroll-behavior: smooth;
}
</style>