mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 12:58:28 -04:00
78 lines
2.4 KiB
TypeScript
78 lines
2.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 thumbnail from "../public/static/images/hillary/thumb.png";
|
|
|
|
const Hillary = () => (
|
|
<Layout>
|
|
<Container
|
|
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."
|
|
>
|
|
<PageTitle title="My Brief Apperance in Hillary Clinton's DNC Video" />
|
|
<Content>
|
|
<Video
|
|
url={[
|
|
{ src: "/static/images/hillary/convention-720p.webm", type: "video/webm" },
|
|
{ src: "/static/images/hillary/convention-720p.mp4", type: "video/mp4" },
|
|
]}
|
|
config={{
|
|
// @ts-ignore
|
|
file: {
|
|
attributes: {
|
|
poster: thumbnail.src,
|
|
controlsList: "nodownload",
|
|
preload: "metadata",
|
|
autoPlay: false,
|
|
},
|
|
tracks: [
|
|
{
|
|
kind: "subtitles",
|
|
src: "/static/images/hillary/subs.en.vtt",
|
|
srcLang: "en",
|
|
label: "English",
|
|
default: true,
|
|
},
|
|
],
|
|
},
|
|
}}
|
|
controls={true}
|
|
/>
|
|
<p className="copyright">
|
|
Video is property of{" "}
|
|
<a href="https://www.hillaryclinton.com/" target="_blank" rel="noopener noreferrer">
|
|
Hillary for America
|
|
</a>
|
|
, the{" "}
|
|
<a href="https://democrats.org/" target="_blank" rel="noopener noreferrer">
|
|
Democratic National Committee
|
|
</a>
|
|
, and{" "}
|
|
<a href="https://cnnpressroom.blogs.cnn.com/" target="_blank" rel="noopener noreferrer">
|
|
CNN / WarnerMedia
|
|
</a>
|
|
. © 2016.
|
|
</p>
|
|
<style jsx>{`
|
|
.copyright {
|
|
text-align: center;
|
|
font-size: 0.9em;
|
|
line-height: 1.8;
|
|
margin: 1.25em 1em 0.5em;
|
|
color: var(--medium-light);
|
|
}
|
|
|
|
.copyright a {
|
|
font-weight: 700;
|
|
}
|
|
`}</style>
|
|
</Content>
|
|
</Container>
|
|
</Layout>
|
|
);
|
|
|
|
export default Hillary;
|