2023-02-05 18:11:34 +08:00
|
|
|
<script setup lang="ts">
|
|
|
|
// https://github.com/vueuse/head
|
|
|
|
// you can use this to manipulate the document head in any components,
|
|
|
|
// they will be rendered correctly in the html results with vite-ssg
|
|
|
|
useHead({
|
2023-02-07 21:58:18 +08:00
|
|
|
title: '合肥市南园学校19预科2班',
|
2023-02-05 18:11:34 +08:00
|
|
|
meta: [
|
2023-02-18 14:32:31 +08:00
|
|
|
{ name: 'description', content: '合肥市南园学校19预科2班纪念项目。' },
|
2023-02-05 18:11:34 +08:00
|
|
|
{
|
|
|
|
name: 'theme-color',
|
|
|
|
content: computed(() => isDark.value ? '#00aba9' : '#ffffff'),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
link: [
|
|
|
|
{
|
|
|
|
rel: 'icon',
|
|
|
|
type: 'image/svg+xml',
|
|
|
|
href: computed(() => preferredDark.value ? '/favicon-dark.svg' : '/favicon.svg'),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<RouterView />
|
|
|
|
</template>
|