LeConte deployments page complete, better auto-formatting and import sorting, new inline link, popover definitions, and paragraph components, improvements to component interfaces
Some checks failed
Build and Test - Staging / test (pull_request) Failing after 2m31s
Build and Test - Staging / build_and_push (pull_request) Has been skipped
Build and Test - Staging / deploy_staging (pull_request) Has been skipped

This commit is contained in:
2025-12-05 01:02:18 -08:00
parent 91cd9af0f8
commit 3aa75e1a10
46 changed files with 617 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
import {
Carousel,
type CarouselItem,
type CarouselInterface,
type CarouselItem,
type CarouselOptions,
type IndicatorItem,
Modal,

View File

@@ -1,11 +1,34 @@
---
import { type videoConfig } from "@interfaces/video.ts";
interface Props {
videoPath: string;
videoType?: string;
const config: videoConfig = Astro.props.videoConfig;
console.log(config);
controls?: boolean;
autoPlay?: boolean;
loop?: boolean;
playsInline?: boolean;
}
const {
videoPath,
videoType = "video/mp4",
controls = true,
autoPlay = false,
loop = false,
playsInline = false,
} = Astro.props;
---
<video class="h-auto w-full max-w-1/2" controls>
<source src={config.videoPath} type={config.videoType ?? "video/mp4"} />
Your browser does not support the video tag.
</video>
<div class="mx-auto my-auto">
<video
class="h-auto w-full"
controls={controls}
autoplay={autoPlay}
loop={loop}
playsinline={playsInline}
>
<source src={videoPath} type={videoType} />
Your browser does not support the video tag.
</video>
</div>