homepage video

This commit is contained in:
tim
2025-03-13 16:02:42 -04:00
parent 48ad37f105
commit 00594c8125
3 changed files with 6 additions and 3 deletions

View File

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

View File

@@ -1,6 +1,9 @@
<script setup>
import IntroVideo from "./components/IntroVideo.vue"
</script>
# What is Dexorder? # What is Dexorder?
<iframe width="560" height="315" src="https://www.youtube.com/embed/hY0zFFLjsUI?si=1ws5B_JiAtt0d5I9" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> <IntroVideo/>
Dexorder is an on-chain system providing advanced order management for DeFi traders. Dexorder is noncustodial and runs on the [Arbitrum One](https://arbitrum.io/) network (more L2's coming soon). Dexorder is an on-chain system providing advanced order management for DeFi traders. Dexorder is noncustodial and runs on the [Arbitrum One](https://arbitrum.io/) network (more L2's coming soon).