Begin new homepage

This commit is contained in:
Lachlan Campbell 2020-04-22 22:39:34 -04:00
parent bae9d2f815
commit 4e49046c8f
8 changed files with 510 additions and 142 deletions

5
components/icon.js Normal file
View file

@ -0,0 +1,5 @@
/** @jsx jsx */
import { jsx } from 'theme-ui'
import Icon from '@hackclub/icons'
export default (props) => <Icon {...props} />

25
lib/theme.js Normal file
View file

@ -0,0 +1,25 @@
import base from '@hackclub/theme'
const theme = base
theme.buttons.primary = {
fontSize: 3,
fontWeight: 'bold',
textTransform: 'uppercase',
px: 4,
py: 3,
letterSpacing: 'headline',
borderRadius: 'circle',
backgroundImage: (theme) =>
`linear-gradient(${theme.colors.orange}, ${theme.colors.red})`,
boxShadow: 'card',
WebkitTapHighlightColor: 'transparent',
transition: 'transform .125s ease-in-out, box-shadow .125s ease-in-out',
willChange: 'transform',
':focus,:hover': {
boxShadow: 'elevated',
transform: 'scale(1.0625)'
}
}
export default theme

View file

@ -12,8 +12,8 @@
"dependencies": {
"@hackclub/icons": "^0.0.3",
"@hackclub/meta": "^0.1.0-alpha.0",
"@hackclub/theme": "^0.1.0-alpha.0",
"@mdx-js/loader": "^1.5.8",
"@hackclub/theme": "^0.1.1",
"@mdx-js/loader": "^1.5.9",
"@next/mdx": "^9.3.5",
"lodash": "^4.17.15",
"next": "^9.3.5",

View file

@ -4,9 +4,8 @@ import Head from 'next/head'
import Meta from '@hackclub/meta'
import '@hackclub/theme/fonts/reg-bold.css'
import theme from '@hackclub/theme'
import theme from '../lib/theme'
import { ThemeProvider } from 'theme-ui'
import ColorSwitcher from '../components/color-switcher'
export default class App extends NextApp {
render() {
@ -17,7 +16,6 @@ export default class App extends NextApp {
<title>Hack Club</title>
<Meta />
</Head>
<ColorSwitcher />
<Component {...pageProps} />
</ThemeProvider>
)

292
pages/index.js Normal file
View file

@ -0,0 +1,292 @@
import {
Box,
Button,
Card,
Checkbox,
Container,
Flex,
Grid,
Heading,
Image,
Input,
Label,
Link,
Text,
Textarea
} from 'theme-ui'
const CardLink = (props) => (
<Link
sx={{
mt: 3,
display: 'block',
fontSize: 3,
color: 'red',
lineHeight: 'subheading',
textDecoration: 'none',
':focus,:hover': {
textDecoration: 'underline',
textDecorationStyle: 'wavy'
},
':after': { content: '""', pl: 1 },
...props.sx
}}
{...props}
/>
)
export default () => (
<>
<Box as="header" sx={{ bg: 'dark', py: 6 }}>
<Container sx={{ textAlign: 'center' }}>
<Heading
as="h1"
variant="title"
sx={{
mt: 0,
fontSize: [7, 8, 9],
color: 'white',
lineHeight: [0.875, 0.8],
textShadow: (theme) => `0 0 6px ${theme.colors.red}`
}}
>
COVID has changed{' '}
<Text
as="span"
sx={{
WebkitTextStroke: (theme) => theme.colors.red,
WebkitTextStrokeWidth: '3px',
WebkitTextFillColor: (theme) => theme.colors.white
}}
>
everything
</Text>
.
</Heading>
<Text
as="p"
variant="subtitle"
sx={{
mt: 4,
fontSize: 4,
color: 'cyan',
mx: 'auto',
maxWidth: 'copyPlus',
strong: { color: 'red' }
}}
>
<strong>HACK CLUB</strong> used to be a network of high school coding
clubs & hackathons. Someday, well get back to that.
</Text>
</Container>
</Box>
<Box as="section" sx={{ bg: 'white', color: 'black', py: [4, 5, 6] }}>
<Container
sx={{ textAlign: 'center', maxWidth: [null, 'copyPlus', 'copyUltra'] }}
>
<Heading
as="h2"
variant="headline"
sx={{
fontSize: [4, 5],
color: 'red',
textTransform: 'uppercase',
letterSpacing: 'headline'
}}
>
During COVID-19
</Heading>
<Heading as="h2" variant="title" sx={{ fontSize: [5, 6], mb: 4 }}>
Were trying to make Hack Club the best place on the internet to be a
teenager in tech.
</Heading>
<Button as="a" href="#join" variant="primary">
Join our Slack
</Button>
</Container>
</Box>
<Box as="section" sx={{ bg: 'snow', color: 'black', py: [4, 5, 6] }}>
<Container>
<Heading
as="h2"
variant="title"
sx={{ maxWidth: 'copyUltra', span: { display: ['inline', 'block'] } }}
>
<Text as="span" color="muted">
Were some of the 15 million U.S.&nbsp;high schoolers isolated.{' '}
</Text>
<Text as="span" color="orange">
Heres&nbsp;how were coming together.
</Text>
</Heading>
<Grid
columns={[null, 2]}
gap={[3, 4]}
sx={{
mt: [4, 5],
'> div': {
p: [3, 4],
display: 'flex',
flexDirection: 'column',
// justifyContent: 'center',
position: 'relative'
},
h3: {
mt: 0
}
}}
>
<Card>
<Heading as="h3" variant="headline">
AMAs with some of the most interesting people in tech.
</Heading>
<Text as="p" sx={{ color: 'muted', fontSize: 2 }}>
Elon Musk, Simone Giertz, Tom Preston-Werner, & more
</Text>
<CardLink href="https://youtu.be/1pn8h2q3Cas">
Watch a recent AMA
</CardLink>
</Card>
<Card>
<Heading as="h3" variant="headline">
Social coding events to keep you leveling up.
</Heading>
<CardLink href="https://events.hackclub.com/">
See upcoming events
</CardLink>
</Card>
<Card bg="dark" color="white">
<Heading
as="h3"
variant="headline"
my={0}
sx={{ wordBreak: 'break-word' }}
>
Student-run workshops on coding, cooking, drawing, everything.
</Heading>
<Grid columns={[null, '3fr 2fr']} gap={[3, 4]} mt={3}>
<Image
src="/home/workshops.jpg"
alt="Video call with students going wild"
sx={{ borderRadius: 'default', maxWidth: '100%' }}
/>
<CardLink href="https://youtu.be/Xy_owni1ZVk">
Watch a recent live-code
</CardLink>
</Grid>
</Card>
<Card>
<Heading as="h3" variant="headline">
Online hackathons like the{' '}
<Link
href="https://covidglobalhackathon.com"
sx={{
color: '#0f65ff',
display: ['inline', 'block'],
textDecoration: 'none',
':focus,:hover': {
WebkitTextStroke: 'currentColor',
WebkitTextStrokeWidth: '1px',
WebkitTextFillColor: (theme) => theme.colors.white,
textShadow: '0 0 4px currentColor'
}
}}
>
COVID-19 Global Hackathon
</Link>{' '}
to grow as a developer.
</Heading>
<CardLink href="https://hackathons.hackclub.com/">
See upcoming hackathons
</CardLink>
</Card>
</Grid>
</Container>
</Box>
<Box
as="footer"
sx={{
bg: 'cyan',
backgroundImage: (theme) => `radial-gradient(
ellipse farthest-corner at top left, ${theme.colors.cyan}, ${theme.colors.blue})`,
color: 'white',
py: [5, 6]
}}
>
<Container
sx={{ textAlign: 'center', maxWidth: [null, 'copyPlus', 'copyUltra'] }}
>
<Heading as="h2" variant="title" sx={{ fontSize: [5, 6, 7], mb: 3 }}>
Join our Slack
</Heading>
<Text
as="p"
variant="subtitle"
sx={{
fontSize: 3,
color: 'smoke',
maxWidth: 'copy',
mx: 'auto',
mb: 4
}}
>
Due to high demand from the Elon Musk AMA, were temporarily making
our community invite-only. But we still want to meet you!
</Text>
<Card
sx={{
bg: 'rgba(255,255,255,0.875)',
maxWidth: 'narrow',
mx: 'auto',
label: {
display: 'flex',
flexDirection: 'column',
textAlign: 'left',
fontSize: 2,
mb: 3
}
}}
>
<Label>
Full name
<Input name="name" placeholder="Amanda Hackworth" />
</Label>
<Label>
Email address
<Input
name="email"
type="email"
placeholder="amanda@hackclub.com"
/>
</Label>
<Label sx={{ flexDirection: 'row !important', alignItems: 'center' }}>
<Checkbox name="student" sx={{ color: 'muted' }} />
Are you a high school or college student?
</Label>
<Label>
Why do you want to join Hack Club?
<Textarea
name="reason"
placeholder="Write a few sentences."
variant="forms.input"
/>
</Label>
<Button
as="input"
type="submit"
variant="primary"
sx={{
py: 2,
px: 3,
mt: 3,
fontSize: 2,
width: '100%',
fontFamily: 'inherit'
}}
value="Request invitation"
/>
</Card>
</Container>
</Box>
</>
)

BIN
public/home/workshops.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

4
vercel.json Normal file
View file

@ -0,0 +1,4 @@
{
"public": true,
"trailingSlash": true
}

318
yarn.lock
View file

@ -72,22 +72,23 @@
semver "^5.4.1"
source-map "^0.5.0"
"@babel/core@7.8.4":
version "7.8.4"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.8.4.tgz#d496799e5c12195b3602d0fddd77294e3e38e80e"
integrity sha512-0LiLrB2PwrVI+a2/IEskBopDYSd8BCb3rOvH7D5tzoWd696TBEduBvuLVm4Nx6rltrLZqvI3MCalB2K2aVzQjA==
"@babel/core@7.9.0":
version "7.9.0"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.0.tgz#ac977b538b77e132ff706f3b8a4dbad09c03c56e"
integrity sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w==
dependencies:
"@babel/code-frame" "^7.8.3"
"@babel/generator" "^7.8.4"
"@babel/helpers" "^7.8.4"
"@babel/parser" "^7.8.4"
"@babel/template" "^7.8.3"
"@babel/traverse" "^7.8.4"
"@babel/types" "^7.8.3"
"@babel/generator" "^7.9.0"
"@babel/helper-module-transforms" "^7.9.0"
"@babel/helpers" "^7.9.0"
"@babel/parser" "^7.9.0"
"@babel/template" "^7.8.6"
"@babel/traverse" "^7.9.0"
"@babel/types" "^7.9.0"
convert-source-map "^1.7.0"
debug "^4.1.0"
gensync "^1.0.0-beta.1"
json5 "^2.1.0"
json5 "^2.1.2"
lodash "^4.17.13"
resolve "^1.3.2"
semver "^5.4.1"
@ -103,7 +104,7 @@
lodash "^4.17.13"
source-map "^0.5.0"
"@babel/generator@^7.9.5":
"@babel/generator@^7.9.0", "@babel/generator@^7.9.5":
version "7.9.5"
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.9.5.tgz#27f0917741acc41e6eaaced6d68f96c3fa9afaf9"
integrity sha512-GbNIxVB3ZJe3tLeDm1HSn2AhuD/mVcyLDpgtLXa5tplmWrJdF/elxB56XNqCuD6szyNkDi6wuoKXln3QeBmCHQ==
@ -240,6 +241,19 @@
"@babel/types" "^7.8.3"
lodash "^4.17.13"
"@babel/helper-module-transforms@^7.9.0":
version "7.9.0"
resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz#43b34dfe15961918707d247327431388e9fe96e5"
integrity sha512-0FvKyu0gpPfIQ8EkxlrAydOWROdHpBmiCiRwLkUiBGhCUPRRbVD2/tm3sFr/c/GWFrQ/ffutGUAnx7V0FzT2wA==
dependencies:
"@babel/helper-module-imports" "^7.8.3"
"@babel/helper-replace-supers" "^7.8.6"
"@babel/helper-simple-access" "^7.8.3"
"@babel/helper-split-export-declaration" "^7.8.3"
"@babel/template" "^7.8.6"
"@babel/types" "^7.9.0"
lodash "^4.17.13"
"@babel/helper-optimise-call-expression@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz#7ed071813d09c75298ef4f208956006b6111ecb9"
@ -280,6 +294,16 @@
"@babel/traverse" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/helper-replace-supers@^7.8.6":
version "7.8.6"
resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz#5ada744fd5ad73203bf1d67459a27dcba67effc8"
integrity sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA==
dependencies:
"@babel/helper-member-expression-to-functions" "^7.8.3"
"@babel/helper-optimise-call-expression" "^7.8.3"
"@babel/traverse" "^7.8.6"
"@babel/types" "^7.8.6"
"@babel/helper-simple-access@^7.7.0", "@babel/helper-simple-access@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz#7f8109928b4dab4654076986af575231deb639ae"
@ -319,7 +343,7 @@
"@babel/traverse" "^7.8.4"
"@babel/types" "^7.8.3"
"@babel/helpers@^7.8.4":
"@babel/helpers@^7.9.0":
version "7.9.2"
resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.9.2.tgz#b42a81a811f1e7313b88cba8adc66b3d9ae6c09f"
integrity sha512-JwLvzlXVPjO8eU9c/wF9/zOIN7X6h8DYf7mG4CiFRZRvZNKEF5dQ3H3V+ASkHoIB3mWhatgl5ONhyqHRI6MppA==
@ -342,7 +366,7 @@
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.8.4.tgz#d1dbe64691d60358a974295fa53da074dd2ce8e8"
integrity sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==
"@babel/parser@^7.9.0":
"@babel/parser@^7.8.6", "@babel/parser@^7.9.0":
version "7.9.4"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.4.tgz#68a35e6b0319bbc014465be43828300113f2f2e8"
integrity sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==
@ -404,7 +428,16 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-object-rest-spread" "^7.2.0"
"@babel/plugin-proposal-object-rest-spread@7.8.3", "@babel/plugin-proposal-object-rest-spread@^7.6.2":
"@babel/plugin-proposal-object-rest-spread@7.9.5":
version "7.9.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.5.tgz#3fd65911306d8746014ec0d0cf78f0e39a149116"
integrity sha512-VP2oXvAf7KCYTthbUHwBlewbl1Iq059f6seJGsxMizaCdgHIeczOr7FBqELhSqfkIl04Fi8okzWzl63UKbQmmg==
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-syntax-object-rest-spread" "^7.8.0"
"@babel/plugin-transform-parameters" "^7.9.5"
"@babel/plugin-proposal-object-rest-spread@^7.6.2":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz#eb5ae366118ddca67bed583b53d7554cad9951bb"
integrity sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA==
@ -716,6 +749,14 @@
"@babel/helper-get-function-arity" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-parameters@^7.9.5":
version "7.9.5"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz#173b265746f5e15b2afe527eeda65b73623a0795"
integrity sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA==
dependencies:
"@babel/helper-get-function-arity" "^7.8.3"
"@babel/helper-plugin-utils" "^7.8.3"
"@babel/plugin-transform-property-literals@^7.2.0":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz#33194300d8539c1ed28c62ad5087ba3807b98263"
@ -943,6 +984,15 @@
"@babel/parser" "^7.8.3"
"@babel/types" "^7.8.3"
"@babel/template@^7.8.6":
version "7.8.6"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.8.6.tgz#86b22af15f828dfb086474f964dcc3e39c43ce2b"
integrity sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==
dependencies:
"@babel/code-frame" "^7.8.3"
"@babel/parser" "^7.8.6"
"@babel/types" "^7.8.6"
"@babel/traverse@^7.7.2", "@babel/traverse@^7.8.3", "@babel/traverse@^7.8.4":
version "7.8.4"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.8.4.tgz#f0845822365f9d5b0e312ed3959d3f827f869e3c"
@ -958,7 +1008,7 @@
globals "^11.1.0"
lodash "^4.17.13"
"@babel/traverse@^7.9.0":
"@babel/traverse@^7.8.6", "@babel/traverse@^7.9.0":
version "7.9.5"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.9.5.tgz#6e7c56b44e2ac7011a948c21e283ddd9d9db97a2"
integrity sha512-c4gH3jsvSuGUezlP6rzSJ6jf8fYjLj3hsMZRx/nX0h+fmHN0w+ekubRrHPqnMec0meycA2nwCsJ7dC8IPem2FQ==
@ -991,7 +1041,7 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"
"@babel/types@^7.9.0", "@babel/types@^7.9.5":
"@babel/types@^7.8.6", "@babel/types@^7.9.0", "@babel/types@^7.9.5":
version "7.9.5"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.9.5.tgz#89231f82915a8a566a703b3b20133f73da6b9444"
integrity sha512-XjnvNqenk818r5zMaba+sLQjnbda31UfUURv3ei0qPQw4u+j2jMyJ5b11y8ZHYTRSI3NnInQkkkRT4fLqqPdHg==
@ -1112,41 +1162,42 @@
resolved "https://registry.yarnpkg.com/@hackclub/meta/-/meta-0.1.0-alpha.0.tgz#bbe3365b78dafabcf24f86ad610cab76f9aa33e7"
integrity sha512-e/LsidiJG7v235q0w/fcaO5y2cC7wyYn1G7Vs7H+rxiYGhjUeBdrCyWY6/ExqZ02S/im4eummduU1Y6k57pxRw==
"@hackclub/theme@^0.1.0-alpha.0":
version "0.1.0-alpha.0"
resolved "https://registry.yarnpkg.com/@hackclub/theme/-/theme-0.1.0-alpha.0.tgz#9cfc5e401fb41eb0cf62e609e33e3ba97b912f7e"
integrity sha512-ozmF6mRoSdA4f8A1Hw/9Ip28uMBa1kGQq4JBJ7NGDKk6GPqGMSopbUvmX6Xfwk77HgcHCab0x1pqGGk81Xj3cg==
"@hackclub/theme@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@hackclub/theme/-/theme-0.1.1.tgz#b02672cc2f28094eb79a227e160cee935cc751fe"
integrity sha512-P8G0OcY22NnWK2SsGupYSMxd1ScbqSrTewPVjgWLcd1qgjTHEJBafWEF75B3Ru87CRco0wLiJi3bMmEBp1LT+A==
"@mdx-js/loader@^1.5.8":
version "1.5.8"
resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.5.8.tgz#3d1c4031b934c03309cabbbfe01628f3960e3221"
integrity sha512-Tmrx1ZSTDEBF6oBG6aoEmLNhKVvLqfCQe7mpnTFDjAG0O26E96m45Saj/FJkl373ulJ8BRED2EamNjejrKoeJQ==
"@mdx-js/loader@^1.5.9":
version "1.5.9"
resolved "https://registry.yarnpkg.com/@mdx-js/loader/-/loader-1.5.9.tgz#97084bc190155577165e9e7c436b92256563acd8"
integrity sha512-uuVdEKKOD1ptvASrE9c2ucv4DNKi9zW42zR1KQxdg617l6noBeaKQDVYXl+N2+fz2zAA5eF4hWtpq4LiVIoOZA==
dependencies:
"@mdx-js/mdx" "^1.5.8"
"@mdx-js/react" "^1.5.8"
loader-utils "1.2.3"
"@mdx-js/mdx" "^1.5.9"
"@mdx-js/react" "^1.5.9"
loader-utils "2.0.0"
"@mdx-js/mdx@^1.5.8":
version "1.5.8"
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.5.8.tgz#40740eaf0b0007b461cee8df13a7ae5a1af8064a"
integrity sha512-OzanPTN0p9GZOEVeEuEa8QsjxxGyfFOOnI/+V1oC1su9UIN4KUg1k4n/hWTZC+VZhdW1Lfj6+Ho8nIs6L+pbDA==
"@mdx-js/mdx@^1.5.9":
version "1.5.9"
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.5.9.tgz#16078e1660a0f5d88b7d8e73bf09b989a755fcb9"
integrity sha512-K/qYIWwV5+V1ChVHga3ZzXlXtEuNsBOt/QI54K+DvD4ayu9WdbBv/953JdC2ZPrHQek48WIbKBH27omZPA6ZPA==
dependencies:
"@babel/core" "7.8.4"
"@babel/core" "7.9.0"
"@babel/plugin-syntax-jsx" "7.8.3"
"@babel/plugin-syntax-object-rest-spread" "7.8.3"
"@mdx-js/util" "^1.5.8"
babel-plugin-apply-mdx-type-prop "^1.5.8"
babel-plugin-extract-import-names "^1.5.8"
"@mdx-js/util" "^1.5.9"
babel-plugin-apply-mdx-type-prop "^1.5.9"
babel-plugin-extract-import-names "^1.5.9"
camelcase-css "2.0.1"
detab "2.0.3"
hast-util-raw "5.0.2"
lodash.uniq "4.5.0"
mdast-util-to-hast "7.0.0"
remark-mdx "^1.5.8"
remark-parse "7.0.2"
remark-squeeze-paragraphs "3.0.4"
mdast-util-to-hast "8.2.0"
remark-footnotes "1.0.0"
remark-mdx "^1.5.9"
remark-parse "8.0.1"
remark-squeeze-paragraphs "4.0.0"
style-to-object "0.3.0"
unified "8.4.2"
unified "9.0.0"
unist-builder "2.0.3"
unist-util-visit "2.0.2"
@ -1155,15 +1206,15 @@
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.5.5.tgz#0036e65ec59521059f33292f535b9ef0d67bd0e6"
integrity sha512-Qwvri4zyU9ZbhhXsH0wfSZ/J9b8mARRTB6GSCTnyKRffO2CaQXl9oLsvRAeQSLRei/onEARc+RexH+jMeNS1rw==
"@mdx-js/react@^1.5.8":
version "1.5.8"
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.5.8.tgz#fc38fe0eb278ae24666b2df3c751e726e33f5fac"
integrity sha512-L3rehITVxqDHOPJFGBSHKt3Mv/p3MENYlGIwLNYU89/iVqTLMD/vz8hL9RQtKqRoMbKuWpzzLlKIObqJzthNYg==
"@mdx-js/react@^1.5.9":
version "1.5.9"
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.5.9.tgz#31873ab097fbe58c61c7585fc0be64e83182b6df"
integrity sha512-rengdUSedIdIQbXPSeafItCacTYocARAjUA51b6R1KNHmz+59efz7UmyTKr73viJQZ98ouu7iRGmOTtjRrbbWA==
"@mdx-js/util@^1.5.8":
version "1.5.8"
resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.5.8.tgz#cbadda0378af899c17ce1aa69c677015cab28448"
integrity sha512-a7Gjjw8bfBSertA/pTWBA/9WKEhgaSxvQE2NTSUzaknrzGFOhs4alZSHh3RHmSFdSWv5pUuzAgsWseMLhWEVkQ==
"@mdx-js/util@^1.5.9":
version "1.5.9"
resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.5.9.tgz#9cf5c3517301daf60f07961ce190f9f92d8da37d"
integrity sha512-hty9ftw/RENS+6pEXTy4vi46CO7cDRdhcELxCaklcGTuxeqi9OROJ+oi03RJd2O2V+3wY5geGAdXKlPQCOTE/Q==
"@next/mdx@^9.3.5":
version "9.3.5"
@ -1653,13 +1704,13 @@ babel-code-frame@^6.22.0:
esutils "^2.0.2"
js-tokens "^3.0.2"
babel-plugin-apply-mdx-type-prop@^1.5.8:
version "1.5.8"
resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.5.8.tgz#f5ff6d9d7a7fcde0e5f5bd02d3d3cd10e5cca5bf"
integrity sha512-xYp5F9mAnZdDRFSd1vF3XQ0GQUbIulCpnuht2jCmK30GAHL8szVL7TgzwhEGamQ6yJmP/gEyYNM9OR5D2n26eA==
babel-plugin-apply-mdx-type-prop@^1.5.9:
version "1.5.9"
resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.5.9.tgz#85d888c875fa7bc33e4695da11c9ece068cc6b98"
integrity sha512-3uNQ4Zo/TjOaB0E98m6ez2Xfrb7IYAs5BB4b8zQXggPCCppg5kjQEe8AglH6F6b94+q7Qv/cNTnoNqGXs6RBEA==
dependencies:
"@babel/helper-plugin-utils" "7.8.3"
"@mdx-js/util" "^1.5.8"
"@mdx-js/util" "^1.5.9"
babel-plugin-dynamic-import-node@^2.3.0:
version "2.3.0"
@ -1684,10 +1735,10 @@ babel-plugin-emotion@^10.0.27:
find-root "^1.1.0"
source-map "^0.5.7"
babel-plugin-extract-import-names@^1.5.8:
version "1.5.8"
resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.5.8.tgz#418057261346451d689dff5036168567036b8cf6"
integrity sha512-LcLfP8ZRBZMdMAXHLugyvvd5PY0gMmLMWFogWAUsG32X6TYW2Eavx+il2bw73KDbW+UdCC1bAJ3NuU25T1MI3g==
babel-plugin-extract-import-names@^1.5.9:
version "1.5.9"
resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.5.9.tgz#3f450a8952b2fb97ba7676d4e1e67eade45d1988"
integrity sha512-0V3/VJClG/pUn7wnlmWByJdhJklZWD4XvR9P+Q7wDWs9kS48lmmB5Pp6+zvbTBBQGlqJB5/bBtwMRm4zdoPNzg==
dependencies:
"@babel/helper-plugin-utils" "7.8.3"
@ -2025,7 +2076,7 @@ caniuse-lite@^1.0.30001017, caniuse-lite@^1.0.30001023:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001023.tgz#b82155827f3f5009077bdd2df3d8968bcbcc6fc4"
integrity sha512-C5TDMiYG11EOhVOA62W1p3UsJ2z4DsHtMBQtjzp3ZsUglcQn62WOUgW0y795c7A5uZ+GCEIvzkMatLIlAsbNTA==
ccount@^1.0.3:
ccount@^1.0.0, ccount@^1.0.3:
version "1.0.5"
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.5.tgz#ac82a944905a65ce204eb03023157edf29425c17"
integrity sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw==
@ -3857,29 +3908,29 @@ md5.js@^1.3.4:
inherits "^2.0.1"
safe-buffer "^5.1.2"
mdast-squeeze-paragraphs@^3.0.0:
version "3.0.5"
resolved "https://registry.yarnpkg.com/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-3.0.5.tgz#f428b6b944f8faef454db9b58f170c4183cb2e61"
integrity sha512-xX6Vbe348Y/rukQlG4W3xH+7v4ZlzUbSY4HUIQCuYrF2DrkcHx584mCaFxkWoDZKNUfyLZItHC9VAqX3kIP7XA==
mdast-squeeze-paragraphs@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/mdast-squeeze-paragraphs/-/mdast-squeeze-paragraphs-4.0.0.tgz#7c4c114679c3bee27ef10b58e2e015be79f1ef97"
integrity sha512-zxdPn69hkQ1rm4J+2Cs2j6wDEv7O17TfXTJ33tl/+JPIoEmtV9t2ZzBM5LPHE8QlHsmVD8t3vPKCyY3oH+H8MQ==
dependencies:
unist-util-remove "^1.0.0"
unist-util-remove "^2.0.0"
mdast-util-definitions@^1.2.0:
version "1.2.5"
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-1.2.5.tgz#3fe622a4171c774ebd06f11e9f8af7ec53ea5c74"
integrity sha512-CJXEdoLfiISCDc2JB6QLb79pYfI6+GcIH+W2ox9nMc7od0Pz+bovcHsiq29xAQY6ayqe/9CsK2VzkSJdg1pFYA==
mdast-util-definitions@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-2.0.1.tgz#2c931d8665a96670639f17f98e32c3afcfee25f3"
integrity sha512-Co+DQ6oZlUzvUR7JCpP249PcexxygiaKk9axJh+eRzHDZJk2julbIdKB4PXHVxdBuLzvJ1Izb+YDpj2deGMOuA==
dependencies:
unist-util-visit "^1.0.0"
unist-util-visit "^2.0.0"
mdast-util-to-hast@7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-7.0.0.tgz#589b562ce1ae0a7849e6c38536a9e7bc4f415e54"
integrity sha512-vxnXKSZgvPG2grZM3kxaF052pxsLtq8TPAkiMkqYj1nFTOazYUPXt3LFYIEB6Ws/IX7Uyvljzk64kD6DwZl/wQ==
mdast-util-to-hast@8.2.0:
version "8.2.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-8.2.0.tgz#adf9f824defcd382e53dd7bace4282a45602ac67"
integrity sha512-WjH/KXtqU66XyTJQ7tg7sjvTw1OQcVV0hKdFh3BgHPwZ96fSBCQ/NitEHsN70Mmnggt+5eUUC7pCnK+2qGQnCA==
dependencies:
collapse-white-space "^1.0.0"
detab "^2.0.0"
mdast-util-definitions "^1.2.0"
mdurl "^1.0.1"
mdast-util-definitions "^2.0.0"
mdurl "^1.0.0"
trim-lines "^1.0.0"
unist-builder "^2.0.0"
unist-util-generated "^1.0.0"
@ -3896,7 +3947,7 @@ mdn-data@2.0.6:
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.6.tgz#852dc60fcaa5daa2e8cf6c9189c440ed3e042978"
integrity sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA==
mdurl@^1.0.1:
mdurl@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
@ -4403,10 +4454,10 @@ parse-asn1@^5.0.0:
pbkdf2 "^3.0.3"
safe-buffer "^5.1.1"
parse-entities@^1.1.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50"
integrity sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==
parse-entities@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8"
integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==
dependencies:
character-entities "^1.0.0"
character-entities-legacy "^1.0.0"
@ -5150,47 +5201,53 @@ regjsparser@^0.6.0:
dependencies:
jsesc "~0.5.0"
remark-mdx@^1.5.8:
version "1.5.8"
resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.5.8.tgz#81fd9085e56ea534b977d08d6f170899138b3f38"
integrity sha512-wtqqsDuO/mU/ucEo/CDp0L8SPdS2oOE6PRsMm+lQ9TLmqgep4MBmyH8bLpoc8Wf7yjNmae/5yBzUN1YUvR/SsQ==
dependencies:
"@babel/core" "7.8.4"
"@babel/helper-plugin-utils" "7.8.3"
"@babel/plugin-proposal-object-rest-spread" "7.8.3"
"@babel/plugin-syntax-jsx" "7.8.3"
"@mdx-js/util" "^1.5.8"
is-alphabetical "1.0.4"
remark-parse "7.0.2"
unified "8.4.2"
remark-footnotes@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-1.0.0.tgz#9c7a97f9a89397858a50033373020b1ea2aad011"
integrity sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g==
remark-parse@7.0.2:
version "7.0.2"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-7.0.2.tgz#41e7170d9c1d96c3d32cf1109600a9ed50dba7cf"
integrity sha512-9+my0lQS80IQkYXsMA8Sg6m9QfXYJBnXjWYN5U+kFc5/n69t+XZVXU/ZBYr3cYH8FheEGf1v87rkFDhJ8bVgMA==
remark-mdx@^1.5.9:
version "1.5.9"
resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.5.9.tgz#844311a162ad1a555f57914b3514069d0d47745d"
integrity sha512-HFr/VOVoJ2lnZsN090wttFTcqXIker49S5JT3Tem8SKMeQoRA9Pl+iIlEOZau+C9w6ISZj79l6nwzrflAa5VDA==
dependencies:
"@babel/core" "7.9.0"
"@babel/helper-plugin-utils" "7.8.3"
"@babel/plugin-proposal-object-rest-spread" "7.9.5"
"@babel/plugin-syntax-jsx" "7.8.3"
"@mdx-js/util" "^1.5.9"
is-alphabetical "1.0.4"
remark-parse "8.0.1"
unified "9.0.0"
remark-parse@8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.1.tgz#7fc95d8f2b58fc6791cffb54803c763eb3756743"
integrity sha512-Ye/5W57tdQZWsfkuVyRq9SUWRgECHnDsMuyUMzdSKpTbNPkZeGtoYfsrkeSi4+Xyl0mhcPPddHITXPcCPHrl3w==
dependencies:
ccount "^1.0.0"
collapse-white-space "^1.0.2"
is-alphabetical "^1.0.0"
is-decimal "^1.0.0"
is-whitespace-character "^1.0.0"
is-word-character "^1.0.0"
markdown-escapes "^1.0.0"
parse-entities "^1.1.0"
parse-entities "^2.0.0"
repeat-string "^1.5.4"
state-toggle "^1.0.0"
trim "0.0.1"
trim-trailing-lines "^1.0.0"
unherit "^1.0.4"
unist-util-remove-position "^1.0.0"
vfile-location "^2.0.0"
unist-util-remove-position "^2.0.0"
vfile-location "^3.0.0"
xtend "^4.0.1"
remark-squeeze-paragraphs@3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-3.0.4.tgz#9fe50c3bf3b572dd88754cd426ada007c0b8dc5f"
integrity sha512-Wmz5Yj9q+W1oryo8BV17JrOXZgUKVcpJ2ApE2pwnoHwhFKSk4Wp2PmFNbmJMgYSqAdFwfkoe+TSYop5Fy8wMgA==
remark-squeeze-paragraphs@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz#76eb0e085295131c84748c8e43810159c5653ead"
integrity sha512-8qRqmL9F4nuLPIgl92XUuxI3pFxize+F1H0e/W3llTk0UsjJaj01+RrirkMw7P21RKe4X6goQhYRSvNWX+70Rw==
dependencies:
mdast-squeeze-paragraphs "^3.0.0"
mdast-squeeze-paragraphs "^4.0.0"
remove-trailing-separator@^1.0.1:
version "1.1.0"
@ -5945,13 +6002,14 @@ unicode-property-aliases-ecmascript@^1.0.4:
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==
unified@8.4.2:
version "8.4.2"
resolved "https://registry.yarnpkg.com/unified/-/unified-8.4.2.tgz#13ad58b4a437faa2751a4a4c6a16f680c500fff1"
integrity sha512-JCrmN13jI4+h9UAyKEoGcDZV+i1E7BLFuG7OsaDvTXI5P0qhHX+vZO/kOhz9jn8HGENDKbwSeB0nVOg4gVStGA==
unified@9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/unified/-/unified-9.0.0.tgz#12b099f97ee8b36792dbad13d278ee2f696eed1d"
integrity sha512-ssFo33gljU3PdlWLjNp15Inqb77d6JnJSfyplGJPT/a+fNRNyCBeveBAYJdO5khKdF6WVHa/yYCC7Xl6BDwZUQ==
dependencies:
bail "^1.0.0"
extend "^3.0.0"
is-buffer "^2.0.0"
is-plain-obj "^2.0.0"
trough "^1.0.0"
vfile "^4.0.0"
@ -6015,19 +6073,19 @@ unist-util-position@^3.0.0:
resolved "https://registry.yarnpkg.com/unist-util-position/-/unist-util-position-3.1.0.tgz#1c42ee6301f8d52f47d14f62bbdb796571fa2d47"
integrity sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA==
unist-util-remove-position@^1.0.0:
version "1.1.4"
resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-1.1.4.tgz#ec037348b6102c897703eee6d0294ca4755a2020"
integrity sha512-tLqd653ArxJIPnKII6LMZwH+mb5q+n/GtXQZo6S6csPRs5zB0u79Yw8ouR3wTw8wxvdJFhpP6Y7jorWdCgLO0A==
unist-util-remove-position@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc"
integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA==
dependencies:
unist-util-visit "^1.1.0"
unist-util-visit "^2.0.0"
unist-util-remove@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/unist-util-remove/-/unist-util-remove-1.0.3.tgz#58ec193dfa84b52d5a055ffbc58e5444eb8031a3"
integrity sha512-mB6nCHCQK0pQffUAcCVmKgIWzG/AXs/V8qpS8K72tMPtOSCMSjDeMc5yN+Ye8rB0FhcE+JvW++o1xRNc0R+++g==
unist-util-remove@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/unist-util-remove/-/unist-util-remove-2.0.0.tgz#32c2ad5578802f2ca62ab808173d505b2c898488"
integrity sha512-HwwWyNHKkeg/eXRnE11IpzY8JT55JNM1YCwwU9YNCnfzk6s8GhPXrVBBZWiwLeATJbI7euvoGSzcy9M29UeW3g==
dependencies:
unist-util-is "^3.0.0"
unist-util-is "^4.0.0"
unist-util-stringify-position@^2.0.0:
version "2.0.3"
@ -6036,13 +6094,6 @@ unist-util-stringify-position@^2.0.0:
dependencies:
"@types/unist" "^2.0.2"
unist-util-visit-parents@^2.0.0:
version "2.1.2"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-2.1.2.tgz#25e43e55312166f3348cae6743588781d112c1e9"
integrity sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==
dependencies:
unist-util-is "^3.0.0"
unist-util-visit-parents@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-3.0.2.tgz#d4076af3011739c71d2ce99d05de37d545f4351d"
@ -6060,13 +6111,6 @@ unist-util-visit@2.0.2, unist-util-visit@^2.0.0:
unist-util-is "^4.0.0"
unist-util-visit-parents "^3.0.0"
unist-util-visit@^1.0.0, unist-util-visit@^1.1.0:
version "1.4.1"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3"
integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==
dependencies:
unist-util-visit-parents "^2.0.0"
unquote@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"
@ -6149,10 +6193,10 @@ vendors@^1.0.0:
resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e"
integrity sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==
vfile-location@^2.0.0:
version "2.0.6"
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-2.0.6.tgz#8a274f39411b8719ea5728802e10d9e0dff1519e"
integrity sha512-sSFdyCP3G6Ka0CEmN83A2YCMKIieHx0EDaj5IDP4g1pa5ZJ4FJDvpO0WODLxo4LUX4oe52gmSCK7Jw4SBghqxA==
vfile-location@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/vfile-location/-/vfile-location-3.0.1.tgz#d78677c3546de0f7cd977544c367266764d31bb3"
integrity sha512-yYBO06eeN/Ki6Kh1QAkgzYpWT1d3Qln+ZCtSbJqFExPl1S3y2qqotJQXoh6qEvl/jDlgpUJolBn3PItVnnZRqQ==
vfile-message@^2.0.0:
version "2.0.4"