mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:48:31 -04:00
67 lines
1.9 KiB
TypeScript
67 lines
1.9 KiB
TypeScript
import { JsonLd } from "react-schemaorg";
|
|
import PageTitle from "../../components/PageTitle";
|
|
import Link from "../../components/Link";
|
|
import Video from "../../components/Video";
|
|
import { addMetadata } from "../../lib/helpers/metadata";
|
|
import { BASE_URL } from "../../lib/config/constants";
|
|
import type { VideoObject } from "schema-dts";
|
|
|
|
import mp4 from "./leo.mp4";
|
|
import webm from "./leo.webm";
|
|
import subtitles from "./subs.en.vtt";
|
|
import thumbnail from "./thumbnail.png";
|
|
|
|
export const metadata = addMetadata({
|
|
title: 'Facebook App on "The Lab with Leo Laporte"',
|
|
description: "Powncer app featured in Leo Laporte's TechTV show.",
|
|
alternates: {
|
|
canonical: "/leo",
|
|
},
|
|
});
|
|
|
|
const Page = () => {
|
|
return (
|
|
<>
|
|
<JsonLd<VideoObject>
|
|
item={{
|
|
"@context": "https://schema.org",
|
|
"@type": "VideoObject",
|
|
name: metadata.title as string,
|
|
description: metadata.description as string,
|
|
contentUrl: `${BASE_URL}${webm}`,
|
|
thumbnailUrl: `${BASE_URL}${thumbnail.src}`,
|
|
embedUrl: `${BASE_URL}/leo`,
|
|
uploadDate: "2007-05-10T00:00:00Z",
|
|
duration: "PT1M48S",
|
|
}}
|
|
/>
|
|
|
|
<PageTitle canonical="/leo">TheLab.mov</PageTitle>
|
|
|
|
<Video src={[webm, mp4, subtitles]} poster={thumbnail.src} />
|
|
|
|
<p
|
|
style={{
|
|
textAlign: "center",
|
|
fontSize: "0.9em",
|
|
lineHeight: 1.8,
|
|
margin: "1.25em 1em 0 1em",
|
|
color: "var(--colors-medium-light)",
|
|
}}
|
|
>
|
|
Video is property of{" "}
|
|
<Link href="https://web.archive.org/web/20070511004304/www.g4techtv.ca" style={{ fontWeight: 700 }}>
|
|
G4techTV Canada
|
|
</Link>{" "}
|
|
&{" "}
|
|
<Link href="https://leo.fm/" style={{ fontWeight: 700 }}>
|
|
Leo Laporte
|
|
</Link>
|
|
. © 2007 G4 Media, Inc.
|
|
</p>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Page;
|