autoplay intro

This commit is contained in:
tim
2025-03-25 12:29:51 -04:00
parent a098e22e20
commit 14c4d0b9e0
3 changed files with 13 additions and 8 deletions

View File

@@ -3,14 +3,14 @@ import { h } from 'vue'
import type { Theme } from 'vitepress'
import DefaultTheme from 'vitepress/theme-without-fonts' // WITHOUT fonts
import './style.css'
import IntroVideo from "../../components/IntroVideo.vue";
import IntroVideoAutoplay from "../../components/IntroVideoAutoplay.vue";
export default {
extends: DefaultTheme,
Layout: () => {
return h(DefaultTheme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
'home-hero-actions-after': () => h(IntroVideo),
'home-hero-actions-after': () => h(IntroVideoAutoplay),
})
},
enhanceApp({ app, router, siteData }) {