Working and fixing production bugs

This commit is contained in:
2021-08-25 12:28:57 +02:00
parent 5d5641b25a
commit 8732f7c117
9 changed files with 248 additions and 23 deletions

View File

@@ -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;
}

View File

@@ -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()

View File

@@ -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

View File

@@ -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}"
>
<Announcement />
<Announce />
<Header />
<Nuxt class="z-10 pt-16 content"/>
<Footer />

View File

@@ -8,7 +8,8 @@ export default async function ({redirect, route, $axios}: Context) {
}
})
if (response.status === 200) {
isMaintenance = response.data.maintenance.active === 1
//isMaintenance = response.data.maintenance.active === 1 todo remove
isMaintenance = false
}
if(isMaintenance){
return redirect('/maintenance')

View File

@@ -1,7 +1,7 @@
<template>
<main class="flex flex-col items-center mb-8 px-4 xl:px-32">
<Banner />
<About />
<AboutHome />
<PostsHome />
<ProjectsHome />
<AdHome />