Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
5dcfcdc
feat(Hero): create multiple hero components for new DS
TylerAPfledderer Jul 20, 2023
0b4f4e9
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
TylerAPfledderer Sep 12, 2023
feba0e4
fix(Hero/utils): set optional tuple element for buttons
TylerAPfledderer Sep 18, 2023
25c443b
feat(pages/learn): implement `HubHero`
TylerAPfledderer Sep 18, 2023
8e83d10
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
TylerAPfledderer Sep 20, 2023
cbe229b
refactor(Hero): use custom globalized `GatsbyImage`
TylerAPfledderer Sep 20, 2023
53286dd
fix(ContentHero): return empty for undefined button in iterative
TylerAPfledderer Sep 20, 2023
1e92f6e
refactor(Hero): create central import entry
TylerAPfledderer Sep 20, 2023
5344f14
refactor(ContentHero): allow entire `Breadcrumbs` prop object to be p…
TylerAPfledderer Sep 23, 2023
3a14aaf
refactor(ContentHero): render heading as `h1`
TylerAPfledderer Sep 23, 2023
1357ecd
chore(MdxHero): change `heroTitle` prop to `title`
TylerAPfledderer Sep 23, 2023
256fffc
chore(CallToAction): remove double import
TylerAPfledderer Sep 23, 2023
d1ebcc5
chore(CallToAction): add `content` as an omitted prop from `ButtonProps`
TylerAPfledderer Sep 24, 2023
1cb49e6
refactor(Hero): add `title` to `CommonHeroProps`
TylerAPfledderer Sep 24, 2023
7d388ec
refactor(CallToAction): change type signature for `index` prop
TylerAPfledderer Sep 24, 2023
f250f3c
fix(Hero): update prop names used in stories
TylerAPfledderer Sep 24, 2023
07619e5
style(MdxHero): remove margin from breadcrumbs and add TODO reminder
TylerAPfledderer Sep 24, 2023
051f51e
Merge branch 'dev' into feat/hero-new-ds
pettinarip Sep 26, 2023
7e4793e
fix(Hero): update imports from `Buttons`
TylerAPfledderer Sep 27, 2023
116955b
French content buckets (Use cases, Staking, Learn pages, Learn hub & …
corwintines Sep 27, 2023
7225634
Kannada content buckets (Use cases)
corwintines Sep 27, 2023
f03ee75
add "kn" to languages
wackerow Oct 2, 2023
700bb5b
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
TylerAPfledderer Oct 3, 2023
136ccde
style(Hero): remove unneeded spacing override for breadcrumbs
TylerAPfledderer Oct 3, 2023
d77680d
Remove unused SVGs
minimalsm Oct 3, 2023
0f0c35b
Update src/content/translations/fr/staking/dvt/index.md
minimalsm Oct 3, 2023
ae10a05
fix(theme/Heading): flip `lineHeight`'s rendered to match DS
TylerAPfledderer Oct 4, 2023
e076088
Merge pull request #1 from ethereum/dev
intrepidocabral Oct 11, 2023
fa30c68
Update the date of ETH Brazil into community-events.json
intrepidocabral Oct 11, 2023
e96e255
Update review-process.md
fvaysh Oct 13, 2023
7788213
Merge branch 'dev' into sept26French
corwintines Oct 16, 2023
e63edca
Dutch content buckets (Essentials, Exploring, Use Ethereum, Use cases)
corwintines Oct 16, 2023
379c440
Merge pull request #11363 from TylerAPfledderer/fix/heading-flip-line…
pettinarip Oct 18, 2023
879e611
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
TylerAPfledderer Oct 18, 2023
e2556af
feat(pages/learn): use new image for learn hub hero
TylerAPfledderer Oct 18, 2023
888b973
fix(pages/learn): add spacing beneath the hero on mobile
TylerAPfledderer Oct 18, 2023
b4784b7
chore: account create text typo
byhow Oct 18, 2023
d0f431a
Update wallet listing policy link [Fixes #11470]
samajammin Oct 18, 2023
195e2d8
patch stray colon to fix header
wackerow Oct 18, 2023
36a722b
chore(learn-hub-hero): supply higher-quality image
TylerAPfledderer Oct 19, 2023
ecb9e50
Spelling mistake in index.md
Wilson-Wu1 Oct 20, 2023
60f1854
Update Crowdin contributors
actions-user Oct 22, 2023
63c37ff
remove netlify-lambda from build process
pettinarip Oct 17, 2023
9973986
Merge pull request #11490 from ethereum/remove-netlify-lambda
corwintines Oct 23, 2023
ef1fb19
Merge pull request #11469 from byhow/fix/wallet-creation-spelling
corwintines Oct 23, 2023
ecc6b33
Merge pull request #11446 from ethereum/october15Dutch
minimalsm Oct 23, 2023
b360635
Merge pull request #11288 from ethereum/sept27Kannada
minimalsm Oct 23, 2023
49ca1fa
Merge pull request #11282 from ethereum/sept26French
minimalsm Oct 23, 2023
75652c8
Merge pull request #11483 from ethereum/automated-update-20231022001113
minimalsm Oct 23, 2023
cd14eae
patch intl links for wallet policy
wackerow Oct 23, 2023
b3fc66e
Update src/content/developers/tutorials/uniswap-v2-annotated-code/ind…
minimalsm Oct 23, 2023
184f864
Merge pull request #11480 from Wilson-Wu1/patch-1
minimalsm Oct 23, 2023
ae64e7e
docs: update README.md [skip ci]
allcontributors[bot] Oct 23, 2023
6d81a27
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Oct 23, 2023
8093328
Merge pull request #11491 from ethereum/all-contributors/add-Wilson-Wu1
minimalsm Oct 23, 2023
11d83b9
docs: update README.md [skip ci]
allcontributors[bot] Oct 23, 2023
e301e88
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Oct 23, 2023
3dea06c
Merge pull request #11435 from fvaysh/patch-1
minimalsm Oct 23, 2023
b7a7d42
Merge pull request #11492 from ethereum/all-contributors/add-fvaysh
minimalsm Oct 23, 2023
947cafd
docs: update README.md [skip ci]
allcontributors[bot] Oct 23, 2023
623d5f8
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Oct 23, 2023
511fcc8
Merge pull request #11493 from ethereum/all-contributors/add-costgallo
minimalsm Oct 23, 2023
f50e92e
Merge pull request #11471 from ethereum/wallet-listing-policy-link
wackerow Oct 23, 2023
e327039
Merge pull request #11472 from ethereum/header-patch
corwintines Oct 23, 2023
cb4fb77
remove WritersCohortBanner
wackerow Oct 23, 2023
9b35261
style(Morpher): update color to `body.medium`
TylerAPfledderer Oct 24, 2023
21ca922
refactor(pages/index): apply new home hero
TylerAPfledderer Oct 24, 2023
546dffe
remove lambda functions
pettinarip Oct 24, 2023
d96b2db
style(theme): update font styling for mono text
TylerAPfledderer Oct 24, 2023
722f6a2
Merge pull request #11132 from TylerAPfledderer/feat/hero-new-ds
corwintines Oct 25, 2023
124bcf5
Merge pull request #11416 from intrepidocabral/dev
corwintines Oct 25, 2023
2d70f03
Merge branch 'dev' into remove-cohort-banner
corwintines Oct 25, 2023
ba7a5c3
Merge pull request #11494 from ethereum/remove-cohort-banner
corwintines Oct 25, 2023
d6a776b
Merge pull request #11495 from ethereum/remove-lambdas
corwintines Oct 25, 2023
66e1989
Merge branch 'staging' into dev
corwintines Oct 25, 2023
2d51226
Merge pull request #11502 from TylerAPfledderer/fix/code-font-size
pettinarip Oct 25, 2023
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
Merge remote-tracking branch 'origin/dev' into feat/hero-new-ds
  • Loading branch information
TylerAPfledderer committed Sep 12, 2023
commit 0b4f4e952c68ea25e50bb2112b9bd80392336db4
30 changes: 15 additions & 15 deletions .storybook/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import i18n, { Resource } from "i18next"
import { initReactI18next } from "gatsby-plugin-react-i18next"
import fs from "fs"

export const baseLocales = {
en: { title: "English", left: "En" },
Expand All @@ -14,8 +13,8 @@ const ns = [
"common",
"glossary",
"page-about",
"page-learn",
"page-index",
"page-learn",
"page-upgrades",
"page-developers-index",
]
Expand All @@ -27,22 +26,23 @@ const supportedLngs = Object.keys(baseLocales)
*/
const resources: Resource = ns.reduce((acc, n) => {
supportedLngs.forEach((lng) => {
let langFile: object

if (!acc[lng]) acc[lng] = {}
try {
langFile = require(`../src/intl/${lng}/${n}.json`)
} catch {
// If the search file is not found
return acc
}
acc[lng] = {
translation: {
...acc[lng].translation,

if (!acc[lng]) acc[lng] = {}
...require(`../src/intl/${lng}/${n}.json`),
},
}
} catch {
acc[lng] = {
translation: {
...acc[lng].translation,

acc[lng] = {
translation: {
...acc[lng].translation,
...langFile,
},
...require(`../src/intl/en/${n}.json`),
},
}
}
})
return acc
Expand Down
8 changes: 4 additions & 4 deletions docs/ds-implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Follow the new component directory structure:
```markdown
src/
└── components/
└── ComponentA/
β”œβ”€β”€ index.tsx
β”œβ”€β”€ ComponentA.stories.tsx
└── // Any other files as applicable (utils, child components, useHook, etc.)
└── ComponentA/
β”œβ”€β”€ index.tsx
β”œβ”€β”€ ComponentA.stories.tsx
└── // Any other files as applicable (utils, child components, useHook, etc.)
```

## Components creation/modification from the DS
Expand Down
2 changes: 1 addition & 1 deletion src/data/community-events.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
{
{
"title": "Road to Devcon(ShenzhenοΌ‰",
"to": "https://ethsz.openbuild.xyz/",
"sponsor": null,
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.