Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed May 17, 2024
1 parent ab11e22 commit 3284412
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
15 changes: 15 additions & 0 deletions docs/.vitepress/theme/Clean.vue
Original file line number Diff line number Diff line change
@@ -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>

3 changes: 2 additions & 1 deletion docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -12,6 +13,6 @@ export default {
})
},
enhanceApp({ app, router, siteData }) {
// ...
app.component('clean', Clean)
}
}
8 changes: 4 additions & 4 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 1 addition & 3 deletions docs/team.md
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit 3284412

Please sign in to comment.