diff --git a/components/bank/landing.js b/components/bank/landing.js index 64002d9d..a05990ed 100644 --- a/components/bank/landing.js +++ b/components/bank/landing.js @@ -115,7 +115,14 @@ export default function Landing({ showButton, eventsCount }) { - + - - Haxidraw - + + Haxidraw + - Haxidraw is a W.I.P. open source drawing machine and online editor, - designed to be a fun and beginner friendly - introduction to digital fabrication and generative art. - + designed to be a fun and beginner friendly introduction to digital + fabrication and generative art. + @@ -69,4 +69,4 @@ export default function Haxidraw() { ) -} \ No newline at end of file +} diff --git a/components/index/cards/slack.js b/components/index/cards/slack.js index 2924b3bc..3615bdf1 100644 --- a/components/index/cards/slack.js +++ b/components/index/cards/slack.js @@ -113,7 +113,12 @@ export default function Slack({ data, slackKey, events }) { Join our Slack - 0 ? 'block' : 'none' }}> + 0 ? 'block' : 'none' + }} + > slate: 'black', black: 'slate', primary: 'error' - }[name] || 'black') + })[name] || 'black' const slide = keyframes({ from: { transform: 'translateY(-25%)', opacity: 0 }, diff --git a/components/slack/join-form.js b/components/slack/join-form.js index 7b39db1f..7dd82f4e 100644 --- a/components/slack/join-form.js +++ b/components/slack/join-form.js @@ -19,7 +19,11 @@ const JoinForm = ({ sx = {} }) => { clearOnSubmit: 5000, method: 'POST', initData: router.query.continent - ? { continent: router.query.continent, reason: router.query.reason, event: router.query.event } + ? { + continent: router.query.continent, + reason: router.query.reason, + event: router.query.event + } : { reason: router.query.reason, event: router.query.event } }) @@ -28,7 +32,6 @@ const JoinForm = ({ sx = {} }) => { const useWaitlist = process.env.NEXT_PUBLIC_OPEN !== 'true' return ( -
{eventReferrer && ( @@ -42,21 +45,17 @@ const JoinForm = ({ sx = {} }) => { textAlign: 'center' }} > - - {eventReferrer === "onboard" ? ( - "We can't wait to see your PCB!" - ): ( - `We can't wait to see you at ${eventReferrer}!` - )} + + {eventReferrer === 'onboard' + ? "We can't wait to see your PCB!" + : `We can't wait to see you at ${eventReferrer}!`} -
- + In the meantime, we'll be hanging around in the Slack - )} -