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

@@ -15,44 +15,46 @@ const Copyright = styled("p", {
color: "$mediumLight",
});
const Hillary = () => (
<>
<NextSeo
title="My Brief Apperance in Hillary Clinton's DNC Video"
description="My brief apperance in one of Hillary Clinton's 2016 DNC convention videos on substance abuse."
openGraph={{
title: "My Brief Apperance in Hillary Clinton's DNC Video",
}}
/>
<PageTitle>My Brief Apperance in Hillary Clinton's DNC Video</PageTitle>
<Content>
<Video
src={{
webm: "/static/images/hillary/convention-720p.webm",
mp4: "/static/images/hillary/convention-720p.mp4",
const Hillary = () => {
return (
<>
<NextSeo
title="My Brief Apperance in Hillary Clinton's DNC Video"
description="My brief apperance in one of Hillary Clinton's 2016 DNC convention videos on substance abuse."
openGraph={{
title: "My Brief Apperance in Hillary Clinton's DNC Video",
}}
thumbnail={thumbnail.src}
subs="/static/images/hillary/subs.en.vtt"
/>
<Copyright>
Video is property of{" "}
<Link href="https://www.hillaryclinton.com/" css={{ fontWeight: 700 }}>
Hillary for America
</Link>
, the{" "}
<Link href="https://democrats.org/" css={{ fontWeight: 700 }}>
Democratic National Committee
</Link>
, and{" "}
<Link href="https://cnnpressroom.blogs.cnn.com/" css={{ fontWeight: 700 }}>
CNN / WarnerMedia
</Link>
. &copy; 2016.
</Copyright>
</Content>
</>
);
<PageTitle>My Brief Apperance in Hillary Clinton's DNC Video</PageTitle>
<Content>
<Video
src={{
webm: "/static/images/hillary/convention-720p.webm",
mp4: "/static/images/hillary/convention-720p.mp4",
}}
thumbnail={thumbnail.src}
subs="/static/images/hillary/subs.en.vtt"
/>
<Copyright>
Video is property of{" "}
<Link href="https://www.hillaryclinton.com/" css={{ fontWeight: 700 }}>
Hillary for America
</Link>
, the{" "}
<Link href="https://democrats.org/" css={{ fontWeight: 700 }}>
Democratic National Committee
</Link>
, and{" "}
<Link href="https://cnnpressroom.blogs.cnn.com/" css={{ fontWeight: 700 }}>
CNN / WarnerMedia
</Link>
. &copy; 2016.
</Copyright>
</Content>
</>
);
};
export default Hillary;