diff --git a/components/HackathonCard.js b/components/HackathonCard.js index 459b5f7..4c76258 100644 --- a/components/HackathonCard.js +++ b/components/HackathonCard.js @@ -64,14 +64,14 @@ const EventDateString = styled.div` color: ${p => p.theme.colors.metadata}; ` -const HackathonCard = ({ registrationOpen, link, dateString, imageLink }) => { +const HackathonCard = ({ registrationOpen, link, dateString, imageLink, registrationOpenDate}) => { return ( - {`Registration ${registrationOpen ? 'Open' : 'Closed'}`} + {`${registrationOpen ? 'Registration Opens: ' + registrationOpenDate : 'Registration Closed'}`} {dateString} diff --git a/components/Hackathons.js b/components/Hackathons.js index e704075..f9bb079 100644 --- a/components/Hackathons.js +++ b/components/Hackathons.js @@ -9,7 +9,8 @@ const HackCampData = { imgSrc: '/assets/HackCamp2023.png', link: 'https://hackcamp.nwplus.io', date: 'Nov 18 - 19', - open: false, + registrationOpenDate: "Oct 6", + open: true, }; const nwHacksData = { imgSrc: '/assets/nwHacks2023.jpg', @@ -62,6 +63,7 @@ export default function Hackathons() { registrationOpen={HackCampData.open} link={HackCampData.link} dateString={HackCampData.date} + registrationOpenDate={HackCampData.registrationOpenDate} imageLink={HackCampData.imgSrc} />