Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0ae0cf9
Prototype community home
minimalsm Oct 27, 2021
03b85e8
Add meetup list inputs
minimalsm Nov 10, 2021
29bf885
Save
minimalsm Nov 22, 2021
2b5d62f
Update community hub
minimalsm Nov 23, 2021
0bcf3cc
Update get involved and online
minimalsm Nov 24, 2021
4395b54
Add support content
minimalsm Nov 24, 2021
6aec9f1
Update community nav dropdown
samajammin Nov 25, 2021
4f88e29
"Merge Sam's changes"
minimalsm Nov 29, 2021
e0175e5
Remove subnav from community
minimalsm Nov 29, 2021
897ed73
Update copy
minimalsm Nov 29, 2021
da716f4
Tweaks to online communities
minimalsm Nov 29, 2021
b5fbb21
fix: add headers in markdown missing headers
corwintines Dec 2, 2021
8d3fa44
Update src/content/developers/tutorials/logging-events-smart-contract…
corwintines Dec 6, 2021
00906ce
Update src/content/translations/pl/developers/tutorials/logging-event…
corwintines Dec 6, 2021
050b933
Update src/content/translations/ro/developers/tutorials/logging-event…
corwintines Dec 6, 2021
0bc995f
Update src/content/translations/zh/developers/tutorials/logging-event…
corwintines Dec 6, 2021
1ceb4a3
Update events
minimalsm Dec 7, 2021
dd9423b
Create EventCard and refactor UpcomingEventList to use EventCard
minimalsm Dec 7, 2021
ea7a1c7
Add regex to remove emojis from table of contents
minimalsm Dec 7, 2021
a7c94f3
Fix typo in UpcomingEventsList
minimalsm Dec 7, 2021
545a638
Replace emoji with Twemoji
minimalsm Dec 7, 2021
0a6a02c
Add breadcrumbs for online, support and events
minimalsm Dec 7, 2021
283925d
fix: contributors only display on 1 row for mobile, and show all lang…
corwintines Dec 7, 2021
4d77177
Remove meetups
minimalsm Dec 7, 2021
c564ab2
Add styled callouts
minimalsm Dec 7, 2021
b0d947a
Add common questions
minimalsm Dec 7, 2021
eb7a5d1
Fix broken heading
minimalsm Dec 7, 2021
47ac70d
Add links and header ids to online communities page
minimalsm Dec 7, 2021
3bd4d09
Add search by location
minimalsm Dec 8, 2021
c7ec156
Add search to meetups
minimalsm Dec 8, 2021
f6ecd0c
Add fallback banner if no upcoming events
samajammin Dec 8, 2021
9f9658d
Add additional links to support page
samajammin Dec 8, 2021
214d979
Remove Ethereum Gitter home link
samajammin Dec 8, 2021
be67dd7
feat: add new card for grants, edited copy and button order for OpenS…
corwintines Dec 8, 2021
73fffe6
fix: sentance casing for community-hub translation
corwintines Dec 8, 2021
a745eee
feat: add InfoBanner for empty search result in MeetupList
corwintines Dec 8, 2021
135d71a
feat: create and implement SocialListItem, update react-icons package
corwintines Dec 9, 2021
84f2365
move meetups into their own data file, add location to community-even…
corwintines Dec 9, 2021
34f8a34
fix: UpcomingEventsList and EventCard styling for some more breathing…
corwintines Dec 9, 2021
d220892
Merge branch 'dev' into communityHubUpdates
corwintines Dec 9, 2021
2902817
fix: convert over to gatasby v4 implementation
corwintines Dec 9, 2021
c56cd0e
Update FAQ questions
minimalsm Dec 9, 2021
d4b5d8b
feat: transltion support
corwintines Dec 9, 2021
5ee972e
Merge branch 'communityHubUpdates' of https://github.com/ethereum/eth…
corwintines Dec 9, 2021
5b6bc8c
fix: remove DAO from online page, will add this back in future
corwintines Dec 9, 2021
ade0bf1
Minor copy tweaks
samajammin Dec 10, 2021
75d4a7c
icon hover patch
wackerow Dec 10, 2021
0a387b4
Merge pull request #4521 from ethereum/communityHubUpdates
wackerow Dec 10, 2021
479a1d9
Merge branch 'dev' into add-headers-to-markdown-files
wackerow Dec 10, 2021
b20dff5
Merge pull request #4627 from ethereum/add-headers-to-markdown-files
wackerow Dec 10, 2021
210cef7
limit to 3 languages/user for leaderboard
wackerow Dec 10, 2021
bf375a4
Merge branch 'dev' into translation-acknowledgement-bugs
wackerow Dec 10, 2021
21c7bd8
Merge pull request #4678 from ethereum/translation-acknowledgement-bugs
wackerow Dec 10, 2021
84549f2
v3.1.0
wackerow Dec 10, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: transltion support
  • Loading branch information
