mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 03:45:22 -04:00
77 lines
2.4 KiB
TypeScript
77 lines
2.4 KiB
TypeScript
import { env } from "../../lib/env";
|
|
import { JsonLd } from "react-schemaorg";
|
|
import PageTitle from "../../components/PageTitle";
|
|
import Link from "../../components/Link";
|
|
import Video from "../../components/Video";
|
|
import { createMetadata } from "../../lib/helpers/metadata";
|
|
import type { VideoObject } from "schema-dts";
|
|
|
|
import thumbnail from "./thumbnail.png";
|
|
|
|
export const metadata = createMetadata({
|
|
title: 'Facebook App on "The Lab with Leo Laporte"',
|
|
description: "Powncer app featured in Leo Laporte's TechTV show.",
|
|
canonical: "/leo",
|
|
openGraph: {
|
|
videos: [
|
|
{
|
|
url: "https://ijyxfbpcm3itvdly.public.blob.vercel-storage.com/leo-uoCXHS9gViyRnQhr8CEGXFvj4VGh5Y.webm",
|
|
type: "video/webm",
|
|
},
|
|
],
|
|
},
|
|
});
|
|
|
|
const Page = () => {
|
|
return (
|
|
<>
|
|
<JsonLd<VideoObject>
|
|
item={{
|
|
"@context": "https://schema.org",
|
|
"@type": "VideoObject",
|
|
name: metadata.title as string,
|
|
description: metadata.description as string,
|
|
contentUrl: "https://ijyxfbpcm3itvdly.public.blob.vercel-storage.com/leo-uoCXHS9gViyRnQhr8CEGXFvj4VGh5Y.webm",
|
|
thumbnailUrl: `${env.NEXT_PUBLIC_BASE_URL}${thumbnail.src}`,
|
|
embedUrl: `${env.NEXT_PUBLIC_BASE_URL}/leo`,
|
|
uploadDate: "2007-05-10T00:00:00Z",
|
|
duration: "PT1M48S",
|
|
}}
|
|
/>
|
|
|
|
<PageTitle canonical="/leo">TheLab.mov</PageTitle>
|
|
|
|
<Video
|
|
src={[
|
|
"https://ijyxfbpcm3itvdly.public.blob.vercel-storage.com/leo-uoCXHS9gViyRnQhr8CEGXFvj4VGh5Y.webm",
|
|
"https://ijyxfbpcm3itvdly.public.blob.vercel-storage.com/leo-Blp1bsf872vuY05LuSw7fjZBHURWT1.mp4",
|
|
"https://ijyxfbpcm3itvdly.public.blob.vercel-storage.com/leo.en-TsoyI7XMA10Uaj8EFZV1bQ65At35gz.vtt",
|
|
]}
|
|
poster={thumbnail.src}
|
|
/>
|
|
|
|
<p
|
|
style={{
|
|
textAlign: "center",
|
|
fontSize: "0.9em",
|
|
lineHeight: 1.8,
|
|
margin: "1.25em 1em 0 1em",
|
|
color: "var(--color-gray-500)",
|
|
}}
|
|
>
|
|
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;
|