Skip to content

Commit a2f401a

Browse files
committed
Merge branch 'dev' into patch-tutorial-typos
2 parents a9be12a + cb715ef commit a2f401a

File tree

811 files changed

+102826
-38434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

811 files changed

+102826
-38434
lines changed

.all-contributorsrc

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10713,6 +10713,159 @@
1071310713
"contributions": [
1071410714
"content"
1071510715
]
10716+
},
10717+
{
10718+
"login": "tudorpintea999",
10719+
"name": "iwantanode",
10720+
"avatar_url": "https://avatars.githubusercontent.com/u/87604944?v=4",
10721+
"profile": "https://github.com/tudorpintea999",
10722+
"contributions": [
10723+
"content"
10724+
]
10725+
},
10726+
{
10727+
"login": "shak58",
10728+
"name": "shak58",
10729+
"avatar_url": "https://avatars.githubusercontent.com/u/150069539?v=4",
10730+
"profile": "https://github.com/shak58",
10731+
"contributions": [
10732+
"content"
10733+
]
10734+
},
10735+
{
10736+
"login": "Muhammad-Altabba",
10737+
"name": "Muhammad Altabba",
10738+
"avatar_url": "https://avatars.githubusercontent.com/u/24407834?v=4",
10739+
"profile": "https://linkedin.com/in/muhammadaltabba",
10740+
"contributions": [
10741+
"content"
10742+
]
10743+
},
10744+
{
10745+
"login": "darigovresearch",
10746+
"name": "Darigov Research",
10747+
"avatar_url": "https://avatars.githubusercontent.com/u/30328618?v=4",
10748+
"profile": "https://www.darigovresearch.com/",
10749+
"contributions": [
10750+
"content"
10751+
]
10752+
},
10753+
{
10754+
"login": "shubhusion",
10755+
"name": "SHUBHAM SHARMA ",
10756+
"avatar_url": "https://avatars.githubusercontent.com/u/96301987?v=4",
10757+
"profile": "https://github.com/shubhusion",
10758+
"contributions": [
10759+
"ideas"
10760+
]
10761+
},
10762+
{
10763+
"login": "paulallensuxs",
10764+
"name": "paulallensuxs",
10765+
"avatar_url": "https://avatars.githubusercontent.com/u/114240091?v=4",
10766+
"profile": "https://github.com/paulallensuxs",
10767+
"contributions": [
10768+
"content"
10769+
]
10770+
},
10771+
{
10772+
"login": "pseudomata",
10773+
"name": "Pseudomata",
10774+
"avatar_url": "https://avatars.githubusercontent.com/u/132238190?v=4",
10775+
"profile": "https://pseudomata.com",
10776+
"contributions": [
10777+
"code"
10778+
]
10779+
},
10780+
{
10781+
"login": "CodeDragonVN",
10782+
"name": "CodeDragonVN",
10783+
"avatar_url": "https://avatars.githubusercontent.com/u/150457827?v=4",
10784+
"profile": "https://github.com/CodeDragonVN",
10785+
"contributions": [
10786+
"content"
10787+
]
10788+
},
10789+
{
10790+
"login": "SamiAlHassan",
10791+
"name": "SamiAlHassan",
10792+
"avatar_url": "https://avatars.githubusercontent.com/u/150172180?v=4",
10793+
"profile": "https://github.com/SamiAlHassan",
10794+
"contributions": [
10795+
"content"
10796+
]
10797+
},
10798+
{
10799+
"login": "NaijaCoderGirl",
10800+
"name": "NaijaCoderGirl",
10801+
"avatar_url": "https://avatars.githubusercontent.com/u/150683513?v=4",
10802+
"profile": "https://github.com/NaijaCoderGirl",
10803+
"contributions": [
10804+
"content"
10805+
]
10806+
},
10807+
{
10808+
"login": "konstantinzolotarev",
10809+
"name": "Konstantin Zolotarev",
10810+
"avatar_url": "https://avatars.githubusercontent.com/u/286431?v=4",
10811+
"profile": "https://github.com/konstantinzolotarev",
10812+
"contributions": [
10813+
"content"
10814+
]
10815+
},
10816+
{
10817+
"login": "vuittont60",
10818+
"name": "vuittont60",
10819+
"avatar_url": "https://avatars.githubusercontent.com/u/81072379?v=4",
10820+
"profile": "https://github.com/vuittont60",
10821+
"contributions": [
10822+
"content"
10823+
]
10824+
},
10825+
{
10826+
"login": "goldnite",
10827+
"name": "Golden Ite",
10828+
"avatar_url": "https://avatars.githubusercontent.com/u/114434414?v=4",
10829+
"profile": "http://goldnite.github.io",
10830+
"contributions": [
10831+
"content"
10832+
]
10833+
},
10834+
{
10835+
"login": "Erlangshen219",
10836+
"name": "Erlangshen219",
10837+
"avatar_url": "https://avatars.githubusercontent.com/u/104747507?v=4",
10838+
"profile": "https://github.com/Erlangshen219",
10839+
"contributions": [
10840+
"content"
10841+
]
10842+
},
10843+
{
10844+
"login": "AyDeveloper",
10845+
"name": "AyDeveloper",
10846+
"avatar_url": "https://avatars.githubusercontent.com/u/72970379?v=4",
10847+
"profile": "https://oxpampam.netlify.app/",
10848+
"contributions": [
10849+
"content"
10850+
]
10851+
},
10852+
{
10853+
"login": "jeremyfritzen",
10854+
"name": "jeremyfritzen",
10855+
"avatar_url": "https://avatars.githubusercontent.com/u/26802442?v=4",
10856+
"profile": "https://github.com/jeremyfritzen",
10857+
"contributions": [
10858+
"content"
10859+
]
10860+
},
10861+
{
10862+
"login": "fuzheng1998",
10863+
"name": "Zheng Fu",
10864+
"avatar_url": "https://avatars.githubusercontent.com/u/24203166?v=4",
10865+
"profile": "https://github.com/fuzheng1998",
10866+
"contributions": [
10867+
"code"
10868+
]
1071610869
}
1071710870
],
1071810871
"contributorsPerLine": 7,

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ To use an existing function locally you don't need to do anything. Just check th
122122
To create a new function, you will need to create two files:
123123

