This commit is contained in:
Bozhidar 2024-05-17 21:43:56 +03:00
parent ab11e22ae1
commit 3284412b68
4 changed files with 22 additions and 8 deletions

View file

@ -0,0 +1,15 @@
<script setup>
import { useData } from 'vitepress'
const { page } = useData()
</script>
<template>
<div v-if="page.isNotFound">
Custom 404 page!
</div>
<Content v-else />
</template>

View file

@ -2,6 +2,7 @@
import { h } from 'vue'
import DefaultTheme from 'vitepress/theme'
import './style.css'
import Clean from './Clean.vue'
/** @type {import('vitepress').Theme} */
export default {
@ -12,6 +13,6 @@ export default {
})
},
enhanceApp({ app, router, siteData }) {
// ...
app.component('clean', Clean)
}
}

View file

@ -45,10 +45,10 @@
:root {
--vp-c-yellow-1: #fcd535;
--vp-c-yellow-2: #fcd535;
--vp-c-yellow-3: #f8bd20;
--vp-c-yellow-soft: #fcd535;
--vp-c-yellow-1: #deb81c;
--vp-c-yellow-2: #deb81c;
--vp-c-yellow-3: #deb81c;
--vp-c-yellow-soft: #deb81c;
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);

View file

@ -1,9 +1,7 @@
---
layout: page
layout: clean
title: The Team
---
<script setup>
import { VPTeamPage, VPTeamPageTitle, VPTeamPageSection, VPTeamMembers } from "vitepress/theme";
import { teamMembers } from "./_data/team";