site/pages/press.js
2020-06-09 05:20:04 +00:00

95 lines
2.4 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { BaseStyles, Box, Button, Container, Grid, Heading } from 'theme-ui'
import Meta from '@hackclub/meta'
import Head from 'next/head'
import Nav from '../components/nav'
import Footer from '../components/footer'
import Press from '../components/press.mdx'
import { Logo } from './brand'
export default () => (
<>
<Meta
as={Head}
title="Press"
description="Hack Club HQs resources for press."
image="https://workshop-cards.hackclub.com/Press.png?fontSize=350px&brand=HQ"
/>
<Nav />
<Box
as="header"
sx={{
bg: 'sheet',
color: 'text',
pt: [5, null, null, null, 6],
pb: [3, 4, 5, null, 6],
textAlign: 'center'
}}
>
<Container variant="copy">
<Heading as="h1" variant="title" sx={{ color: 'primary', mt: [2, 4] }}>
Press
</Heading>
<Heading as="h2" variant="subtitle" sx={{ mt: 3, color: 'text' }}>
Hack Clubs resources for press.
</Heading>
</Container>
</Box>
<Container
variant="main"
sx={{
py: [3, 4],
px: 3,
maxWidth: [null, 'copyUltra'],
h2: { variant: 'text.headline' }
}}
>
<Heading id="banners" variant="headline">
About
</Heading>
<Box
as={BaseStyles}
sx={{
mx: 0,
fontSize: 2,
'> p': { maxWidth: 'copy' },
h2: { variant: 'text.headline', mt: 4 }
}}
>
<Press />
</Box>
<Button
as="a"
href="https://drive.google.com/open?id=1FgPJv68QzLVvCdFFTls0Exu0JO2npIhC"
variant="outline"
mt={4}
mb={4}
>
View all
</Button>
<Heading variant="headline">Logos</Heading>
<Grid columns={[null, 2, 3]} gap={3} sx={{ input: { display: 'none' } }}>
{[
'flag-standalone',
'flag-orpheus-top',
'flag-orpheus-left',
'flag-standalone-bw',
// 'flag-orpheus-top-bw',
// 'flag-orpheus-left-bw',
'icon-rounded',
'icon-square'
].map(key => (
<Logo name={key} key={key} />
))}
</Grid>
<Button
as="a"
href="https://assets.hackclub.com/2020_branding.zip"
variant="outline"
my={4}
>
Download all
</Button>
</Container>
<Footer />
</>
)