mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-21 07:21:47 +01:00
Working and fixing production bugs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user