corwintines committed Dec 9, 2021
commit d4b5d8b4f716db02ad47cddbd762995c8c43d4f5
48 changes: 48 additions & 0 deletions src/intl/en/page-community.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"page-community-card-1-title": "Join an online community",
"page-community-card-1-description": "Find your tribe and participate in community with other Ethereum enthusiasts.",
"page-community-card-2-title": "Ethereum events",
"page-community-card-2-description": "Find and participate in an Ethereum conference, hackathon, or meetup.",
"page-community-card-3-title": "Contribute to a project",
"page-community-card-3-description": "Check out how to get involved for a list of ways that you can contribute based on your skills and professional background.",
"page-community-card-4-title": "Search for grants",
"page-community-card-4-description": "Funding grants are available to help you get a project off the ground.",
"page-community-contribute": "Contribute to ethereum.org",
"page-community-contribute-button": "More on contributing",
"page-community-contribute-description": "For many people, ethereum.org is their first step into the ecosystem. It is kept up-to-date and accurate by thousands of open-source contributors. Want to help? Read our guide on contributing, or take up an issue on our GitHub.",
"page-community-contribute-secondary-button": "View on GitHub",
"page-community-explore-dapps": "Explore dapps",
"page-community-explore-dapps-alt": "Explore dapps",
"page-community-explore-dapps-description": "Dapps are applications built on Ethereum. Dapps are disrupting current business models and inventing new ones.",
"page-community-explore-dapps-title": "Try some dapps",
"page-community-explore-grants": "Explore grants",
"page-community-find-a-job": "Find a job",
"page-community-get-eth": "Get ETH",
"page-community-get-eth-alt": "Get some ETH",
"page-community-get-eth-description": "ETH is the native currency of Ethereum. You'll need some ETH in your wallet to use Ethereum applications.",
"page-community-get-eth-title": "Get some ETH",
"page-community-get-involved-title": "How can I get involved?",
"page-community-get-involved-description": "There are many ways to get involved in the fast-growing Ethereum community; you can join one of the popular online communities, attend an event, join a meetup group, contribute to a project, or participate in one of the many online forums about Ethereum.",
"page-community-get-involved-image-alt": "Get Involved",
"page-community-hero-alt": "Ethereum community hub",
"page-community-hero-header": "Welcome to the Ethereum community hub",
"page-community-hero-subtitle": "The Ethereum community is home to hundreds of thousands of developers, technologists, designers, users, HODLers and enthusiasts.",
"page-community-hero-title": "Join the community",
"page-community-meta-title": "Community Hub",
"page-community-meta-description": "Community homepage description",
"page-community-open-source": "Creator? Builder? Get paid for your work.",
"page-community-open-source-description": "Are you building on Ethereum, or do you want to? Companies are hiring for thousands of technical and non-technical roles. Got an idea of your own? Try finding a grant to get your project off the ground.",
"page-community-open-source-image-alt": "Get paid for your work",
"page-community-support": "Ethereum support",
"page-community-support-alt": "Support",
"page-community-support-button": "Get support",
"page-community-support-description": "Need support? There is no official Ethereum support, but hundreds of helpful communities are available to help you prosper on Ethereum.",
"page-community-try-ethereum": "Try Ethereum for yourself",
"page-community-why-get-involved-title": "Why get involved?",
"page-community-why-get-involved-card-1-title": "Find your tribe",
"page-community-why-get-involved-card-1-description": "There is a tribe for everyone. Find and connect with like minded individuals to discuss, ponder, and celebrate Ethereum together.",
"page-community-why-get-involved-card-2-title": "Earn a living",
"page-community-why-get-involved-card-2-description": "Everyone has bills to pay. Ethereum allows you to find meaningful work, and get paid well to do it.",
"page-community-why-get-involved-card-3-title": "Make a difference",
"page-community-why-get-involved-card-3-description": "Getting involved with Ethereum allows you to be an active stakeholder in a technology that is having a positive impact on millions of people."
}
203 changes: 89 additions & 114 deletions src/pages/community.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,6 @@ const H3 = styled.h3`
margin-bottom: 1rem;
`

