From 0648d120f5dbc98b939c57c1d7a84012e8b92125 Mon Sep 17 00:00:00 2001 From: Oracle Date: Mon, 8 Jan 2024 13:10:59 +0000 Subject: [PATCH] =?UTF-8?q?:fire:=20feat:=20=EA=B4=91=EA=B3=A0=20=EC=86=94?= =?UTF-8?q?=EB=A3=A8=EC=85=98=EC=9D=84=20Google=20Adsense=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD,=20=EB=9D=BC=EC=9D=B4=EB=B8=8C=EB=9F=AC?= =?UTF-8?q?=EB=A6=AC=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .yarnrc.yml | 6 +-- app.html | 76 +++++++++++++++++++++++++++++++------ assets/styles/global.css | 2 +- components/Header.vue | 4 +- components/Navbar.vue | 14 +++---- pages/dashboard/index.vue | 2 +- pages/dashboard/members.vue | 4 +- pages/dashboard/verify.vue | 4 +- pages/servers.vue | 2 +- 9 files changed, 83 insertions(+), 31 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index 273a019..654cc35 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -5,15 +5,15 @@ enableGlobalCache: false nodeLinker: node-modules packageExtensions: - "@nuxt/components@*": + '@nuxt/components@*': dependencies: - consola: "*" + consola: '*' css-loader@*: dependencies: webpack: ^4.27.0 eslint-config-prettier@*: dependencies: - eslint: ">=7.0.0" + eslint: '>=7.0.0' postcss-loader@*: dependencies: webpack: ^4.0.0 diff --git a/app.html b/app.html index bbb78e0..ff2e84d 100644 --- a/app.html +++ b/app.html @@ -4,20 +4,66 @@ {{ HEAD }} - + + + + + + + + + @@ -25,8 +71,14 @@ {{ APP }} - + diff --git a/assets/styles/global.css b/assets/styles/global.css index 16e697a..e588c8d 100644 --- a/assets/styles/global.css +++ b/assets/styles/global.css @@ -55,4 +55,4 @@ body { .vi { /* Vietnamese Fonts */ font-family: 'Be Vietnam Pro' !important; -} \ No newline at end of file +} diff --git a/components/Header.vue b/components/Header.vue index 897004e..36ea512 100644 --- a/components/Header.vue +++ b/components/Header.vue @@ -28,8 +28,8 @@ {{ $t('navbar.support') }} - - + + diff --git a/components/Navbar.vue b/components/Navbar.vue index a31b5f8..041e691 100644 --- a/components/Navbar.vue +++ b/components/Navbar.vue @@ -169,11 +169,11 @@
- - - - - + + + + + @@ -202,7 +202,7 @@ export default { this.server = ( await this.$axios.$get('/dashboard/servers?now=' + this.$route.query.id, { headers: { - Authorization: "Bearer " + localStorage.getItem('access_token'), + Authorization: 'Bearer ' + localStorage.getItem('access_token'), }, }) ).data @@ -444,7 +444,7 @@ export default { display: flex; flex-shrink: 0; align-items: center; - + width: 100%; padding: 0.7rem; cursor: pointer; diff --git a/pages/dashboard/index.vue b/pages/dashboard/index.vue index 7dd790b..5a91ea4 100644 --- a/pages/dashboard/index.vue +++ b/pages/dashboard/index.vue @@ -495,7 +495,7 @@ export default { this.summary = ( await this.$axios.$get('/dashboard/summary?id=' + this.$route.query.id, { headers: { - Authorization: "Bearer " + localStorage.getItem('access_token'), + Authorization: 'Bearer ' + localStorage.getItem('access_token'), }, }) ).data diff --git a/pages/dashboard/members.vue b/pages/dashboard/members.vue index ad47f28..d7edab0 100644 --- a/pages/dashboard/members.vue +++ b/pages/dashboard/members.vue @@ -189,7 +189,7 @@ export default { const memberList = ( await this.$axios.$get('/dashboard/members?id=' + this.$route.query.id, { headers: { - Authorization: "Bearer " + localStorage.getItem('access_token'), + Authorization: 'Bearer ' + localStorage.getItem('access_token'), }, }) ).data @@ -238,7 +238,7 @@ export default { }, { headers: { - Authorization: "Bearer " + localStorage.getItem('access_token'), + Authorization: 'Bearer ' + localStorage.getItem('access_token'), }, }, ) diff --git a/pages/dashboard/verify.vue b/pages/dashboard/verify.vue index 1874934..c51001f 100644 --- a/pages/dashboard/verify.vue +++ b/pages/dashboard/verify.vue @@ -191,8 +191,8 @@ export default { await this.$axios.$post( '/dashboard/verify?id=' + this.$route.query.id, { - status: this.switch_.confirm, - role: this.input.role, + status: this.switch_.confirm, + role: this.input.role, }, { headers: { diff --git a/pages/servers.vue b/pages/servers.vue index 68a4434..ac65c18 100644 --- a/pages/servers.vue +++ b/pages/servers.vue @@ -179,7 +179,7 @@ export default { const serverList = ( await this.$axios.$get('/dashboard/servers', { headers: { - Authorization: "Bearer " + localStorage.getItem('access_token'), + Authorization: 'Bearer ' + localStorage.getItem('access_token'), }, }) ).data