From 6b67b3471f8f73bb770c5c667bbb62b06e8d9df5 Mon Sep 17 00:00:00 2001 From: Melvin Teo <62491197+meleongg@users.noreply.github.com> Date: Mon, 18 Sep 2023 14:46:48 -0700 Subject: [PATCH 01/12] updated hiring blurb to toggle CAP-related content based on new firebase CAP-related fields --- components/JoinUs.js | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/components/JoinUs.js b/components/JoinUs.js index 2325887..eb81ed0 100644 --- a/components/JoinUs.js +++ b/components/JoinUs.js @@ -4,9 +4,13 @@ import { useState, useEffect } from 'react'; import fireDb from '../utilities/firebase'; import { ContentContainer } from './ContentContainer'; -import { Title1, Body, MixedTextParagraph } from './Typography'; +import { Title1, Body, MixedTextParagraph, LinkBody } from './Typography'; import Button from './Button'; +const CAP_BODY = + '* This year, we are also recruiting non UBC students for our Campus Ambassador Program. Apply '; +const CAP_LINK_TEXT = 'here'; + const PaddingContainer = styled.div` padding-top: 256px; @@ -80,7 +84,8 @@ export const JoinUs = () => {
Apply now to join our nwPlus organizing team!