mirror of
https://github.com/yamadashy/repomix.git
synced 2025-06-11 00:25:54 +03:00
- Remove YouTubeVideo global component registration from VitePress theme - Add direct YouTubeVideo imports in all language versions of index.md and guide/index.md - Update video ID usage to centralized VIDEO_IDS.REPOMIX_DEMO constant - Improve component modularity and maintainability across 24 documentation files
17 lines
461 B
TypeScript
17 lines
461 B
TypeScript
import type { Theme } from 'vitepress';
|
|
import DefaultTheme from 'vitepress/theme';
|
|
import { h } from 'vue';
|
|
import Home from '../../components/Home.vue';
|
|
import HomeBadges from '../../components/HomeBadges.vue';
|
|
import './custom.css';
|
|
|
|
export default {
|
|
extends: DefaultTheme,
|
|
Layout: () => {
|
|
return h(DefaultTheme.Layout, null, {
|
|
'home-hero-after': () => h(Home),
|
|
'home-features-after': () => h(HomeBadges),
|
|
});
|
|
},
|
|
} satisfies Theme;
|