diff --git a/src/.vitepress/theme/HeroVideo.vue b/src/.vitepress/theme/HeroVideo.vue new file mode 100644 index 0000000..e703c60 --- /dev/null +++ b/src/.vitepress/theme/HeroVideo.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/.vitepress/theme/index.ts b/src/.vitepress/theme/index.ts index 4abbc8f..15fc921 100644 --- a/src/.vitepress/theme/index.ts +++ b/src/.vitepress/theme/index.ts @@ -3,12 +3,14 @@ import { h } from 'vue' import type { Theme } from 'vitepress' import DefaultTheme from 'vitepress/theme-without-fonts' // WITHOUT fonts import './style.css' +import HeroVideo from "./HeroVideo.vue"; export default { extends: DefaultTheme, Layout: () => { return h(DefaultTheme.Layout, null, { // https://vitepress.dev/guide/extending-default-theme#layout-slots + 'home-hero-info-after': () => h(HeroVideo), }) }, enhanceApp({ app, router, siteData }) { diff --git a/src/index.md b/src/index.md index 56c4ed1..ab9fbd1 100644 --- a/src/index.md +++ b/src/index.md @@ -14,7 +14,7 @@ hero: - theme: alt text: Documentation link: /introduction - image: /dexorder-diag-hero.png +# image: /dexorder-diag-hero.png # light: /dexorder_full_lightmode.svg # dark: /dexorder_full_darkmode.svg @@ -45,4 +45,3 @@ features: details: Running on Arbitrum One means orders trade fast with cheap gas. More L2's coming soon. --- -