1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 20:55:47 -04:00

refactor component/page function returns

This commit is contained in:
2022-05-25 09:30:11 -04:00
parent ff96ccae44
commit 1e1ecd89ea
31 changed files with 2347 additions and 2281 deletions

View File

@@ -5,28 +5,30 @@ import Video from "../components/Video";
import thumbnail from "../public/static/images/birthday/thumb.png";
const Birthday = () => (
<>
<NextSeo
title="🎉 Cranky Birthday Boy on VHS Tape 📼"
description="The origin of my hatred for the Happy Birthday song."
openGraph={{
title: "🎉 Cranky Birthday Boy on VHS Tape 📼",
}}
/>
<PageTitle>📼 1996.MOV</PageTitle>
<Content>
<Video
src={{
webm: "/static/images/birthday/birthday.webm",
mp4: "/static/images/birthday/birthday.mp4",
const Birthday = () => {
return (
<>
<NextSeo
title="🎉 Cranky Birthday Boy on VHS Tape 📼"
description="The origin of my hatred for the Happy Birthday song."
openGraph={{
title: "🎉 Cranky Birthday Boy on VHS Tape 📼",
}}
thumbnail={thumbnail.src}
/>
</Content>
</>
);
<PageTitle>📼 1996.MOV</PageTitle>
<Content>
<Video
src={{
webm: "/static/images/birthday/birthday.webm",
mp4: "/static/images/birthday/birthday.mp4",
}}
thumbnail={thumbnail.src}
/>
</Content>
</>
);
};
export default Birthday;