const CenterText = styled.p`
text-align: center;
max-width: 800px;
margin-bottom: 1rem;
@media (max-width: ${(props) => props.theme.breakpoints.l}) {
margin: auto 1.5rem;
margin-bottom: 1rem;
}
`

const OpenSourceContainer = styled.div`
background: ${(props) => props.theme.colors.homeBoxTurquoise};
display: flex;
Expand Down Expand Up @@ -327,67 +317,52 @@ const StyledCallout = styled(Callout)`
const CommunityPage = ({ data }) => {
const intl = useIntl()

// const heroContent = {
// title: translateMessageId("page-community-title, intl),
// header: translateMessageId("page-community-hero-header", intl),
// subtitle: translateMessageId("page-community-hero-subtitle", intl),
// image: data.stablecoins.childImageSharp.fluid,
// alt: translateMessageId("page-community-hero-alt", intl),
// buttons: [
// {
// content: translateMessageId("page-community-hero-button", intl),
// path: "#",
// },
// {
// content: translateMessageId(
// "page-community-developer-support-button",
// intl
// ),
// path: "#",
// isSecondary: "isSecondary",
// },
// ],
// }

const heroContent = {
title: "Join the community",
header: "Welcome to the Ethereum community hub",
subtitle:
"The Ethereum community is home to hundreds of thousands of developers, technologists, designers, users, HODLers and enthusiasts.",
title: translateMessageId("page-community-hero-title", intl),
header: translateMessageId("page-community-hero-header", intl),
subtitle: translateMessageId("page-community-hero-subtitle", intl),
image: getImage(data.enterprise),
alt: translateMessageId("page-community-hero-alt", intl),
}

const cards = [
{
image: getImage(data.docking),
title: "Join an online community",
description:
"Find your tribe and participate in community with other Ethereum enthusiasts.",
title: translateMessageId("page-community-card-1-title", intl),
description: translateMessageId(
"page-community-card-1-description",
intl
),
alt: translateMessageId("page-index-get-started-wallet-image-alt", intl),
to: "/community/online/",
},
{
image: getImage(data.eth),
title: "Ethereum events",
description:
"Find and participate in an Ethereum conference, hackathon, or meetup.",
title: translateMessageId("page-community-card-2-title", intl),
description: translateMessageId(
"page-community-card-2-description",
intl
),
alt: translateMessageId("page-index-get-started-eth-image-alt", intl),
to: "/community/events/",
},
{
image: getImage(data.doge),
title: "Contribute to a project",
description:
"Check out how to get involved for a list of ways that you can contribute based on your skills and professional background.",
title: translateMessageId("page-community-card-3-title", intl),
description: translateMessageId(
"page-community-card-3-description",
intl
),
alt: translateMessageId("page-index-get-started-dapps-image-alt", intl),
to: "/community/get-involved/",
},
{
image: getImage(data.future),
title: "Search for grants",
description:
"Funding grants are available to help you get a project off the ground.",
title: translateMessageId("page-community-card-4-title", intl),
description: translateMessageId(
"page-community-card-4-description",
intl
),
alt: translateMessageId("page-index-get-started-dapps-image-alt", intl),
to: "/community/grants/",
},
Expand All @@ -396,43 +371,56 @@ const CommunityPage = ({ data }) => {
const whyGetInvolvedCards = [
{
emoji: ":mage:",
title: "Find your tribe",
description:
"There is a tribe for everyone. Find and connect with like minded individuals to discuss, ponder, and celebrate Ethereum together.",
title: translateMessageId(
"page-community-why-get-involved-card-1-title",
intl
),
description: translateMessageId(
"page-community-why-get-involved-card-1-description",
intl
),
},
{
emoji: ":dollar:",
title: "Earn a living",
description:
"Everyone has bills to pay. Ethereum allows you to find meaningful work, and get paid well to do it.",
title: translateMessageId(
"page-community-why-get-involved-card-2-title",
intl
),
description: translateMessageId(
"page-community-why-get-involved-card-2-description",
intl
),
},
{
emoji: ":collision:",
title: "Make a difference",
description:
"Getting involved with Ethereum allows you to be an active stakeholder in a technology that is having a positive impact on millions of people.",
title: translateMessageId(
"page-community-why-get-involved-card-3-title",
intl
),
description: translateMessageId(
"page-community-why-get-involved-card-3-description",
intl
),
},
]

return (
<Page>
{/* <PageMetadata
title={translateMessageId("page-community-title", intl)}
<PageMetadata
title={translateMessageId("page-community-meta-title", intl)}
description={translateMessageId(
"page-community-meta-description",
intl
)}
/> */}
<PageMetadata
title="Community Hub"
description="Community homepage description"
/>
<PageHero isReverse content={heroContent} />
<Divider />
<StyledPurpleContainer>
<Content>
<CentralColumn>
<H2>Why get involved?</H2>
<H2>
<Translation id="page-community-why-get-involved-title" />
</H2>
</CentralColumn>
<CardContainer>
{whyGetInvolvedCards.map((card, idx) => (
Expand All @@ -451,22 +439,11 @@ const CommunityPage = ({ data }) => {
<IntroRow>
<IntroLeftColumn>
<H2 id="get-involved">
{/* <Translation id="page-community-get-involved" /> */}
How can I get involved?
<Translation id="page-community-get-involved-title" />
</H2>
<Subtitle>
{/* <Translation id="page-community-get-involved-description" /> */}
There are many ways to get involved in the fast-growing Ethereum
community; you can join one of the popular online communities,
attend an event, join a meetup group, contribute to a project,
or participate in one of the many online forums about Ethereum.
<Translation id="page-community-get-involved-description" />
</Subtitle>
{/*
<ButtonLink to="/community/grants">
<Translation id="page-community-get-involved-button" />
Get involved!
</ButtonLink>
*/}
</IntroLeftColumn>
<ImageContainer>
<IntroImage
Expand Down Expand Up @@ -496,22 +473,17 @@ const CommunityPage = ({ data }) => {
<RowReverse>
<FeatureContent>
<H2>
{/* <Translation id="page-community-open-source" /> */}
Creator? Builder? Get paid for your work.
<Translation id="page-community-open-source" />
</H2>
<Subtitle>
{/* <Translation id="page-community-open-source-description" /> */}
Are you building on Ethereum, or do you want to? Companies are
hiring for thousands of technical and non-technical roles. Got an
idea of your own? Try finding a grant to get your project off the
ground.
<Translation id="page-community-open-source-description" />
</Subtitle>
<ButtonRow>
<ButtonLink to="/community/get-involved/#ethereum-jobs/">
Find a job
<Translation id="page-community-find-a-job" />
</ButtonLink>
<StyledButtonLink isSecondary to="/community/grants/">
Explore Grants
<Translation id="page-community-explore-grants" />
</StyledButtonLink>
</ButtonRow>
</FeatureContent>
Expand All @@ -531,27 +503,20 @@ const CommunityPage = ({ data }) => {
<FeatureContent>
<LeftColumnContent>
<H2>
{/* <Translation id="page-community-poap" /> */}
Contribute to ethereum.org
<Translation id="page-community-contribute" />
</H2>
<Subtitle>
{/* <Translation id="page-community-poap-description" /> */}
For many people, ethereum.org is their first step into the
ecosystem. It is kept up-to-date and accurate by thousands of
open-source contributors. Want to help? Read our guide on
contributing, or take up an issue on our GitHub.
<Translation id="page-community-contribute-description" />
</Subtitle>
<ButtonRow>
<ButtonLink to="/contributing/">
{/* <Translation id="page-community-poap-button" /> */}
More on contributing
<Translation id="page-community-contribute-button" />
</ButtonLink>
<StyledButtonLink
isSecondary
to="https://github.com/ethereum/ethereum-org-website/"
>
{/* <Translation id="page-community-poap-secondary-button" /> */}
View on GitHub
<Translation id="page-community-contribute-secondary-button" />
</StyledButtonLink>
</ButtonRow>
</LeftColumnContent>
Expand All @@ -568,19 +533,14 @@ const CommunityPage = ({ data }) => {
<RowReverse>
<FeatureContent>
<H2>
{/* <Translation id="page-community-support" /> */}
Ethereum support
<Translation id="page-community-support" />
</H2>
<Subtitle>
{/* <Translation id="page-community-support-description" /> */}
Need support? There is no official Ethereum support, but hundreds
of helpful communities are available to help you prosper on
Ethereum.
<Translation id="page-community-support-description" />
</Subtitle>
<div>
<ButtonLink to="/community/support/">
{/* <Translation id="page-community-support-button" /> */}
Get support
<Translation id="page-community-support-button" />
</ButtonLink>
</div>
</FeatureContent>
Expand All @@ -595,29 +555,44 @@ const CommunityPage = ({ data }) => {
<Divider />
<TwoColumnContent>
<Column>
<h2>Try Ethereum for yourself</h2>
<h2>
<Translation id="page-community-try-ethereum" />
</h2>
</Column>
</TwoColumnContent>
<Content>
<CardContainer>
<StyledCallout
image={getImage(data.eth)}
title="Get some ETH"
alt="alt"
description="ETH is the native currency of Ethereum. You'll need some ETH in your wallet to use Ethereum applications."
title={translateMessageId("page-community-get-eth-title", intl)}
alt={translateMessageId("page-community-get-eth-alt", intl)}
description={translateMessageId(
"page-community-get-eth-description",
intl
)}
>
<div>
<ButtonLink to="/get-eth/">Get ETH</ButtonLink>
<ButtonLink to="/get-eth/">
<Translation id="page-community-get-eth" />
</ButtonLink>
</div>
</StyledCallout>
<StyledCallout
image={getImage(data.doge)}
title="Try some dapps"
alt="alt"
description="Dapps are applications built on Ethereum. Dapps are disrupting current business models and inventing new ones."
title={translateMessageId(
"page-community-explore-dapps-title",
intl
)}
alt={translateMessageId("page-community-explore-dapps-alt", intl)}
description={translateMessageId(
"page-community-explore-dapps-description",
intl
)}
>
<div>
<ButtonLink to="/dapps/">Explore dapps</ButtonLink>
<ButtonLink to="/dapps/">
<Translation id="page-community-explore-dapps" />
</ButtonLink>
</div>
</StyledCallout>
</CardContainer>
Expand Down