Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into refactor/FeedbackWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerAPfledderer committed Sep 24, 2023
2 parents 25fc5e4 + ba18135 commit df6a6cf
Show file tree
Hide file tree
Showing 1,240 changed files with 105,043 additions and 24,483 deletions.
177 changes: 176 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -7762,7 +7762,8 @@
"avatar_url": "https://avatars.githubusercontent.com/u/9850322?v=4",
"profile": "http://setharielgreen.com",
"contributions": [
"doc"
"doc",
"content"
]
},
{
Expand Down Expand Up @@ -10393,6 +10394,180 @@
"contributions": [
"content"
]
},
{
"login": "woseK",
"name": "woseK",
"avatar_url": "https://avatars.githubusercontent.com/u/110729731?v=4",
"profile": "https://github.com/woseK",
"contributions": [
"content",
"bug"
]
},
{
"login": "gunal-123",
"name": "Gunal",
"avatar_url": "https://avatars.githubusercontent.com/u/103403219?v=4",
"profile": "https://github.com/gunal-123",
"contributions": [
"content"
]
},
{
"login": "LadyDhaga",
"name": "chinaman123",
"avatar_url": "https://avatars.githubusercontent.com/u/106376368?v=4",
"profile": "https://github.com/LadyDhaga",
"contributions": [
"ideas"
]
},
{
"login": "z0rats",
"name": "Alex",
"avatar_url": "https://avatars.githubusercontent.com/u/32142853?v=4",
"profile": "http://t.me/mevsinternet",
"contributions": [
"doc",
"bug"
]
},
{
"login": "mteam88",
"name": "Matthew",
"avatar_url": "https://avatars.githubusercontent.com/u/84196639?v=4",
"profile": "https://mteam88.github.io",
"contributions": [
"bug",
"doc"
]
},
{
"login": "avalidurl",
"name": "gokhan",
"avatar_url": "https://avatars.githubusercontent.com/u/11991363?v=4",
"profile": "https://github.com/avalidurl",
"contributions": [
"bug"
]
},
{
"login": "0xadri",
"name": "Adri",
"avatar_url": "https://avatars.githubusercontent.com/u/738533?v=4",
"profile": "https://github.com/0xadri",
"contributions": [
"content"
]
},
{
"login": "DSherryD",
"name": "Sherry.Du",
"avatar_url": "https://avatars.githubusercontent.com/u/130898085?v=4",
"profile": "https://github.com/DSherryD",
"contributions": [
"content"
]
},
{
"login": "FrancescoXX",
"name": "Francesco Ciulla",
"avatar_url": "https://avatars.githubusercontent.com/u/18360871?v=4",
"profile": "http://francescociulla.com",
"contributions": [
"content"
]
},
{
"login": "blazingrome",
"name": "blazingrome",
"avatar_url": "https://avatars.githubusercontent.com/u/136898739?v=4",
"profile": "https://github.com/blazingrome",
"contributions": [
"content"
]
},
{
"login": "etan-status",
"name": "Etan Kissling",
"avatar_url": "https://avatars.githubusercontent.com/u/89844309?v=4",
"profile": "https://github.com/etan-status",
"contributions": [
"content"
]
},
{
"login": "kritik-sah",
"name": "kritik sah",
"avatar_url": "https://avatars.githubusercontent.com/u/57076429?v=4",
"profile": "https://linktr.ee/kritik",
"contributions": [
"bug"
]
},
{
"login": "Fuliggine",
"name": "Fuliggine",
"avatar_url": "https://avatars.githubusercontent.com/u/56844974?v=4",
"profile": "https://github.com/Fuliggine",
"contributions": [
"content"
]
},
{
"login": "Omsify",
"name": "Omsify",
"avatar_url": "https://avatars.githubusercontent.com/u/87442202?v=4",
"profile": "https://github.com/Omsify",
"contributions": [
"bug"
]
},
{
"login": "0xMimir",
"name": "0xMimir",
"avatar_url": "https://avatars.githubusercontent.com/u/108837858?v=4",
"profile": "https://github.com/0xMimir",
"contributions": [
"content"
]
},
{
"login": "bilaljawed",
"name": "Bilal",
"avatar_url": "https://avatars.githubusercontent.com/u/17548944?v=4",
"profile": "https://github.com/bilaljawed",
"contributions": [
"content"
]
},
{
"login": "ilanolkies",
"name": "Ilan",
"avatar_url": "https://avatars.githubusercontent.com/u/36084092?v=4",
"profile": "https://ilanolkies.com",
"contributions": [
"content"
]
},
{
"login": "umededoteth",
"name": "umede",
"avatar_url": "https://avatars.githubusercontent.com/u/122288558?v=4",
"profile": "https://mirror.xyz/umede.eth",
"contributions": [
"content"
]
},
{
"login": "taminobaumann",
"name": "Tamino",
"avatar_url": "https://avatars.githubusercontent.com/u/48290617?v=4",
"profile": "http://taminobaumann.com",
"contributions": [
"content"
]
}
],
"contributorsPerLine": 7,
Expand Down
31 changes: 25 additions & 6 deletions .storybook/i18next.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
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 @@ -9,7 +10,14 @@ export const baseLocales = {
}

