feat: 增加head相关,增加logo

This commit is contained in:
539943419 committed 2025-01-12 16:26:05 +08:00
1 parent 3d385a7550
commit d9a7eb76c1
6 files changed
+18 -2

No files matched your search

+7
View File
@@ -11,6 +11,13 @@
import miaoHeader from './components/miaoHeader.vue'; import miaoHeader from './components/miaoHeader.vue';
import miaoContentWarpper from './components/miaoContentWarpper.vue'; import miaoContentWarpper from './components/miaoContentWarpper.vue';
useHead({
title: '杪 Blog',
meta: [
{ name: 'description', content: '杪儿的博客' }
],
})
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
+1 -1
View File
@@ -16,7 +16,7 @@
height: calc(100vh - 60px); height: calc(100vh - 60px);
max-height: calc(100vh - 60px); max-height: calc(100vh - 60px);
width: 100%; width: 100%;
max-width: 1200px; // max-width: 1200px;
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
+4
View File
@@ -111,6 +111,10 @@ const switchItemShow = (item: PageContent) => {
item.show = !item.show item.show = !item.show
} }
// useHead({
// title: '杪 Blog | 首页',
// })
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

+6 -1
View File
@@ -1,4 +1,9 @@
{ {
// https://nuxt.com/docs/guide/concepts/typescript // https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json" "extends": "./.nuxt/tsconfig.json",
"exclude": [
".output",
"node_modules",
".nuxt",
]
} }