Files
repomix/website/client/.vitepress/theme/index.ts
Kazuki Yamada f58f973e36 refactor(website): Replace global YouTubeVideo registration with direct imports
- 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
2025-06-08 17:01:03 +09:00

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;