diff --git a/.eslintignore b/.eslintignore index 9cd105a9..72a085ad 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,3 +5,4 @@ dist/ !.vuepress/ !.*.js scripts/ +LICENSE diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 7be9ca1e..627d2c5e 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -11,7 +11,7 @@ export default defineUserConfig({ themeConfig: { logo: 'https://pengzhanbo.cn/g.gif', avatar: { - url: 'https://via.placeholder.com/300?text=Profile+Photo', + url: '/images/blogger.jpg', name: 'Plume Theme', description: 'The Theme for Vuepress 2.0', }, @@ -37,49 +37,25 @@ export default defineUserConfig({ }, darkMode: true, navbar: [ - { text: '首页', link: '/' }, - { - text: '分类', - link: '/category/', - }, - { - text: '标签', - link: '/tag/', - }, { text: '笔记', children: [ - // { - // text: '技术', - // children: [{ text: '《typescript学习笔记》', link: '/' }], - // }, - // { - // text: '技术', - // children: [{ text: '《typescript学习笔记》', link: '/' }], - // }, { text: 'typescript', link: '/note/typescript/', }, - { - text: '标签', - link: '/tag/', - }, ], }, ], footer: { copyright: 'Copyright © 2022-present pengzhanbo', + content: '', }, themePlugins: { caniuse: { mode: 'embed', }, search: { - // hotKeys: ['s', '/'], - // maxSuggestions: 5, - // isSearchable: (page) => page.path !== '/', - // getExtraFields: () => [], locales: { '/': { placeholder: '搜索', diff --git a/docs/public/g.gif b/docs/public/g.gif index 90c04a20..6f89555c 100644 Binary files a/docs/public/g.gif and b/docs/public/g.gif differ diff --git a/docs/public/images/1px-lines.png b/docs/public/images/1px-lines.png index 99bb67ea..76b973bf 100644 Binary files a/docs/public/images/1px-lines.png and b/docs/public/images/1px-lines.png differ diff --git a/docs/public/images/big-banner.jpg b/docs/public/images/big-banner.jpg index fe0386b2..4dd9c10f 100644 Binary files a/docs/public/images/big-banner.jpg and b/docs/public/images/big-banner.jpg differ diff --git a/docs/public/images/blogger.jpg b/docs/public/images/blogger.jpg index 14ca6940..a8e676a2 100644 Binary files a/docs/public/images/blogger.jpg and b/docs/public/images/blogger.jpg differ diff --git a/docs/public/images/jenkins_globalconfig.png b/docs/public/images/jenkins_globalconfig.png index 484fb031..99861916 100644 Binary files a/docs/public/images/jenkins_globalconfig.png and b/docs/public/images/jenkins_globalconfig.png differ diff --git a/docs/public/images/viewport.jpg b/docs/public/images/viewport.jpg index ea7698cb..f82f72e2 100644 Binary files a/docs/public/images/viewport.jpg and b/docs/public/images/viewport.jpg differ diff --git a/docs/public/images/viewport.png b/docs/public/images/viewport.png index fb47fe10..567375bf 100644 Binary files a/docs/public/images/viewport.png and b/docs/public/images/viewport.png differ diff --git a/packages/theme/src/client/components/Archive.vue b/packages/theme/src/client/components/Archive.vue index 7b8b46cb..b6c24999 100644 --- a/packages/theme/src/client/components/Archive.vue +++ b/packages/theme/src/client/components/Archive.vue @@ -1,3 +1,137 @@ + + diff --git a/packages/theme/src/client/components/PageFooter.vue b/packages/theme/src/client/components/PageFooter.vue index 9f25246d..c71250e5 100644 --- a/packages/theme/src/client/components/PageFooter.vue +++ b/packages/theme/src/client/components/PageFooter.vue @@ -1,40 +1,15 @@