124124
- 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).
125-
- 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.
125+
- 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 [Gatsby docs](https://www.gatsbyjs.com/docs/reference/functions/getting-started/) for the format they follow.
126126

127127
Typically, you will develop and test functions in the Gatsby context, by running `yarn start`.
128128

@@ -1675,6 +1675,29 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16751675
<td align="center" valign="top" width="14.28%"><a href="http://p2p.org"><img src="https://avatars.githubusercontent.com/u/3310192?v=4?s=100" width="100px;" alt="Eugene"/><br /><sub><b>Eugene</b></sub></a><br /><a href="#content-rgb2hsl" title="Content">🖋</a></td>
16761676
<td align="center" valign="top" width="14.28%"><a href="http://www.danielgorbe.com"><img src="https://avatars.githubusercontent.com/u/36860942?v=4?s=100" width="100px;" alt="Dániel Görbe"/><br /><sub><b>Dániel Görbe</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=g0rbe" title="Documentation">📖</a></td>
16771677
<td align="center" valign="top" width="14.28%"><a href="https://blog.insubli.me"><img src="https://avatars.githubusercontent.com/u/41712656?v=4?s=100" width="100px;" alt="s-crypt"/><br /><sub><b>s-crypt</b></sub></a><br /><a href="#content-s-crypt" title="Content">🖋</a></td>
1678+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tudorpintea999"><img src="https://avatars.githubusercontent.com/u/87604944?v=4?s=100" width="100px;" alt="iwantanode"/><br /><sub><b>iwantanode</b></sub></a><br /><a href="#content-tudorpintea999" title="Content">🖋</a></td>
1679+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shak58"><img src="https://avatars.githubusercontent.com/u/150069539?v=4?s=100" width="100px;" alt="shak58"/><br /><sub><b>shak58</b></sub></a><br /><a href="#content-shak58" title="Content">🖋</a></td>
1680+
</tr>
1681+
<tr>
1682+
<td align="center" valign="top" width="14.28%"><a href="https://linkedin.com/in/muhammadaltabba"><img src="https://avatars.githubusercontent.com/u/24407834?v=4?s=100" width="100px;" alt="Muhammad Altabba"/><br /><sub><b>Muhammad Altabba</b></sub></a><br /><a href="#content-Muhammad-Altabba" title="Content">🖋</a></td>
1683+
<td align="center" valign="top" width="14.28%"><a href="https://www.darigovresearch.com/"><img src="https://avatars.githubusercontent.com/u/30328618?v=4?s=100" width="100px;" alt="Darigov Research"/><br /><sub><b>Darigov Research</b></sub></a><br /><a href="#content-darigovresearch" title="Content">🖋</a></td>
1684+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/shubhusion"><img src="https://avatars.githubusercontent.com/u/96301987?v=4?s=100" width="100px;" alt="SHUBHAM SHARMA "/><br /><sub><b>SHUBHAM SHARMA </b></sub></a><br /><a href="#ideas-shubhusion" title="Ideas, Planning, & Feedback">🤔</a></td>
1685+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/paulallensuxs"><img src="https://avatars.githubusercontent.com/u/114240091?v=4?s=100" width="100px;" alt="paulallensuxs"/><br /><sub><b>paulallensuxs</b></sub></a><br /><a href="#content-paulallensuxs" title="Content">🖋</a></td>
1686+
<td align="center" valign="top" width="14.28%"><a href="https://pseudomata.com"><img src="https://avatars.githubusercontent.com/u/132238190?v=4?s=100" width="100px;" alt="Pseudomata"/><br /><sub><b>Pseudomata</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=pseudomata" title="Code">💻</a></td>
1687+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/CodeDragonVN"><img src="https://avatars.githubusercontent.com/u/150457827?v=4?s=100" width="100px;" alt="CodeDragonVN"/><br /><sub><b>CodeDragonVN</b></sub></a><br /><a href="#content-CodeDragonVN" title="Content">🖋</a></td>
1688+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/SamiAlHassan"><img src="https://avatars.githubusercontent.com/u/150172180?v=4?s=100" width="100px;" alt="SamiAlHassan"/><br /><sub><b>SamiAlHassan</b></sub></a><br /><a href="#content-SamiAlHassan" title="Content">🖋</a></td>
1689+
</tr>
1690+
<tr>
1691+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/NaijaCoderGirl"><img src="https://avatars.githubusercontent.com/u/150683513?v=4?s=100" width="100px;" alt="NaijaCoderGirl"/><br /><sub><b>NaijaCoderGirl</b></sub></a><br /><a href="#content-NaijaCoderGirl" title="Content">🖋</a></td>
1692+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/konstantinzolotarev"><img src="https://avatars.githubusercontent.com/u/286431?v=4?s=100" width="100px;" alt="Konstantin Zolotarev"/><br /><sub><b>Konstantin Zolotarev</b></sub></a><br /><a href="#content-konstantinzolotarev" title="Content">🖋</a></td>
1693+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/vuittont60"><img src="https://avatars.githubusercontent.com/u/81072379?v=4?s=100" width="100px;" alt="vuittont60"/><br /><sub><b>vuittont60</b></sub></a><br /><a href="#content-vuittont60" title="Content">🖋</a></td>
1694+
<td align="center" valign="top" width="14.28%"><a href="http://goldnite.github.io"><img src="https://avatars.githubusercontent.com/u/114434414?v=4?s=100" width="100px;" alt="Golden Ite"/><br /><sub><b>Golden Ite</b></sub></a><br /><a href="#content-goldnite" title="Content">🖋</a></td>
1695+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Erlangshen219"><img src="https://avatars.githubusercontent.com/u/104747507?v=4?s=100" width="100px;" alt="Erlangshen219"/><br /><sub><b>Erlangshen219</b></sub></a><br /><a href="#content-Erlangshen219" title="Content">🖋</a></td>
1696+
<td align="center" valign="top" width="14.28%"><a href="https://oxpampam.netlify.app/"><img src="https://avatars.githubusercontent.com/u/72970379?v=4?s=100" width="100px;" alt="AyDeveloper"/><br /><sub><b>AyDeveloper</b></sub></a><br /><a href="#content-AyDeveloper" title="Content">🖋</a></td>
1697+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jeremyfritzen"><img src="https://avatars.githubusercontent.com/u/26802442?v=4?s=100" width="100px;" alt="jeremyfritzen"/><br /><sub><b>jeremyfritzen</b></sub></a><br /><a href="#content-jeremyfritzen" title="Content">🖋</a></td>
1698+
</tr>
1699+
<tr>
1700+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/fuzheng1998"><img src="https://avatars.githubusercontent.com/u/24203166?v=4?s=100" width="100px;" alt="Zheng Fu"/><br /><sub><b>Zheng Fu</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=fuzheng1998" title="Code">💻</a></td>
16781701
</tr>
16791702
</tbody>
16801703
</table>

i18n/config.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,14 @@
295295
"langDir": "ltr",
296296
"dateFormat": "MM/DD/YYYY"
297297
},
298+
{
299+
"code": "ne-np",
300+
"crowdinCode": "ne-np",
301+
"name": "Nepali",
302+
"localName": "नेपाली",
303+
"langDir": "ltr",
304+
"dateFormat": "MM/DD/YYYY"
305+
},
298306
{
299307
"code": "nl",
300308
"crowdinCode": "nl",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"@mdx-js/mdx": "^1.6.5",
1919
"@mdx-js/react": "^1.6.5",
2020
"algoliasearch": "^4.3.0",
21-
"axios": "^0.21.2",
21+
"axios": "^1.6.0",
2222
"browser-lang": "^0.1.0",
2323
"browserslist": "^4.21.0",
2424
"clipboard": "^2.0.6",

plugins/gatsby-remark-fix-static-urls/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const isRelativeUrl = require("is-relative-url")
1919
module.exports = ({ markdownNode, markdownAST }) => {
2020
const fileAbsoluteDir = path.dirname(markdownNode.fileAbsolutePath)
2121
const sourceAbsoluteDir = fileAbsoluteDir.replace(
22-
/translations\/\w{2}(-\w{2})?\//,
22+
/translations\/\w{2,3}(-\w{2})?\//,
2323
""
2424
)
2525
const relativePath = path.relative(fileAbsoluteDir, sourceAbsoluteDir)

src/@chakra-ui/gatsby-plugin/components/Badge.ts

Lines changed: 46 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,53 @@ const baseStyle = defineMergeStyles(defaultBaseStyle, {
1414
textTransform: "uppercase",
1515
})
1616

17-
const variantSecondary = defineStyle({
18-
borderColor: "primary100",
19-
color: "text",
20-
})
17+
const COLOR_SCHEME_MAP = {
18+
purple: {
19+
color: "black300",
20+
background: "primary100",
21+
borderColor: "primary100",
22+
},
23+
orange: {
24+
color: "text",
25+
background: "orange.100",
26+
borderColor: "orange.100",
27+
},
28+
green: {
29+
color: "white",
30+
background: "green.500",
31+
borderColor: "green.500",
32+
},
33+
blue: {
34+
color: "black",
35+
background: "blue.300",
36+
borderColor: "blue.300",
37+
},
38+
red: {
39+
color: "white",
40+
background: "red.500",
41+
borderColor: "red.500",
42+
},
43+
pink: {
44+
color: "black",
45+
background: "red.100",
46+
borderColor: "red.100",
47+
},
48+
gray: {
49+
color: "black",
50+
background: "gray.300",
51+
borderColor: "gray.300",
52+
},
53+
}
2154

22-
const variantSolid = defineStyle({
23-
color: "black300",
24-
background: "primary100",
25-
})
55+
const variantSecondary = defineStyle(({ colorScheme: c = "orange" }) => ({
56+
...COLOR_SCHEME_MAP[c],
57+
background: "transparent",
58+
}))
59+
60+
const variantSolid = defineStyle(({ colorScheme: c = "purple" }) => ({
61+
...COLOR_SCHEME_MAP[c],
62+
borderColor: "transparent",
63+
}))
2664

2765
export const Badge = defineStyleConfig({
2866
baseStyle,

src/@chakra-ui/gatsby-plugin/semanticTokens.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ const semanticTokens = {
9292
_dark: "whiteAlpha.400",
9393
},
9494
switchBackground: { _light: "gray.300", _dark: "whiteAlpha.400" },
95+
hubHeroContentBg: {
96+
_light: "rgba(255, 255, 255, 0.80)",
97+
_dark: "rgba(34, 34, 34, 0.80)",
98+
},
9599
},
96100
gradients: {
97101
bgMainGradient: {

src/@chakra-ui/gatsby-plugin/styles.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import { mode } from "@chakra-ui/theme-tools"
2-
31
const styles = {
4-
global: (props) => ({
2+
global: {
53
/**
64
* THESE ARE OLD GLOBAL STYLES - carried over from old css files
75
*
@@ -12,9 +10,7 @@ const styles = {
1210
* don't need the global styles anymore
1311
*/
1412
body: {
15-
// TODO: when we have Chakra v2, this should be done by overriding the
16-
// native Chakra semantic tokens
17-
bg: mode("white", "gray.800")(props),
13+
bg: "background.base",
1814
lineHeight: "base",
1915
fontSize: "md",
2016
},
@@ -83,7 +79,7 @@ const styles = {
8379
lineHeight: "base",
8480
fontFamily: "monospace",
8581
},
86-
}),
82+
},
8783
}
8884

8985
export default styles
438 KB
Loading
788 KB
Loading

0 commit comments

Comments
 (0)