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

CSS modules ➡️ Stitches 🧵 (#799)

This commit is contained in:
2022-03-03 09:18:26 -05:00
committed by GitHub
parent ac7ac71c10
commit c2dde042b7
93 changed files with 2392 additions and 3000 deletions

View File

@@ -3,9 +3,18 @@ import Content from "../components/Content/Content";
import PageTitle from "../components/PageTitle/PageTitle";
import Link from "../components/Link/Link";
import Video from "../components/Video/Video";
import { styled } from "../lib/styles/stitches.config";
import thumbnail from "../public/static/images/hillary/thumb.png";
const Copyright = styled("p", {
textAlign: "center",
fontSize: "0.9em",
lineHeight: 1.8,
margin: "1.25em 1em 0 1em",
color: "$mediumLight",
});
const Hillary = () => (
<>
<NextSeo
@@ -27,7 +36,7 @@ const Hillary = () => (
subs="/static/images/hillary/subs.en.vtt"
/>
<p className="copyright">
<Copyright>
Video is property of{" "}
<Link href="https://www.hillaryclinton.com/" style={{ fontWeight: 700 }}>
Hillary for America
@@ -41,18 +50,8 @@ const Hillary = () => (
CNN / WarnerMedia
</Link>
. &copy; 2016.
</p>
</Copyright>
</Content>
<style jsx>{`
.copyright {
text-align: center;
font-size: 0.9em;
line-height: 1.8;
margin: 1.25em 1em 0 1em;
color: var(--medium-light);
}
`}</style>
</>
);