first commit

This commit is contained in:
Matt Kane
2026-04-01 10:44:22 +01:00
commit 43fcb9a131
1789 changed files with 395041 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
---
/**
* Vimeo embed component for Portable Text
*
* Wraps astro-embed's Vimeo component, extracting props from the PT block node.
* astro-portabletext passes `node` (not `value`) for custom type components.
*/
import { Vimeo as AstroVimeo } from "astro-embed";
import type { VimeoBlock } from "../schemas.js";
interface Props {
node: VimeoBlock;
}
const { node } = Astro.props;
const { id, poster, posterQuality, params, playlabel } = node;
---
<AstroVimeo
id={id}
poster={poster}
posterQuality={posterQuality}
params={params}
playlabel={playlabel}
/>