From 8732f7c1179bd69ac8b68377e20cb8b8ffed9b7a Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 25 Aug 2021 12:28:57 +0200 Subject: [PATCH] Working and fixing production bugs --- package.json | 6 +- src/assets/css/style.scss | 4 - src/components/{About.vue => AboutHome.vue} | 2 +- src/components/Banner.vue | 2 +- src/layouts/default.vue | 2 +- src/middlewares/maintenance.ts | 3 +- src/pages/index.vue | 2 +- windi.config.ts | 2 +- yarn.lock | 248 +++++++++++++++++++- 9 files changed, 248 insertions(+), 23 deletions(-) rename src/components/{About.vue => AboutHome.vue} (98%) diff --git a/package.json b/package.json index 91f6393..64c4440 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "scripts": { "dev": "nuxt", "build": "nuxt build", - "start": "nuxt start" + "start": "nuxt start", + "analyse": "windicss-analysis" }, "dependencies": { "@nuxt/content": "^1.14.0", @@ -31,6 +32,7 @@ "@nuxtjs/color-mode": "^2.1.1", "markdown-it-prism": "^2.1.8", "nuxt-windicss": "^1.2.3", - "sass-loader": "10.1.1" + "sass-loader": "10.1.1", + "windicss-analysis": "^0.3.4" } } diff --git a/src/assets/css/style.scss b/src/assets/css/style.scss index 9005dde..8357e6a 100755 --- a/src/assets/css/style.scss +++ b/src/assets/css/style.scss @@ -14,10 +14,6 @@ body { @apply dark:bg-black dark:text-white } -* { - font-family: 'Raleway', sans-serif; -} - .nuxt-content-editor { @apply dark:(bg-dark-800 text-white) border dark:border-white border-black border-solid; } diff --git a/src/components/About.vue b/src/components/AboutHome.vue similarity index 98% rename from src/components/About.vue rename to src/components/AboutHome.vue index 59fc6c0..b37a11f 100644 --- a/src/components/About.vue +++ b/src/components/AboutHome.vue @@ -23,7 +23,7 @@ import {defineComponent, useAsync, useContext} from "@nuxtjs/composition-api"; export default defineComponent({ - name: "About", + name: "AboutHome", setup() { const {$axios, $sentry, app} = useContext() diff --git a/src/components/Banner.vue b/src/components/Banner.vue index a122e78..ccc06d1 100755 --- a/src/components/Banner.vue +++ b/src/components/Banner.vue @@ -58,7 +58,7 @@ export default defineComponent({ } .color { - @apply duration-500 text-white dark:text-black font-color; + @apply duration-500 text-white dark:text-black font-black font-color; &.red { @apply select-text bg-clip-text text-transparent bg-gradient-to-r from-red-600 to-rose-300 diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 04faa94..9bbeb70 100755 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -13,7 +13,7 @@ class="min-h-screen relative z-50 bg-white dark:bg-black w-full min-w-screen pb-20 xl:pb-0 duration-300" :class="{'cursor-pointer': opened}" > - +