feat: redesign homepage

This commit is contained in:
taskylizard 2024-08-31 18:17:01 +00:00
parent 76d6ed95cf
commit c8a8f4192e
No known key found for this signature in database
GPG key ID: 1820131ED1A24120
40 changed files with 694 additions and 139 deletions

View file

@ -15,13 +15,14 @@
*/
import type { Theme } from 'vitepress'
import Components from '@fmhy/components'
import DefaultTheme from 'vitepress/theme'
import { loadProgress } from './composables/nprogress'
import Layout from './Layout.vue'
import Post from './PostLayout.vue'
import './style.scss'
import 'uno.css'
import 'virtual:uno.css'
import Feedback from './components/Feedback.vue'
@ -29,6 +30,7 @@ export default {
extends: DefaultTheme,
Layout,
enhanceApp({ router, app }) {
app.use(Components)
app.component('Post', Post)
app.component('Feedback', Feedback)
loadProgress(router)