site/pages/press.js
2022-12-17 20:51:20 -05:00

99 lines
2.5 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 ForceTheme from '../components/force-theme'
import Footer from '../components/footer'
import Press from '../components/press.mdx'
import { Logo } from './brand'
const Page = () => (
<>
<Meta
as={Head}
title="Press"
description="Hack Club HQs resources for press."
image="https://workshop-cards.hackclub.com/Press.png?fontSize=350px&brand=HQ"
/>
<ForceTheme theme="light" />
<Nav color="text" />
<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 />
</>
)
export default Page