-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.vue
61 lines (53 loc) · 1.33 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
<template>
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<footer
class="mt-20 space-x-2 text-xs text-gray-500 dark:text-gray-200 text-center container mx-auto mb-2"
>
<span>Copyright © 2013-{{ endYear }} 辛宝Otto</span>
<span>🚀</span>
<a target="_blank" href="https://beian.miit.gov.cn/">
京ICP备17060663号-2
</a>
</footer>
</div>
</template>
<script lang="ts" setup>
import "@varlet/touch-emulator";
import "@/assets/md.css";
const endYear = new Date().getFullYear();
const appConfig = useAppConfig();
useSeoMeta({
title: appConfig.website_title + " - " + appConfig.website_description,
description: appConfig.website_description,
ogTitle: appConfig.website_title,
ogDescription: appConfig.website_description,
ogImage: "https://f.ijust.cc/release/?title=" + appConfig.website_title,
twitterTitle: appConfig.website_title,
twitterDescription: appConfig.website_description,
// twitterImage: "[twitter:image]",
twitterCard: "summary",
});
useHead({
htmlAttrs: {
lang: "zh-CN",
},
link: [],
});
</script>
<style>
.o {
outline: 1px solid red;
}
body {
/* define --color-body */
--color-body: #f9f9f9;
transition:
background-color 0.25s,
color 0.25s;
color: var(--color-text);
background-color: var(--color-body);
}
</style>