From 6127f452986621cd596f378f5dcd9c0c0e569b4f Mon Sep 17 00:00:00 2001 From: KarolChang Date: Sun, 24 Apr 2022 13:11:10 +0800 Subject: [PATCH] fix: config & Sidebar --- .gitlab-ci.yml | 14 ++ src/components/Sidebar.vue | 4 +- src/router/index.ts | 330 ++++++++++++++++++------------------- vite.config.js | 4 +- 4 files changed, 183 insertions(+), 169 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3bf4b12 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +# image: alpine:latest +# pages: +# stage: deploy +# script: +# - mkdir public +# - ls -al +# - mv -f ./assets public +# - mv -f ./index.html public +# - echo "Release Complete" +# artifacts: +# paths: +# - public +# only: +# - gh-pages diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 194596d..e8211df 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -98,13 +98,13 @@ const openUserRP = () => { aria-expanded="false" > photo - {{ store.firebaseUser?.displayName }} + {{ store.currentUser.displayName }}