Compare commits

...

3 commits

Author SHA1 Message Date
Korbs
a5a14d1226 Apply Zorn to layouts 2024-11-30 23:55:34 -05:00
Korbs
394d0e004b Add Zorn to demo components page 2024-11-30 23:55:24 -05:00
Korbs
b56765bda5 Update packages, install Zorn 2024-11-30 23:55:16 -05:00
4 changed files with 28 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{
"name": "butterflyvu",
"type": "module",
"version": "0.1.3",
"version": "0.1.4",
"license": "GPL-3.0-only",
"author": {
"name": "SudoVanilla"
@ -32,11 +32,12 @@
"docker:push": "docker push ark.sudovanilla.org/korbs/butterflyvu:amd64"
},
"dependencies": {
"@astrojs/mdx": "4.0.0-beta.2",
"@astrojs/prism": "3.0.0-beta.0",
"astro": "5.0.0-beta.5",
"@astrojs/mdx": "4.0.0-beta.5",
"@astrojs/prism": "3.2.0-beta.0",
"@minpluto/zorn": "^0.4.71",
"astro": "5.0.0-beta.12",
"astro-analytics": "^2.7.0",
"astro-breadcrumbs": "^3.2.0",
"astro-breadcrumbs": "^3.2.2",
"astro-bun-adapter": "^1.0.2",
"astro-feelback": "^0.3.4",
"astro-pagefind": "^1.6.0",
@ -44,6 +45,6 @@
"markdoc": "^0.1.3"
},
"devDependencies": {
"sass": "^1.80.4"
"sass": "^1.81.0"
}
}

View file

@ -4,6 +4,7 @@ Title: Components
---
import { Prism } from '@astrojs/prism';
import { Zorn } from "@minpluto/zorn";
Documentation template for the Astro Web Framework.
@ -80,3 +81,15 @@ This is the source code to the splash template layout.
<video controls src="https://md.sudovanilla.org/videos/webm/Ennie-and-Yoyki.webm" poster="https://md.sudovanilla.org/images/eay-p-v.jpg"></video>
The source of both videos above are on a network with limited upload speed, the buffer rate is high.
## Zorn
<Zorn
Poster="https://md.sudovanilla.org/images/eay-p-v.jpg"
Video="https://md.sudovanilla.org/videos/webm/Ennie-and-Yoyki.webm"
Milieu
BigPlayButton
/>
The source of both videos above are on a network with limited upload speed, the buffer rate is high.

View file

@ -11,6 +11,7 @@ import Head from '@components/global/Head.astro'
import Header from '@components/global/Header.astro'
import Sidebar from '@components/Sidebar.astro'
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro"
import {Zorn} from "@minpluto/zorn"
// Styles
import "@styles/index.scss"
@ -45,6 +46,8 @@ import "@styles/prism.css"
} -->
</div>
</article>
<Zorn is:raw PlayerName="zorn_null" Poster="#" Video="#"/>
<div class="footer">
<div class="footer-start">
<p>© {SiteSettings.OrgName}. All right reserved.</p>
@ -63,3 +66,6 @@ import "@styles/prism.css"
</div>
</div>
</div>
<!-- Zorn is broken if a player is not already set -->
<style is:global>#zorn-player-zorn_null {display: none}</style>

View file

@ -10,6 +10,7 @@ const { frontmatter } = Astro.props
import Head from '@components/global/Head.astro'
import Header from '@components/global/Header.astro'
import FeelbackYesNo from "astro-feelback/components/FeelbackYesNo.astro";
import {Zorn} from "@minpluto/zorn"
// Styles
import "@styles/index.scss";