Force image sizes with image proxy, use new Hero component

This commit is contained in:
Korbs 2024-12-04 14:03:20 -05:00
parent e749cfdb95
commit fb06f99b4a

View file

@ -3,24 +3,22 @@
import Default from "@layouts/Default.astro";
// Components
import Hero from "@components/Hero.astro";
import { CallToAction } from "@sudovanilla/pandora";
import { CallToAction, Hero } from "@sudovanilla/pandora";
---
<Default MobileTitle="SudoVanilla" NoSubHeader>
<Fragment slot="body">
<Hero
Title="SudoVanilla"
Description="Counting on the Open Web"
UseImage
Image="https://md.sudovanilla.org/images/pexels-asphotograpy-94842.jpg"
Credit="Green Pine Trees. Shot by AS Photography on Pexels."
Description="Counting on the Open Web"8
ImageSource="https://image.proxy.sudovanilla.org/1200,fit/https://md.sudovanilla.org/images/pexels-asphotograpy-94842.jpg"
ImageAlt="Green Pine Trees. Shot by AS Photography on Pexels."
/>
<CallToAction
Title="Instances"
Description="Clients, services, and frontends hosted by SudoVanilla"
ImageSource="https://md.sudovanilla.org/images/8108969777692270658741264896182357708404070882901004771113430719.png"
ImageSource="https://image.proxy.sudovanilla.org/560,fit/https://md.sudovanilla.org/images/8108969777692270658741264896182357708404070882901004771113430719.png"
ImageAlt="Image"
PrimaryActionText="View Instances"
PrimaryAction="/instances"
@ -29,7 +27,7 @@ import { CallToAction } from "@sudovanilla/pandora";
<CallToAction
Title="MinPluto"
Description="SudoVanilla Studio"
ImageSource="https://md.sudovanilla.org/images/mp-ba-1.png"
ImageSource="https://image.proxy.sudovanilla.org/560,fit/https://md.sudovanilla.org/images/mp-ba-1.png"
ImageAlt="Image"
PrimaryActionText="View Website"
PrimaryAction="https://studio.sudovanilla.org/"
@ -38,7 +36,7 @@ import { CallToAction } from "@sudovanilla/pandora";
<CallToAction
Title="Zorn Player"
Description="Video Player for Astro"
ImageSource="https://md.sudovanilla.org/images/Screenshot From 2024-12-03 22-07-36.png"
ImageSource="https://image.proxy.sudovanilla.org/560,fit/https://md.sudovanilla.org/images/Screenshot From 2024-12-03 22-07-36.png"
ImageAlt="Image"
PrimaryActionText="Documentation"
PrimaryAction="/docs/zorn/introduction/"
@ -47,7 +45,7 @@ import { CallToAction } from "@sudovanilla/pandora";
<CallToAction
Title="ButterflyVu"
Description="Documention Site"
ImageSource="https://md.sudovanilla.org/images/pexels-pixabay-326055.jpg"
ImageSource="https://image.proxy.sudovanilla.org/560,fit/https://md.sudovanilla.org/images/pexels-pixabay-326055.jpg"
ImageAlt="Image"
PrimaryActionText="Source Code"
PrimaryAction="https://ark.sudovanilla.org/Korbs/butterflyvu"
@ -56,11 +54,12 @@ import { CallToAction } from "@sudovanilla/pandora";
<CallToAction
Title="Init Privacy"
Description="Taking Back Control"
ImageSource="https://md.sudovanilla.org/images/6560385685.png"
ImageSource="https://image.proxy.sudovanilla.org/560,fit/https://md.sudovanilla.org/images/6560385685.png"
ImageAlt="Image"
PrimaryActionText="Source Code"
PrimaryAction="https://ark.sudovanilla.org/Korbs/butterflyvu"
Label="Development Paused"
LabelType="Note"
/>
<CallToAction
@ -71,6 +70,7 @@ import { CallToAction } from "@sudovanilla/pandora";
PrimaryActionText="Source Code"
PrimaryAction="https://ark.sudovanilla.org/Korbs/butterflyvu"
Label="Discontinued"
LabelType="Warning"
/>
</Fragment>
</Default>