From ac9ae16067e2b85f8ad30850809a917910a3ca96 Mon Sep 17 00:00:00 2001 From: adb-sh Date: Sat, 17 Sep 2022 19:55:29 +0200 Subject: [PATCH] debug --- src/.vuepress/components/SocialIcons.vue | 2 +- src/.vuepress/enhanceApp.js | 6 +-- src/.vuepress/theme/Layout.vue | 2 +- src/.vuepress/theme/SiteHeader.vue | 2 +- src/.vuepress/theme/main.scss | 4 ++ src/index.md | 40 ------------------ src/me/index.md | 54 ++++++++++++++++++++++++ src/projects/artnet-node.md | 6 +++ 8 files changed, 68 insertions(+), 48 deletions(-) delete mode 100755 src/index.md create mode 100755 src/me/index.md diff --git a/src/.vuepress/components/SocialIcons.vue b/src/.vuepress/components/SocialIcons.vue index 29dfd54..614a68e 100644 --- a/src/.vuepress/components/SocialIcons.vue +++ b/src/.vuepress/components/SocialIcons.vue @@ -2,7 +2,7 @@
- + diff --git a/src/.vuepress/enhanceApp.js b/src/.vuepress/enhanceApp.js index 487b7fa..2d51a7c 100755 --- a/src/.vuepress/enhanceApp.js +++ b/src/.vuepress/enhanceApp.js @@ -1,8 +1,3 @@ -import { ThemeConfig } from 'bootstrap-darkmode'; - -export const themeConfig = new ThemeConfig(); -themeConfig.initTheme(); - const matchPath = /(?|.+)\/(?[-_\w]+)(?|\/|\.html|\.md)$/; export default ({ @@ -12,6 +7,7 @@ export default ({ siteData // site metadata }) => { router.beforeEach((to, from, next) => { + if (to.path === '/') next('/me'); if (!to.name) { const { filename } = to.fullPath.match(matchPath).groups; next( diff --git a/src/.vuepress/theme/Layout.vue b/src/.vuepress/theme/Layout.vue index 70ca672..a48daf0 100644 --- a/src/.vuepress/theme/Layout.vue +++ b/src/.vuepress/theme/Layout.vue @@ -1,5 +1,5 @@