// Only i18n files named in this array are being exposed to Storybook. Add filenames as necessary.
const ns = ["common", "page-about", "page-upgrades", "page-developers-index"]
const ns = [
"common",
"glossary",
"page-about",
"page-index",
"page-upgrades",
"page-developers-index",
]
const supportedLngs = Object.keys(baseLocales)

/**
Expand All @@ -19,11 +27,22 @@ const supportedLngs = Object.keys(baseLocales)
const resources: Resource = ns.reduce((acc, n) => {
supportedLngs.forEach((lng) => {
if (!acc[lng]) acc[lng] = {}
acc[lng] = {
translation: {
...acc[lng].translation,
...require(`../src/intl/${lng}/${n}.json`),
},
try {
acc[lng] = {
translation: {
...acc[lng].translation,

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

...require(`../src/intl/en/${n}.json`),
},
}
}
})
return acc
Expand Down
36 changes: 33 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ To use an existing function locally you don't need to do anything. Just check th

To create a new function, you will need to create two files:

- One in `src/lambdas` where the logic will live. These are the ones that will be deployed to Netlify. These functions follow [this format](https://docs.netlify.com/functions/build-with-javascript/#synchronous-function-format).
- One in `src/lambda` where the logic will live. These are the ones that will be deployed to Netlify. These functions follow [this format](https://docs.netlify.com/functions/build-with-javascript/#synchronous-function-format).
- One in `src/api` that will be just a wrapper around the previous one in order to be compatible with Gatsby functions. More on the [Gatbsy docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) for the format they follow.

Typically, you will develop and test functions in the Gatsby context, by running `yarn start`.
Expand Down Expand Up @@ -175,7 +175,12 @@ Learn more about how we review pull requests [here](docs/review-process.md).

- To help with verification we request GitHub contributors connect their GitHub account with their Discord account (Discord > Settings > Connections > GitHub). Crowdin contributors will be verified directly through Crowdin by our team.

- If you haven't contributed yet and would like to earn a POAP to show your loyalty to the Ethereum space, head over to the [issues](https://github.com/ethereum/ethereum-org-website/issues/) tab to get started!
### GitPOAP

- If you've made at least one contribution and that gets merged into ethereum.org, GitPOAP will also auto recognize it and let you mint a unique contributor POAP.
[More on GitPOAP](https://www.gitpoap.io).

If you haven't contributed yet and would like to earn a POAP to show your loyalty to the Ethereum space, head over to the [issues](https://github.com/ethereum/ethereum-org-website/issues/) tab to get started!

<hr style="margin-top: 3em; margin-bottom: 3em;">

Expand Down Expand Up @@ -1256,7 +1261,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="http://graz.network"><img src="https://avatars.githubusercontent.com/u/102697012?v=4?s=100" width="100px;" alt="Graz Network"/><br /><sub><b>Graz Network</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=graz-network" title="Documentation">📖</a> <a href="#translation-graz-network" title="Translation">🌍</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/c/Cryptoversidad"><img src="https://avatars.githubusercontent.com/u/107050863?v=4?s=100" width="100px;" alt="Cryptoversidad"/><br /><sub><b>Cryptoversidad</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=cryptoversidad" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://disconnect3d.pl/"><img src="https://avatars.githubusercontent.com/u/10009354?v=4?s=100" width="100px;" alt="Disconnect3d"/><br /><sub><b>Disconnect3d</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=disconnect3d" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Adisconnect3d" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://setharielgreen.com"><img src="https://avatars.githubusercontent.com/u/9850322?v=4?s=100" width="100px;" alt="Seth Ariel Green"/><br /><sub><b>Seth Ariel Green</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=setgree" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://setharielgreen.com"><img src="https://avatars.githubusercontent.com/u/9850322?v=4?s=100" width="100px;" alt="Seth Ariel Green"/><br /><sub><b>Seth Ariel Green</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=setgree" title="Documentation">📖</a> <a href="#content-setgree" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/lcalixxto/"><img src="https://avatars.githubusercontent.com/u/98348072?v=4?s=100" width="100px;" alt="Luisa Calixto"/><br /><sub><b>Luisa Calixto</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=lcalixxto" title="Documentation">📖</a> <a href="#content-lcalixxto" title="Content">🖋</a></td>
</tr>
<tr>
Expand Down Expand Up @@ -1625,6 +1630,31 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TucksonDev"><img src="https://avatars.githubusercontent.com/u/105675159?v=4?s=100" width="100px;" alt="Tuckson"/><br /><sub><b>Tuckson</b></sub></a><br /><a href="#content-TucksonDev" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://twitter.com/_Akamig"><img src="https://avatars.githubusercontent.com/u/6278999?v=4?s=100" width="100px;" alt="Akamig"/><br /><sub><b>Akamig</b></sub></a><br /><a href="#content-Akamig" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/perriefidelis"><img src="https://avatars.githubusercontent.com/u/30669761?v=4?s=100" width="100px;" alt="Peace Ojemeh"/><br /><sub><b>Peace Ojemeh</b></sub></a><br /><a href="#content-perriefidelis" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/woseK"><img src="https://avatars.githubusercontent.com/u/110729731?v=4?s=100" width="100px;" alt="woseK"/><br /><sub><b>woseK</b></sub></a><br /><a href="#content-woseK" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AwoseK" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/gunal-123"><img src="https://avatars.githubusercontent.com/u/103403219?v=4?s=100" width="100px;" alt="Gunal"/><br /><sub><b>Gunal</b></sub></a><br /><a href="#content-gunal-123" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LadyDhaga"><img src="https://avatars.githubusercontent.com/u/106376368?v=4?s=100" width="100px;" alt="chinaman123"/><br /><sub><b>chinaman123</b></sub></a><br /><a href="#ideas-LadyDhaga" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://t.me/mevsinternet"><img src="https://avatars.githubusercontent.com/u/32142853?v=4?s=100" width="100px;" alt="Alex"/><br /><sub><b>Alex</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=z0rats" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Az0rats" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://mteam88.github.io"><img src="https://avatars.githubusercontent.com/u/84196639?v=4?s=100" width="100px;" alt="Matthew"/><br /><sub><b>Matthew</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Amteam88" title="Bug reports">🐛</a> <a href="https://github.com/ethereum/ethereum-org-website/commits?author=mteam88" title="Documentation">📖</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/avalidurl"><img src="https://avatars.githubusercontent.com/u/11991363?v=4?s=100" width="100px;" alt="gokhan"/><br /><sub><b>gokhan</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aavalidurl" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xadri"><img src="https://avatars.githubusercontent.com/u/738533?v=4?s=100" width="100px;" alt="Adri"/><br /><sub><b>Adri</b></sub></a><br /><a href="#content-0xadri" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/DSherryD"><img src="https://avatars.githubusercontent.com/u/130898085?v=4?s=100" width="100px;" alt="Sherry.Du"/><br /><sub><b>Sherry.Du</b></sub></a><br /><a href="#content-DSherryD" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://francescociulla.com"><img src="https://avatars.githubusercontent.com/u/18360871?v=4?s=100" width="100px;" alt="Francesco Ciulla"/><br /><sub><b>Francesco Ciulla</b></sub></a><br /><a href="#content-FrancescoXX" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/blazingrome"><img src="https://avatars.githubusercontent.com/u/136898739?v=4?s=100" width="100px;" alt="blazingrome"/><br /><sub><b>blazingrome</b></sub></a><br /><a href="#content-blazingrome" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/etan-status"><img src="https://avatars.githubusercontent.com/u/89844309?v=4?s=100" width="100px;" alt="Etan Kissling"/><br /><sub><b>Etan Kissling</b></sub></a><br /><a href="#content-etan-status" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://linktr.ee/kritik"><img src="https://avatars.githubusercontent.com/u/57076429?v=4?s=100" width="100px;" alt="kritik sah"/><br /><sub><b>kritik sah</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Akritik-sah" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Fuliggine"><img src="https://avatars.githubusercontent.com/u/56844974?v=4?s=100" width="100px;" alt="Fuliggine"/><br /><sub><b>Fuliggine</b></sub></a><br /><a href="#content-Fuliggine" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Omsify"><img src="https://avatars.githubusercontent.com/u/87442202?v=4?s=100" width="100px;" alt="Omsify"/><br /><sub><b>Omsify</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AOmsify" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/0xMimir"><img src="https://avatars.githubusercontent.com/u/108837858?v=4?s=100" width="100px;" alt="0xMimir"/><br /><sub><b>0xMimir</b></sub></a><br /><a href="#content-0xMimir" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bilaljawed"><img src="https://avatars.githubusercontent.com/u/17548944?v=4?s=100" width="100px;" alt="Bilal"/><br /><sub><b>Bilal</b></sub></a><br /><a href="#content-bilaljawed" title="Content">🖋</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://ilanolkies.com"><img src="https://avatars.githubusercontent.com/u/36084092?v=4?s=100" width="100px;" alt="Ilan"/><br /><sub><b>Ilan</b></sub></a><br /><a href="#content-ilanolkies" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://mirror.xyz/umede.eth"><img src="https://avatars.githubusercontent.com/u/122288558?v=4?s=100" width="100px;" alt="umede"/><br /><sub><b>umede</b></sub></a><br /><a href="#content-umededoteth" title="Content">🖋</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://taminobaumann.com"><img src="https://avatars.githubusercontent.com/u/48290617?v=4?s=100" width="100px;" alt="Tamino"/><br /><sub><b>Tamino</b></sub></a><br /><a href="#content-taminobaumann" title="Content">🖋</a></td>
</tr>
</tbody>
</table>
Expand Down
8 changes: 8 additions & 0 deletions docs/best-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,11 @@ export const query = graphql`
`
// These query results get passed as an object `props.data` to your component
```

### Using custom `GatsbyImage`

[GatsbyImage](https://www.gatsbyjs.com/plugins/gatsby-plugin-image/) is the component of choice to handle responsive images processed through graphql. However, we use a custom version of this component that is properly optimized with Chakra. This way we can use style props from Chakra but still be able to forward common or GatsbyImage-specific props to the Gatsby component for correct usage and rendering.

```tsx
import GatsbyImage from "./components/GatsbyImage"
```
Loading

0 comments on commit df6a6cf

Please sign in to comment.