Skip to content

Commit 84899cd

Browse files
committed
Run prettier
1 parent a808d4f commit 84899cd

35 files changed

+1652
-1106
lines changed

components/bio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Bio({ popup = true, spanTwo = false, ...props }) {
2525
overflowY: 'hidden',
2626
overscrollBehavior: 'contain',
2727
gridColumn: !spanTwo ? null : [null, null, `1 / span 2`],
28-
position: 'relative',
28+
position: 'relative'
2929
}}
3030
as={href && !text ? 'a' : 'div'}
3131
href={href}

components/footer.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ const Base = styled(Box)`
1919
}
2020
`
2121

22-
23-
2422
const Logo = props => (
2523
<svg
2624
xmlns="http://www.w3.org/2000/svg"
@@ -51,7 +49,12 @@ const Service = ({ href, icon, name = '', ...props }) => (
5149
</Link>
5250
)
5351

54-
const Footer = ({ dark = false, email = "[email protected]", children, ...props }) => (
52+
const Footer = ({
53+
dark = false,
54+
email = '[email protected]',
55+
children,
56+
...props
57+
}) => (
5558
<Base
5659
color={dark ? 'muted' : 'slate'}
5760
py={[4, 5]}

components/hackathons/features/money.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ const Content = () => (
2929
<ListItem
3030
knew
3131
icon="payment"
32-
leadText={
33-
<>
34-
$500 grants.
35-
</>
36-
}
32+
leadText={<>$500 grants.</>}
3733
body={
3834
<>
3935
Running on HCB? Get a $500 grant once you have a venue, provided

components/hackathons/recap.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export default function Recap() {
8181
name="$500 grants"
8282
desc={
8383
<>
84-
Join HCB to receive a $500 grant for your hackathon and a suite of financial tools.
84+
Join HCB to receive a $500 grant for your hackathon and a suite
85+
of financial tools.
8586
</>
8687
}
8788
/>

components/hcb/apply/hcb-info.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ export default function HCBInfo() {
6363
Rather than setting up a standard bank account, you'll get a
6464
restricted fund within Hack Club accounts.
6565
</li>
66-
<li>You can't deposit or withdraw cash. But you can receive any kind of electronic payment!</li>
66+
<li>
67+
You can't deposit or withdraw cash. But you can receive any
68+
kind of electronic payment!
69+
</li>
6770
</ul>
6871
</Text>
6972
</FlexCol>

components/hcb/everything.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ export default function Everything({ fee, partner = false }) {
5252
item.includes('signup')
5353
? 'bolt'
5454
: item.includes('card')
55-
? 'card'
56-
: item.includes('Transparency')
57-
? 'explore'
58-
: item.includes('Physical')
59-
? 'email'
60-
: 'enter'
55+
? 'card'
56+
: item.includes('Transparency')
57+
? 'explore'
58+
: item.includes('Physical')
59+
? 'email'
60+
: 'enter'
6161
}
6262
>
6363
{item}
@@ -73,8 +73,8 @@ export default function Everything({ fee, partner = false }) {
7373
item.startsWith('Instant')
7474
? 'bolt'
7575
: item.includes('form')
76-
? 'link'
77-
: 'enter'
76+
? 'link'
77+
: 'enter'
7878
}
7979
>
8080
{item}

components/hcb/stats.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const easeInOutExpo = x =>
55
x === 0
66
? 0
77
: x === 1
8-
? 1
9-
: x < 0.5
10-
? Math.pow(2, 20 * x - 10) / 2
11-
: (2 - Math.pow(2, -20 * x + 10)) / 2
8+
? 1
9+
: x < 0.5
10+
? Math.pow(2, 20 * x - 10) / 2
11+
: (2 - Math.pow(2, -20 * x + 10)) / 2
1212

1313
function startMoneyAnimation(
1414
setBalance,

components/index/cards/hackathons.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import CardModel from './card-model'
2-
import {Box, Flex, Grid, Image, Link, Text} from 'theme-ui'
2+
import { Box, Flex, Grid, Image, Link, Text } from 'theme-ui'
33
import Buttons from './button'
44
import Dot from '../../dot'
5-
import {formatDate} from '../../../lib/dates'
5+
import { formatDate } from '../../../lib/dates'
66

77
/** @jsxImportSource theme-ui */
88
const Cover = () => (

components/index/cards/haunted.js

+28-23
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import CardModel from "./card-model";
2-
import { Box, Flex, Grid, Image, Text, Link } from "theme-ui";
3-
import Buttons from "./button";
1+
import CardModel from './card-model'
2+
import { Box, Flex, Grid, Image, Text, Link } from 'theme-ui'
3+
import Buttons from './button'
44

55
/** @jsxImportSource theme-ui */
66

@@ -10,47 +10,52 @@ export default function Haunted() {
1010
github_link="https://github.com/hackclub/www-hauntedhouse"
1111
color="white"
1212
sx={{
13-
backgroundSize: "cover",
14-
backgroundColor: "#95C9E5",
15-
border: "2px solid #EB6424",
13+
backgroundSize: 'cover',
14+
backgroundColor: '#95C9E5',
15+
border: '2px solid #EB6424'
1616
}}
17-
position={[null, "bottom", "bottom"]}
17+
position={[null, 'bottom', 'bottom']}
1818
highlight="#cc5600"
1919
image="/haunted/bg.webp"
2020
filter="brightness(0.7)"
2121
>
22-
<Grid columns={[1, 2]} sx={{ position: "relative", zIndex: 2 }}>
22+
<Grid columns={[1, 2]} sx={{ position: 'relative', zIndex: 2 }}>
2323
<Image
2424
src="/haunted/haunted-text.svg"
2525
sx={{
26-
width: ["200px", "250px", "300px"],
27-
mt: ["-10px", "-20px", "-20px"],
28-
position: "relative",
26+
width: ['200px', '250px', '300px'],
27+
mt: ['-10px', '-20px', '-20px'],
28+
position: 'relative',
2929
zIndex: 2,
30-
fontSize: ["36px", 4, 5],
31-
color: "white",
30+
fontSize: ['36px', 4, 5],
31+
color: 'white'
3232
}}
3333
alt="Haunted"
3434
/>
3535
<Box></Box>
3636

37-
3837
<Text as="p" variant="subtitle" sx={{ color: 'white' }}>
39-
Haunted House is a Chicago-based event full of sites and frights! Join us from October 28-29
40-
for a weekend of coding pushing the bounds of creativity, where fright meets byte!
38+
Haunted House is a Chicago-based event full of sites and frights! Join
39+
us from October 28-29 for a weekend of coding pushing the bounds of
40+
creativity, where fright meets byte!
4141
</Text>
4242
<Flex
4343
sx={{
44-
flexDirection: "column",
44+
flexDirection: 'column',
4545
mt: [3, 3, 4],
46-
alignItems: "end",
47-
justifyContent: "flex-end",
46+
alignItems: 'end',
47+
justifyContent: 'flex-end'
4848
}}
4949
></Flex>
50-
<Buttons id="14" link="https://haunted.hackclub.com" icon="welcome" primary="#EB6424">
51-
Sign Up
52-
</Buttons>
50+
<Buttons
51+
id="14"
52+
link="https://haunted.hackclub.com"
53+
icon="welcome"
54+
primary="#EB6424"
55+
>
56+
Sign Up
57+
</Buttons>
5358
</Grid>
5459
</CardModel>
55-
);
60+
)
5661
}

components/index/cards/haxidraw.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export default function Haxidraw({ stars }) {
2929
variant="subtitle"
3030
sx={{ zIndex: 2, position: 'relative' }}
3131
>
32-
Blot is an open source drawing machine and online editor,
33-
designed to be a fun and beginner friendly introduction to digital
32+
Blot is an open source drawing machine and online editor, designed
33+
to be a fun and beginner friendly introduction to digital
3434
fabrication and generative art.
3535
</Text>
3636
</Box>

0 commit comments

Comments
 (0)