Skip to content

Commit aef6453

Browse files
authored
Change main hackathon to Shipwrecked (#321)
* Change main hackathon to Shipwrecked * change normal dash to en dash
1 parent 5854f05 commit aef6453

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

components/announcement.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Announcement = ({
1818
backgroundImage,
1919
copyColor,
2020
captionColor,
21+
logoImageMaxWidth,
2122
...props
2223
}) => (
2324
<Card
@@ -57,11 +58,22 @@ const Announcement = ({
5758
sx={{ flex: '1 1 auto', strong: { display: ['inline', 'block'] }, color: copyColor }}
5859
>
5960
{copyLogo && (
60-
<img src={copyLogo} alt="Copy Logo" style={{ maxWidth: '280px', display: ['inline', 'block'] }} />
61+
<img src={copyLogo} alt="Copy Logo" style={{ maxWidth: logoImageMaxWidth, display: ['inline', 'block'] }} />
6162
)}
6263
<strong>{copy}</strong>
6364
{caption && (
64-
<Text as="span" variant="caption" color={captionColor}>
65+
<Text
66+
as="span"
67+
variant="caption"
68+
color={captionColor}
69+
sx={{
70+
backgroundColor: '#01AAF9',
71+
borderRadius: 5,
72+
px: 1,
73+
py: 1,
74+
display: 'inline-block'
75+
}}
76+
>
6577
{' '}
6678
{caption}
6779
</Text>

components/grouping.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,12 @@ export default ({
9494
</Box>
9595
) : null}
9696
<Announcement
97-
copyLogo="https://cloud-4fnsp2wse-hack-club-bot.vercel.app/0scrapyard.png"
98-
href="https://scrapyard.hackclub.com/?utm_source=hackathons&utm_campaign=hackathons-spotlight&utm_content=spotlight-card&utm_medium=web"
99-
caption="March 1-2: Austin, Texas • March 15-16: 100+ cities"
97+
copyLogo="https://hc-cdn.hel1.your-objectstorage.com/s/v3/e5cf596bd8e449439183c6ce9ff541a8f6547869_shipwrecked_logo__2_.png"
98+
logoImageMaxWidth="200px"
99+
href="https://shipwrecked.hackclub.com/?utm_source=hackathons&utm_campaign=hackathons-spotlight&utm_content=spotlight-card&utm_medium=web"
100+
caption="August 8&ndash;11: Cathleen Stone Island in the Boston Harbor"
100101
color="primary"
101-
backgroundImage="https://cloud-hqnbfdg3v-hack-club-bot.vercel.app/0image__14_.png"
102+
backgroundImage="https://hc-cdn.hel1.your-objectstorage.com/s/v3/7cd3b45ba3f5af7767b4538a363478daf8567234_launchimgsmaller.webp"
102103
copyColor="#ededed"
103104
captionColor="white"
104105
sx={{

0 commit comments

Comments
 (0)