Swap video

This commit is contained in:
Korbs 2024-11-29 16:01:18 -05:00
parent 7217afab3e
commit a38a49059e

View file

@ -6,6 +6,9 @@ import Default from "@layouts/Default.astro"
import Hero from "@components/Hero.astro" import Hero from "@components/Hero.astro"
import Feature from "@components/Feature.astro" import Feature from "@components/Feature.astro"
import {Zorn} from "@minpluto/zorn" import {Zorn} from "@minpluto/zorn"
// Fetch
const ping = await fetch("https://status.sudovanilla.org/json").then((response) => response.json()).catch(() => null)
--- ---
<Default Title="MinPluto" Description="SudoVanilla Studio focused on media technologies."> <Default Title="MinPluto" Description="SudoVanilla Studio focused on media technologies.">
@ -19,11 +22,11 @@ import {Zorn} from "@minpluto/zorn"
> >
<Zorn <Zorn
PlayerName="Hero" PlayerName="Hero"
Poster="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Poster.png" Poster="https://ocean.sudovanilla.org/media/videos/Wing%20It%21/poster.jpg"
Video="https://ocean.sudovanilla.org/media/videos/Ennie%20and%20Yoyki/Ennie%20and%20Yoyki:%20Non-Girly%20Games.mp4" Video="https://ocean.sudovanilla.org/media/videos/Wing%20It%21/WING%20IT%21%20-%20Blender%20Open%20Movie.mp4"
/> />
<span id="video-credit">Ennie and Yoyki</span> <span id="video-credit"><a href="https://studio.blender.org/projects/wing-it/">Wing it! - Blender Studio</a></span>
</Hero> </Hero>
<Feature <Feature
Title="Built for Astro" Title="Built for Astro"
@ -64,6 +67,13 @@ import {Zorn} from "@minpluto/zorn"
width: 80%; width: 80%;
display: inline-flex; display: inline-flex;
font-size: 12px; font-size: 12px;
a {
color: gray;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
} }
} }
</style> </style>