mirror of
https://github.com/amir20/dozzle.git
synced 2026-08-07 10:04:45 +00:00
48f04a0a7d
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
// https://vitepress.dev/guide/custom-theme
|
|
import { h } from "vue";
|
|
import DefaultTheme from "vitepress/theme";
|
|
import { Icon } from "@iconify/vue";
|
|
|
|
import "@fontsource-variable/playfair-display";
|
|
import "./style.css";
|
|
import HeroVideo from "./components/HeroVideo.vue";
|
|
import BuyMeCoffee from "./components/BuyMeCoffee.vue";
|
|
import Stats from "./components/Stats.vue";
|
|
import HeroTrust from "./components/HeroTrust.vue";
|
|
import Supported from "./components/Supported.vue";
|
|
import InstallCommand from "./components/InstallCommand.vue";
|
|
import WhyDozzle from "./components/WhyDozzle.vue";
|
|
import Testimonials from "./components/Testimonials.vue";
|
|
import FinalCta from "./components/FinalCta.vue";
|
|
import SponsoredBy from "./components/SponsoredBy.vue";
|
|
|
|
export default {
|
|
...DefaultTheme,
|
|
Layout: () => {
|
|
return h(DefaultTheme.Layout, null, {
|
|
"home-hero-image": () => h(HeroVideo),
|
|
"sidebar-nav-after": () => h(BuyMeCoffee),
|
|
"home-hero-actions-after": () => [h(Stats), h(HeroTrust)],
|
|
"home-hero-after": () => [h(InstallCommand), h(Supported)],
|
|
"home-features-after": () => [h(WhyDozzle), h(Testimonials), h(FinalCta), h(SponsoredBy)],
|
|
});
|
|
},
|
|
enhanceApp(ctx) {
|
|
DefaultTheme.enhanceApp(ctx);
|
|
ctx.app.component("Icon", Icon);
|
|
},
|
|
};
|