mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 23:20:24 +00:00
update
This commit is contained in:
parent
ab11e22ae1
commit
3284412b68
4 changed files with 22 additions and 8 deletions
15
docs/.vitepress/theme/Clean.vue
Normal file
15
docs/.vitepress/theme/Clean.vue
Normal 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>
|
||||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue