docs: update layout file

This commit is contained in:
braks
2022-08-01 21:10:14 +02:00
committed by Braks
parent f17bd16665
commit 586bf5d41d
2 changed files with 8 additions and 12 deletions
+7 -1
View File
@@ -1,10 +1,16 @@
import type { Theme } from 'vitepress'
import VueAnimXyz from '@animxyz/vue3'
import DefaultTheme from 'vitepress/theme'
import '../../assets/index.css'
import Layout from './layouts/default.vue'
import 'virtual:windi.css'
import '@animxyz/core'
import '@braks/vue-flow/dist/style.css'
import '@braks/vue-flow/dist/theme-default.css'
import './../../assets/index.css'
const CustomTheme = {
...DefaultTheme,
Layout,
enhanceApp: ({ app }) => {
app.use(VueAnimXyz)
},
+1 -11
View File
@@ -1,11 +1,3 @@
<script>
import 'virtual:windi.css'
import '@animxyz/core'
import '@braks/vue-flow/dist/style.css'
import '@braks/vue-flow/dist/theme-default.css'
import '../../assets/index.css'
</script>
<script setup>
import DefaultTheme from 'vitepress/theme'
import ReactIcon from '~icons/logos/react'
@@ -76,8 +68,6 @@ const { Layout: ParentLayout } = DefaultTheme
<style>
.page-footer {
@apply dark:(text-white bg-black) pt-[2rem] text-center;
border-top: 1px solid var(--c-border);
transition: border-color var(--t-color);
@apply py-4 text-center;
}
</style>