corp feature loop front & center

This commit is contained in:
tim
2025-05-19 16:48:47 -04:00
parent 5d34766105
commit 4b6b40fa9b
12 changed files with 22 additions and 16 deletions

BIN
media/banner-3-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
media/video/dca.mov Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
media/video/supercut.mov Normal file

Binary file not shown.

View File

@@ -111,6 +111,7 @@ export default defineConfig({
footer: { footer: {
copyright: `© ${new Date().getFullYear()} Dexorder Trading Services Ltd. (BVI)`, copyright: `© ${new Date().getFullYear()} Dexorder Trading Services Ltd. (BVI)`,
message: 'Contact us <a href="mailto:info@dexorder.com">info@dexorder.com</a>'
}, },
}, },

View File

@@ -3,14 +3,16 @@ 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 IntroVideoAutoplay from "../../components/IntroVideoAutoplay.vue"; import FeatureVideoLoop from "../../components/FeatureVideoLoop.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-actions-after': () => h(IntroVideoAutoplay), 'home-hero-info-after': () => h(FeatureVideoLoop),
'home-features-after': () => h(IntroVideo),
}) })
}, },
enhanceApp({ app, router, siteData }) { enhanceApp({ app, router, siteData }) {

View File

@@ -0,0 +1,8 @@
<template>
<div style="display: flex; margin: 2em 0">
<video width="500" autoplay loop muted>
<source src="/supercut.mov" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div>
</template>

View File

@@ -1,11 +1,13 @@
<template> <template>
<div style="margin-top: 1.5em; margin-bottom: 1.5em;"> <div style="display: flex; flex-direction: column; align-items: center">
<div style="margin: 1.5em auto; display: inline-block">
<!-- NOTE: <!-- NOTE:
add ?autoplay=1 to the src query string add ?autoplay=1 to the src query string
add enablejsapi=1 to query to allow video play tracking in the page's Google Analytics add enablejsapi=1 to query to allow video play tracking in the page's Google Analytics
--> -->
<iframe style="display: inline-block" width="560" height="315" :src="`https://www.youtube.com/embed/${idAndSi}&enablejsapi=1&autoplay=${autoplay?'1':'0'}`" title="Dexorder on YouTube" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> <iframe style="display: inline-block" width="560" height="315" :src="`https://www.youtube.com/embed/${idAndSi}&enablejsapi=1&autoplay=${autoplay?'1':'0'}`" title="Dexorder on YouTube" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div> </div>
</div>
</template> </template>
<script setup> <script setup>

View File

@@ -1,7 +0,0 @@
<template>
<intro-video/>
</template>
<script setup>
import IntroVideo from "./IntroVideo.vue";
</script>

View File

@@ -72,6 +72,6 @@ a.VPButton-medium-brand:hover {
</style> </style>
<div style="text-align: center; margin-top: 2rem;"> <div style="text-align: center; margin-top: 2rem;">
<a class="VPButton-medium-brand" href="https://dexorder.com/" target="dexorder-app">Launch App</a> <a class="VPButton-medium-brand" href="https://app.dexorder.com/" target="dexorder-app">Launch App</a>
</div> </div>

BIN
src/public/supercut.mov Normal file

Binary file not shown.