| 1 | --- |
| 2 | import PageLayout from "@/layouts/Base.astro"; |
| 3 | |
| 4 | const meta = { |
| 5 | title: "/videos", |
| 6 | description: "Video content made by Steve Simkins", |
| 7 | }; |
| 8 | |
| 9 | const videoIds = [ |
| 10 | "YWlXcZlqrfA", |
| 11 | "TSo6pDU85dw", |
| 12 | "lhJwEckGi4U", |
| 13 | "kMALubK72Q8", |
| 14 | "GlpfIherX7U", |
| 15 | "KpwCP1Xil-Q", |
| 16 | ]; |
| 17 | --- |
| 18 | |
| 19 | <PageLayout meta={meta}> |
| 20 | <div class="space-y-6"> |
| 21 | <h1 class="title">/videos</h1> |
| 22 | <p>Here are some samples of video content I've produced to help users!</p> |
| 23 | { |
| 24 | videoIds.map((id) => ( |
| 25 | <div class="relative w-full" style="padding-bottom: 73.17%;"> |
| 26 | <iframe |
| 27 | class="absolute left-0 top-0 h-full w-full" |
| 28 | src={`https://www.youtube.com/embed/${id}`} |
| 29 | title="YouTube video player" |
| 30 | frameborder="0" |
| 31 | allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" |
| 32 | referrerpolicy="strict-origin-when-cross-origin" |
| 33 | allowfullscreen |
| 34 | /> |
| 35 | </div> |
| 36 | )) |
| 37 | } |
| 38 | </div> |
| 39 | </PageLayout> |