+
diff --git a/src/components/alert/UnderMaintenance.vue b/src/components/alert/UnderMaintenance.vue
new file mode 100644
index 0000000..77a7518
--- /dev/null
+++ b/src/components/alert/UnderMaintenance.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
建设中 🚧
+
+ 此页面正在建设中,请稍后再来查看更新。
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/card/FullScreenIntroCard.vue b/src/components/card/FullScreenIntroCard.vue
new file mode 100644
index 0000000..86a4f36
--- /dev/null
+++ b/src/components/card/FullScreenIntroCard.vue
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/nav/NavBar.vue b/src/components/nav/NavBar.vue
index c1225f2..baa2ee1 100644
--- a/src/components/nav/NavBar.vue
+++ b/src/components/nav/NavBar.vue
@@ -37,6 +37,7 @@ const entry = [
title: '主页',
icon: ['fas', 'home'],
entry: [],
+ to: 'home'
},
{
title: '文章',
@@ -50,7 +51,7 @@ const entry = [
{
title: '日记',
url: false,
- to: 'log'
+ to: 'diary'
},
],
},
@@ -66,14 +67,15 @@ const entry = [
{
title: '仓库',
url: true,
- to: 'https://cantyonion.site/git'
+ to: 'https://cantyonion.site/git/'
},
],
},
{
title: '杂谈',
icon: ['fas', 'chess-rook'],
- entry: []
+ entry: [],
+ to: 'talk'
}
]
@@ -84,7 +86,7 @@ const menuExpanded = () => {
-
+
{
>
+ :title="item.title" :to="item.to"/>
@@ -125,7 +127,7 @@ const menuExpanded = () => {
-
+
\ No newline at end of file
diff --git a/src/views/article/DiaryView.vue b/src/views/article/DiaryView.vue
new file mode 100644
index 0000000..27324a8
--- /dev/null
+++ b/src/views/article/DiaryView.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/error/MaintenanceView.vue b/src/views/error/MaintenanceView.vue
new file mode 100644
index 0000000..7880bc0
--- /dev/null
+++ b/src/views/error/MaintenanceView.vue
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/home/HomeView.vue b/src/views/home/HomeView.vue
index 145ccae..8091bfa 100644
--- a/src/views/home/HomeView.vue
+++ b/src/views/home/HomeView.vue
@@ -2,13 +2,14 @@
import {computed, onMounted, ref} from "vue";
import ArticleCard from "@/components/card/ArticleCard.vue";
import {getBlogRecentPost} from "@/api/blog.ts";
-import NavBar from "@/components/nav/NavBar.vue";
+// import NavBar from "@/components/nav/NavBar.vue";
import IntroCard from "@/components/card/IntroCard.vue";
import CardTitle from "@/components/card/CardTitle.vue";
import SectionCard from "@/components/card/SectionCard.vue";
import {getActivity} from "@/api/git.ts";
import GitCard from "@/components/card/GitCard.vue";
import emitter from "@/utils/mitt.ts";
+// import FullScreenIntroCard from "@/components/card/FullScreenIntroCard.vue";
// import {getAssetURL} from "@/utils/function.ts";
const recentPosts = ref
(null);
@@ -44,7 +45,6 @@ const activitiesData = computed((): IActivity[] => {
}).filter(item => item !== null)
})
-
const reloadPosts = async () => {
try {
isLoading.value.blog = true
@@ -77,7 +77,9 @@ onMounted(async () => {
-
+
+
+
@@ -112,26 +114,6 @@ onMounted(async () => {
-
-
-
\ No newline at end of file