diff --git a/.gitignore b/.gitignore index 945045f..bcafa8f 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ pnpm-workspace.yaml /client_ chrome.run.xml /nuxt.run.xml /server_ nuxt.run.xml +/output.tar.gz diff --git a/assets/css/main.css b/assets/css/main.css index dc16552..7102faf 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -8,4 +8,4 @@ html { --light-text-color: #1e2939; /*gray-800*/ --light-text-secondary-color: #4a5565; /*gray-600*/ --dark-text-color: #e5e7eb; /*gray-200*/ -} +} \ No newline at end of file diff --git a/components/PageLogo.vue b/components/PageLogo.vue index a62e062..72256af 100644 --- a/components/PageLogo.vue +++ b/components/PageLogo.vue @@ -3,7 +3,6 @@ diff --git a/components/PersonalCard.vue b/components/PersonalCard.vue new file mode 100644 index 0000000..b085a21 --- /dev/null +++ b/components/PersonalCard.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/components/ReadonlyMdEditor.vue b/components/ReadonlyMdEditor.vue index 9d05ac6..ac39d9e 100644 --- a/components/ReadonlyMdEditor.vue +++ b/components/ReadonlyMdEditor.vue @@ -17,14 +17,13 @@ const { colorMode } = storeToRefs(useColorModeStore()); diff --git a/content b/content index a7cd0a0..e4c08e4 160000 --- a/content +++ b/content @@ -1 +1 @@ -Subproject commit a7cd0a03602ed93da797632e5616211f40868125 +Subproject commit e4c08e4b0aa49ec629020047c88f43664bda0ba2 diff --git a/content.config.ts b/content.config.ts index f40f182..8ff0531 100644 --- a/content.config.ts +++ b/content.config.ts @@ -10,7 +10,8 @@ const schema = z.object({ draft: z.boolean().default(false), updated_at: z.array(z.string().datetime()).default([]), tags: z.array(z.string()).default([]), - type: z.enum(['article', 'rambling']).default('article'), + type: z.enum(['article', 'rambling', 'announcement']).default('article'), + isPinned: z.boolean().default(false), tech_stack: z.array(z.string()).default([]), tech_stack_percent: z.array(z.number()).default([]), tech_stack_icon_names: z.array(z.string()).default([]), diff --git a/nuxt.config.ts b/nuxt.config.ts index ee338c5..6b5ed83 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -22,9 +22,13 @@ export default defineNuxtConfig({ }, app: { head: { + title: '随机存取', htmlAttrs: { lang: 'zh-CN', }, + meta: [ + { name: 'description', content: 'Lichx 个人博客' }, + ], script: [{ src: '/darkVerify.js' }], }, }, diff --git a/package.json b/package.json index d666aab..c08fd5c 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@nuxt/ui": "3.2.0", "@pinia/nuxt": "^0.11.1", "@tailwindcss/vite": "^4.1.11", + "@typescript/native-preview": "7.0.0-dev.20250830.1", "@vue/eslint-config-prettier": "^10.2.0", "@vueuse/core": "^13.6.0", "better-sqlite3": "^12.2.0", @@ -32,7 +33,7 @@ "vue-router": "^4.5.1", "word-count": "^0.3.1" }, - "packageManager": "pnpm@10.14.0", + "packageManager": "pnpm@10.15.0", "devDependencies": { "@stylistic/eslint-plugin": "^5.1.0", "@stylistic/eslint-plugin-jsx": "^4.4.1", diff --git a/pages/admin/index.vue b/pages/admin/index.vue index 69e2194..f3569c5 100644 --- a/pages/admin/index.vue +++ b/pages/admin/index.vue @@ -3,10 +3,11 @@ \ No newline at end of file + diff --git a/pages/index.vue b/pages/index.vue index 024ede7..8315694 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -61,9 +61,9 @@ import breakpointsHelper from '~/utils/BreakpointsHelper';