-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Community hub updates #4521
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
Merged
Merged
Community hub updates #4521
Changes from 39 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
0ae0cf9
Prototype community home
minimalsm 03b85e8
Add meetup list inputs
minimalsm 29bf885
Save
minimalsm 2b5d62f
Update community hub
minimalsm 0bcf3cc
Update get involved and online
minimalsm 4395b54
Add support content
minimalsm 6aec9f1
Update community nav dropdown
samajammin 4f88e29
"Merge Sam's changes"
minimalsm e0175e5
Remove subnav from community
minimalsm 897ed73
Update copy
minimalsm da716f4
Tweaks to online communities
minimalsm 1ceb4a3
Update events
minimalsm dd9423b
Create EventCard and refactor UpcomingEventList to use EventCard
minimalsm ea7a1c7
Add regex to remove emojis from table of contents
minimalsm a7c94f3
Fix typo in UpcomingEventsList
minimalsm 545a638
Replace emoji with Twemoji
minimalsm 0a6a02c
Add breadcrumbs for online, support and events
minimalsm 4d77177
Remove meetups
minimalsm c564ab2
Add styled callouts
minimalsm b0d947a
Add common questions
minimalsm eb7a5d1
Fix broken heading
minimalsm 47ac70d
Add links and header ids to online communities page
minimalsm 3bd4d09
Add search by location
minimalsm c7ec156
Add search to meetups
minimalsm f6ecd0c
Add fallback banner if no upcoming events
samajammin 9f9658d
Add additional links to support page
samajammin 214d979
Remove Ethereum Gitter home link
samajammin be67dd7
feat: add new card for grants, edited copy and button order for OpenS…
corwintines 73fffe6
fix: sentance casing for community-hub translation
corwintines a745eee
feat: add InfoBanner for empty search result in MeetupList
corwintines 135d71a
feat: create and implement SocialListItem, update react-icons package
corwintines 84f2365
move meetups into their own data file, add location to community-even…
corwintines 34f8a34
fix: UpcomingEventsList and EventCard styling for some more breathing…
corwintines d220892
Merge branch 'dev' into communityHubUpdates
corwintines 2902817
fix: convert over to gatasby v4 implementation
corwintines c56cd0e
Update FAQ questions
minimalsm d4b5d8b
feat: transltion support
corwintines 5ee972e
Merge branch 'communityHubUpdates' of https://github.com/ethereum/eth…
corwintines 5b6bc8c
fix: remove DAO from online page, will add this back in future
corwintines ade0bf1
Minor copy tweaks
samajammin 75d4a7c
icon hover patch
wackerow 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
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,59 @@ | ||
| import React from "react" | ||
| import styled from "styled-components" | ||
| import Emoji from "./Emoji" | ||
| import ButtonLink from "./ButtonLink" | ||
|
|
||
| const StyledCard = styled.div` | ||
| display: flex; | ||
| flex: 1 1 30%; | ||
| max-width: 620px; | ||
| min-width: 240px; | ||
| margin: 2rem 0; | ||
| flex-direction: column; | ||
| justify-content: space-between; | ||
| background: ${(props) => props.theme.colors.ednBackground}; | ||
| border-radius: 2px; | ||
| border: 1px solid ${(props) => props.theme.colors.lightBorder}; | ||
| padding: 1.5rem; | ||
| ` | ||
|
|
||
| const Description = styled.p` | ||
| opacity: 0.8; | ||
| ` | ||
|
|
||
| const Date = styled.p` | ||
| color: ${(props) => props.theme.colors.primary}; | ||
| margin-bottom: 0; | ||
| text-align: right; | ||
| ` | ||
|
|
||
| const Location = styled.p` | ||
| margin-bottom: 0; | ||
| text-align: right; | ||
| ` | ||
|
|
||
| const LocationText = styled.span` | ||
| opacity: 0.6; | ||
| ` | ||
|
|
||
| const Title = styled.h3` | ||
| margin-top: 0; | ||
| ` | ||
|
|
||
| const EventCard = ({ title, to, date, description, className, location }) => ( | ||
| <StyledCard className={className}> | ||
| <Date> | ||
| {date} | ||
| <Emoji text=":spiral_calendar:" size={1} ml={`0.5em`} /> | ||
| </Date> | ||
| <Location> | ||
| <LocationText>{location}</LocationText> | ||
| <Emoji text=":round_pushpin:" size={1} ml={`0.5em`} /> | ||
| </Location> | ||
| <Title>{title}</Title> | ||
| <Description>{description}</Description> | ||
| <ButtonLink to={to}>View Event</ButtonLink> | ||
| </StyledCard> | ||
| ) | ||
|
|
||
| export default EventCard |
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
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
Oops, something went wrong.
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.
I think this change is creating some weird behavior on the nav dropdown icons:
Screen.Recording.2021-12-09.at.04.46.15.PM.mp4
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.
Yeah, still seeing this as well
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.
Just pushed a patch for this