1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 12:56:21 -04:00
jarv.is/pages/birthday.tsx

50 lines
1.4 KiB
TypeScript

import Layout from "../components/Layout";
import Container from "../components/Container";
import Content from "../components/Content";
import PageTitle from "../components/page/PageTitle";
import Video from "../components/video/FullPageVideo";
import TapeIcon from "../components/icons/svg/tape.svg";
import thumbnail from "../public/static/images/birthday/thumb.png";
export default function Birthday() {
return (
<>
<Layout>
<Container
title="🎉 Cranky Birthday Boy on VHS Tape 📼"
description="The origin of my hatred for the Happy Birthday song."
>
<PageTitle
title={
<>
<TapeIcon /> 1996.MOV
</>
}
/>
<Content>
<Video
url={[
{ src: "/static/images/birthday/birthday.webm", type: "video/webm" },
{ src: "/static/images/birthday/birthday.mp4", type: "video/mp4" },
]}
config={{
// @ts-ignore
file: {
attributes: {
poster: thumbnail.src,
controlsList: "nodownload",
preload: "metadata",
autoPlay: false,
},
},
}}
controls={true}
/>
</Content>
</Container>
</Layout>
</>
);
}