From 65115f61cd16abaaece1c781b2f35f228fcd516d Mon Sep 17 00:00:00 2001 From: Gamebrary Date: Fri, 25 Sep 2020 17:09:20 -0700 Subject: [PATCH] updated UI wip --- package.json | 5 +- src/App.vue | 21 +- src/components/Boards.vue | 7 +- src/components/PageHeader.vue | 155 ++++++-- src/components/Settings.vue | 59 --- src/components/Settings/About.vue | 7 +- src/components/Settings/AccountModal.vue | 6 +- src/components/Settings/ReleasesModal.vue | 32 -- src/components/Settings/TagsSettings.vue | 326 ---------------- src/components/Settings/Themes.vue | 4 +- src/pages/About.vue | 88 +++++ .../Settings => pages}/Account.vue | 4 +- src/pages/Board.vue | 3 +- src/pages/Dashboard.vue | 93 +---- .../Settings => pages}/Language.vue | 38 +- .../Settings => pages}/Releases.vue | 54 +-- src/pages/Tags.vue | 350 ++++++++++++++++++ src/pages/Themes.vue | 94 +++++ .../Wallpapers.vue} | 27 +- src/router.js | 63 ++++ src/styles/styles.scss | 2 + src/themes.js | 21 ++ ...logo-black.png => gamebrary-logo-dark.png} | Bin yarn.lock | 303 +++++++++++++-- 24 files changed, 1131 insertions(+), 631 deletions(-) delete mode 100644 src/components/Settings.vue delete mode 100644 src/components/Settings/ReleasesModal.vue delete mode 100644 src/components/Settings/TagsSettings.vue create mode 100644 src/pages/About.vue rename src/{components/Settings => pages}/Account.vue (98%) rename src/{components/Settings => pages}/Language.vue (80%) rename src/{components/Settings => pages}/Releases.vue (52%) create mode 100644 src/pages/Tags.vue create mode 100644 src/pages/Themes.vue rename src/{components/Settings/WallpaperSettings.vue => pages/Wallpapers.vue} (92%) rename static/{gamebrary-logo-black.png => gamebrary-logo-dark.png} (100%) diff --git a/package.json b/package.json index a6928bb0..af4cb124 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ }, "dependencies": { "axios": "^0.19.0", - "bootstrap": "^4.5.0", - "bootstrap-vue": "^2.16.0", + "bootstrap": "^4.5.2", + "bootstrap-vue": "^2.17.3", "firebase": "^7.19.0", "firebase-admin": "^9.1.1", "firebase-functions": "^3.11.0", @@ -32,6 +32,7 @@ "raven-js": "^3.27.0", "sass-loader": "^7.0.1", "sw-precache-webpack-plugin": "^0.11.5", + "tailwindcss": "^1.8.10", "translate-json-object": "^2.3.3", "vue": "^2.6.11", "vue-analytics": "^5.16.0", diff --git a/src/App.vue b/src/App.vue index e3831e2d..8e96e8be 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,12 +1,14 @@ @@ -72,6 +74,8 @@ export default { return; } + // TODO: move this logic to the authorizing page + firebase.auth().getRedirectResult().then(({ additionalUserInfo, user }) => { if (additionalUserInfo && additionalUserInfo.isNewUser) { this.$store.dispatch('SEND_WELCOME_EMAIL', additionalUserInfo); @@ -257,8 +261,13 @@ export default { diff --git a/src/components/Boards.vue b/src/components/Boards.vue index 9605053a..c02bda36 100644 --- a/src/components/Boards.vue +++ b/src/components/Boards.vue @@ -1,9 +1,14 @@