-
Notifications
You must be signed in to change notification settings - Fork 0
Add snippet of events page to home page #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
areebakq
wants to merge
4
commits into
master
Choose a base branch
from
event-component
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
61dc692
created new component for events, added component to events and home …
areebakq cf41210
cleaned up files, made eventsList to store events array used by event…
areebakq eb52051
updated events
areebakq d1a41b5
Merge branch 'master' into event-component
areebakq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,97 @@ | ||
| // eventList.js | ||
|
|
||
| // event list to be updated with event descriptions and flyters | ||
|
|
||
| const upcomingEvents = [ | ||
| { | ||
| name: "Seniors Panel - If I were a Freshman", | ||
| date: '4/13/2021 - 6:00 PM to 7:00 PM CT', | ||
| description: "Join us for an exciting panel with upcoming graduates to talk about their advice for collegiates and reflecting on what they would have done differently.", | ||
| link: 'https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffacebook.us19.list-manage.com%2Ftrack%2Fclick%3Fu%3Dada9150cb4cf2450b2870f9b7%26id%3D240f707f0b%26e%3D09a746bd56&data=04%7C01%7CAarushi.Pandey%40UTDallas.edu%7C2c4651082f0a457cc80208d8fdd956c1%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637538457203400591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=86fKMltlYMG9hB8AnVX60CKZmtkO%2Bi%2Fs%2B1lNz6QcCKs%3D&reserved=0' | ||
| }, | ||
| { | ||
| name: "WWC X JP Morgan - Imposter Syndrome and Preparing for a Virtual Internship", | ||
| date: '4/15/2021 - 6:00 PM to 7:00 PM CT', | ||
| description: "Join us for an exciting panel in collaboration with WWC featuring JP Morgan Chase for a discussion on imposter syndrome and preparing for a virtual internship! **We're looking for volunteers to represent SWE at this event. Please let us know if you'd like to volunteer! You can reach us on our GroupMe chat or Discord.**", | ||
| link: 'https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffacebook.us19.list-manage.com%2Ftrack%2Fclick%3Fu%3Dada9150cb4cf2450b2870f9b7%26id%3D73286f2cc3%26e%3D09a746bd56&data=04%7C01%7CAarushi.Pandey%40UTDallas.edu%7C2c4651082f0a457cc80208d8fdd956c1%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637538457203400591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=psupXlCb94e5%2F0XDGUUHwAVLFFomt8%2FqMzqsZCg4QFI%3D&reserved=0' | ||
| }, | ||
| { | ||
| name: "WEHack - Springboard", | ||
| date: '4/17/2021 - 4/18/2021', | ||
| description: "Springboard is a mini-hackathon designed to give new hackers the skills they need to be successful at future hackathons via workshops, panels, and lightning talks. Join us this weekend to prepare for WEHack 2021! Register today at https://forms.gle/b3SzrzZYz2WMYSsV7", | ||
| link: '' | ||
| }, | ||
| { | ||
| name: "Bridgeland High School Panel", | ||
| date: '4/20/2021', | ||
| description: "High school panel where current SWE members talk about what it's like to be a member of SWE in college, several broad engineering fields/topics, and any personal experiences in these fields. Look out for announcements regarding future volunteering opportunities on our Discord!", | ||
| link: '' | ||
| }, | ||
| { | ||
| name: "Optimize your Summer with Lennox", | ||
| date: '4/21/2021 - 7:00 PM to 8:00 PM CT', | ||
| description: "Join us for an exciting event with Lennox on goal planning and preparing for next recruiting season, standing out at your internship, and summer to do’s to grow your skills!", | ||
| link: 'https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffacebook.us19.list-manage.com%2Ftrack%2Fclick%3Fu%3Dada9150cb4cf2450b2870f9b7%26id%3D8238ad71a3%26e%3D09a746bd56&data=04%7C01%7CAarushi.Pandey%40UTDallas.edu%7C2c4651082f0a457cc80208d8fdd956c1%7C8d281d1d9c4d4bf7b16e032d15de9f6c%7C0%7C0%7C637538457203430575%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=mcwEJwsSXKI3piwVp4V08x8jTkfEM1x3maAc0f98Fy4%3D&reserved=0' | ||
| }, | ||
| ]; | ||
|
|
||
| const flyers = [ | ||
| { | ||
| image: '', | ||
| link: '' | ||
| }, | ||
| { | ||
| image: '', | ||
| link: '' | ||
| }, | ||
| { | ||
| image: '', | ||
| link: '' | ||
| }, | ||
| { | ||
| image: '', | ||
| link: '' | ||
| }, | ||
| { | ||
| image: '', | ||
| link: '' | ||
| }, | ||
| ]; | ||
|
|
||
| const styles = (theme) => ({ | ||
| gridItem: { | ||
| display: "flex", | ||
| }, | ||
| card: { | ||
| display: "flex", | ||
| justifyContent: "space-between", | ||
| flexDirection: "column", | ||
| width: "100%", | ||
| }, | ||
| table: { | ||
| minWidth: "50%", | ||
| maxWidth: "70%", | ||
| }, | ||
| imgResponsive: { | ||
| width: "200 px", | ||
| }, | ||
| appBar: { | ||
| zIndex: theme.zIndex.drawer + 1, | ||
| }, | ||
| }); | ||
|
|
||
| function createData(event, flyer) { | ||
| return { event, flyer }; | ||
| } | ||
|
|
||
| export const rows = [ | ||
| createData(upcomingEvents[0], flyers[0].image), | ||
| createData(upcomingEvents[1], flyers[1].image), | ||
| createData(upcomingEvents[2], flyers[2].image), | ||
| createData(upcomingEvents[3], flyers[3].image), | ||
| createData(upcomingEvents[4], flyers[4].image), | ||
| ]; | ||
|
|
||
| export default { | ||
| rows, | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would prob be easier to just have one array of objects rather than making sure the indexes of each match