From b2fa3a3d83d552d5feef4b41f1a53d20ffdb7d58 Mon Sep 17 00:00:00 2001 From: Ryan Yang Date: Fri, 1 Apr 2022 14:54:45 -0700 Subject: [PATCH] Updated slides button to fix color readability. Also added new event and fixed home page typo --- package.json | 2 +- .../pages/Events/components/EventCard/EventCard.js | 3 ++- src/app/pages/Home/Home.js | 2 +- src/assets/data/events/all.json | 12 ++++++++++++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 15a36bf6..8a20c6d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-duci", - "version": "1.0.0", + "version": "1.0.1", "private": true, "dependencies": { "@testing-library/user-event": "^12.8.3", diff --git a/src/app/pages/Events/components/EventCard/EventCard.js b/src/app/pages/Events/components/EventCard/EventCard.js index 59b29448..02028143 100644 --- a/src/app/pages/Events/components/EventCard/EventCard.js +++ b/src/app/pages/Events/components/EventCard/EventCard.js @@ -27,6 +27,7 @@ const EventCard = ({ ...event }) => ( 'button S fill ' + (label === 'Recording' ? 'blue' : 'gray') } + style={{color: label === 'Recording' ? 'white' : 'black', paddingTop:'8px'}} href={link} > @@ -35,7 +36,7 @@ const EventCard = ({ ...event }) => ( color={ label === 'Recording' ? 'var(--sky)' - : 'var(--gray)' + : 'var(--black)' } style={{ width: '24px', diff --git a/src/app/pages/Home/Home.js b/src/app/pages/Home/Home.js index e857936f..342929dc 100644 --- a/src/app/pages/Home/Home.js +++ b/src/app/pages/Home/Home.js @@ -140,7 +140,7 @@ const Home = () => (
- Get invovled in our special programs, like{' '} + Get involved in our special programs, like{' '} Design-a-thon {' '} diff --git a/src/assets/data/events/all.json b/src/assets/data/events/all.json index 164b3424..210ef485 100644 --- a/src/assets/data/events/all.json +++ b/src/assets/data/events/all.json @@ -1,4 +1,16 @@ [ + { + "title": "Ask Me Anything: Student Intern Panel", + "time": "4/20/2022 8:00 PM", + "duration": "90", + "type": "Workshop", + "desc": " Curious about designing at the industry level? Not sure how to land internships? Swing by our Ask Me Anything: Student Intern Panel to ask student peers about their design internship experiences! From graphic to UI/UX to product, we’ll have panelists from all types of design backgrounds. Be sure to prep any burning questions you may have, and we hope to see you there!", + "place": "Online", + "links": [{ + "label": "Zoom Link", + "link": "https://uci.zoom.us/j/99935306945" + }] + }, { "title": "Game Night Extravaganza", "time": "4/13/2022 8:00 PM",