From dc2910b4576b80e79687d4ee2a1d0e5596766a1b Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Thu, 23 Apr 2020 15:37:45 -0400 Subject: [PATCH] Begin Slack section --- pages/index.js | 170 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 166 insertions(+), 4 deletions(-) diff --git a/pages/index.js b/pages/index.js index 25fb9a97..48c3b29c 100644 --- a/pages/index.js +++ b/pages/index.js @@ -35,6 +35,11 @@ const CardLink = (props) => ( /> ) +const grad = (theme, from, to) => `radial-gradient( + ellipse farthest-corner at top left, ${theme.colors[from] || from}, ${ + theme.colors[to] || to +})` + export default () => ( <> @@ -203,12 +208,167 @@ export default () => ( + + + + + A{' '} + + 24/7 + {' '} + high schooler community. Get coding help, share projects, meet your + closest friends. + + + Have a coding question? Looking for project feedback? You’ll find + some fabulous people to talk to in our global Slack (Discord-style + online groupchat) with 3,000+ members, active at all hours. + + + + + + + + Channels on our Slack + + + `radial-gradient( + ellipse farthest-corner at top left, ${theme.colors.cyan}, ${theme.colors.blue})` + }} + > + + #ship + + + Share your latest projects & get feedback + + + `radial-gradient( + ellipse farthest-corner at top left, ${theme.colors.darkless}, ${theme.colors.darker})` + }} + > + + #hack-night + + + Biweekly mini-hackathon & video call hangout + + + + div': { + px: [3, 3], + py: [4, 4], + minHeight: 12 * 16, + display: 'flex', + flexDirection: 'column', + // justifyContent: 'center', + position: 'relative' + }, + h3: { + variant: 'text.headline', + color: 'white', + mt: 0 + } + }} + > + +

#lounge

+
+ +

#code

+
+ +

#support

+
+ +

#gamedev

+
+ +

#lgbtq

+
+ +

+ #photo- +
+ graphy +

+
+ +

#dogs

+
+ +

#design

+
+ +

#music

+
+ +

#lounge

+
+
+
+
`radial-gradient( - ellipse farthest-corner at top left, ${theme.colors.cyan}, ${theme.colors.blue})`, + backgroundImage: (theme) => grad(theme, 'yellow', 'orange'), color: 'white', py: [5, 6] }} @@ -224,7 +384,7 @@ export default () => ( variant="subtitle" sx={{ fontSize: 3, - color: 'smoke', + opacity: 0.875, maxWidth: 'copy', mx: 'auto', mb: 4 @@ -269,6 +429,7 @@ export default () => ( name="reason" placeholder="Write a few sentences." variant="forms.input" + sx={{ boxShadow: 'none !important' }} />