Skip to content
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

Release candidate v7.22.0 #11228

Merged
merged 150 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
7495f42
Update index.md
bilaljawed Sep 6, 2023
e191ed4
Update index.md
ilanolkies Sep 7, 2023
f72a4fa
Update index.md
SovereignSignal Sep 11, 2023
e730139
Fix typo
yuta17 Sep 11, 2023
7444e2b
refactor: create Chakra GatsbyImage component
TylerAPfledderer Sep 12, 2023
5acee51
refactor(GatsbyImage): add `objectPosition` to forwarded props
TylerAPfledderer Sep 12, 2023
233e220
docs(GatsbyImage): update comment regarding forwarded props
TylerAPfledderer Sep 12, 2023
dbdbcc8
docs(best-practices): add doc regarding custom `GatsbyImage`
TylerAPfledderer Sep 12, 2023
e832226
chore(GatsbyImage): rename `GatsbyImageProps` to `GatsbyImageType`
TylerAPfledderer Sep 12, 2023
076bb2c
Update community-events.json
arredr2 Sep 13, 2023
a51b9f2
Merge pull request #11147 from arredr2/patch-1
nhsz Sep 13, 2023
fd3c8a2
Update Linen wallet info
frostiq Sep 13, 2023
0537abd
Update community-events.json
arredr2 Sep 13, 2023
607fc8b
Linen wallet logo updated
frostiq Sep 13, 2023
81ed60e
Merge pull request #11154 from ethereum/staging
corwintines Sep 14, 2023
19693c4
patch casing for styles
wackerow Sep 15, 2023
8d842bb
chore(GatsbyImage): add `imgClassName` and `imgStyle` to forward props
TylerAPfledderer Sep 15, 2023
c411ce5
chore(GatsbyImage): add semantic label for React dev tools
TylerAPfledderer Sep 15, 2023
2fd0a98
Merge remote-tracking branch 'origin/dev' into feat/chakra-gatsby-image
TylerAPfledderer Sep 15, 2023
445fea7
use custom GatsbyImage component to display image
pettinarip Sep 15, 2023
20ac961
fix heading and spacing of roadmap cards
pettinarip Sep 15, 2023
fcf9b5d
Add ETHDubai 2024 conference and hackathon dates
patcito Sep 15, 2023
abcfb00
fixed broken link
0xMimir Sep 15, 2023
c02e4a7
Update index.md
0xjy Sep 17, 2023
d103f34
Add ETHTbilisi
sosoxuc Sep 17, 2023
b4a77f2
docs(templates/upgrade): remove extra characters
TylerAPfledderer Sep 18, 2023
cc49ffa
Add Amharic language to config
minimalsm Sep 18, 2023
1a557da
Update homepages: am, az, zh, zh-tw, cs, ka, de, el, id, ja, km, ru, …
minimalsm Sep 18, 2023
86486d4
Add Belarusian, Bosnian, and Armenian languages
minimalsm Sep 18, 2023
f7faa41
Add homepage updates
minimalsm Sep 18, 2023
0a7e134
Update Vietnamese (vi) Essentials, Exploring, and Use Ethereum buckets
minimalsm Sep 18, 2023
74602c0
Update Ukrainian (uk) Essentials, Exploring, Use Ethereum, Use Cases,…
minimalsm Sep 18, 2023
8559aa1
Merge pull request #11164 from 0xMimir/dev
corwintines Sep 18, 2023
ef28b8e
docs: update README.md [skip ci]
allcontributors[bot] Sep 18, 2023
a8a5a76
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Sep 18, 2023
5bef85b
Merge pull request #11178 from ethereum/all-contributors/add-0xMimir
corwintines Sep 18, 2023
12e0f20
Update src/intl/am/common.json
minimalsm Sep 18, 2023
302eea3
Merge pull request #11169 from sosoxuc/add-ethtbilisi
corwintines Sep 18, 2023
dc1cffa
Update uniswap grants link
corwintines Sep 18, 2023
ca701c2
Merge pull request #11166 from 0xjy/dev
corwintines Sep 18, 2023
731f4c9
Merge pull request #11161 from patcito/ethdubai2024-take2
corwintines Sep 18, 2023
25b770a
Merge pull request #11158 from ethereum/fix-roadmap-headings
corwintines Sep 18, 2023
feeabac
Merge pull request #11155 from ethereum/kebab-case-fix
corwintines Sep 18, 2023
a362140
Merge pull request #11151 from linen-app/dev
corwintines Sep 18, 2023
bc9776c
Merge pull request #11149 from arredr2/patch-2
corwintines Sep 18, 2023
6c7a7c1
Merge pull request #11130 from yuta17/fix_japanese_typo
corwintines Sep 18, 2023
98c8b26
Merge pull request #11129 from SovereignSignal/patch-1
corwintines Sep 18, 2023
71e7a6d
docs: update README.md [skip ci]
allcontributors[bot] Sep 18, 2023
29a0686
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Sep 18, 2023
265a7d7
Merge pull request #11180 from ethereum/all-contributors/add-bilaljawed
corwintines Sep 18, 2023
712a33f
Merge pull request #11087 from bilaljawed/patch-1
corwintines Sep 18, 2023
b51f052
Merge pull request #11106 from ilanolkies/patch-1
corwintines Sep 18, 2023
8c0a314
docs: update README.md [skip ci]
allcontributors[bot] Sep 18, 2023
3d7ec8f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Sep 18, 2023
5b7e5ac
Merge pull request #11181 from ethereum/all-contributors/add-ilanolkies
corwintines Sep 18, 2023
de4a8a2
updates to Launchnodes listing [Closes #10637]
wackerow Sep 18, 2023
76fc9a8
add up event to events page
MaUbatuba Sep 19, 2023
3d3ea9c
docs: update README.md [skip ci]
allcontributors[bot] Sep 19, 2023
da2859d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Sep 19, 2023
f69a884
Merge pull request #11184 from ethereum/all-contributors/add-umededoteth
corwintines Sep 19, 2023
c00dcb5
Update Turkish (tr) Essentials, Exploring, Use Ethereum, Use Cases, S…
minimalsm Sep 19, 2023
9217503
Update Thai (th) Essentials bucket
minimalsm Sep 19, 2023
e165489
Update Swahili (sw) Essentials and Exploring buckets
minimalsm Sep 19, 2023
8c56e87
Update Arabic (ar) Essentials and Exploring buckets
minimalsm Sep 19, 2023
99ba1ad
Update Chinese Simplified (zh) buckets
minimalsm Sep 19, 2023
56c334a
Update template
minimalsm Sep 19, 2023
eac85de
Update Nigerin (pcm) Essentials, Exploring, Use Ethereum buckets
minimalsm Sep 19, 2023
c4164f7
Update Portuguese (pt) Essentials, Exploring, Use Ethereum buckets
minimalsm Sep 19, 2023
75b2a2e
Update Russian (ru) Essentials, Exploring, Use Ethereum, Use Cases, a…
minimalsm Sep 19, 2023
ce1f382
Update Italian (it) Essentials, Exploring, Use Ethereum, Use Cases, S…
minimalsm Sep 19, 2023
37fbb09
Update Japanese (ja) Essentials, Exploring, Use Ethereum buckets
minimalsm Sep 19, 2023
3fe5873
Update Korean (ko) and Slovak (sk) Essentials buckets
minimalsm Sep 19, 2023
6468111
Update Marathi (mr) Essentials, Exploring, Use Ethereum, Use Cases
minimalsm Sep 19, 2023
0d55be4
Update Malay (ms) Essentials and Exploring buckets
minimalsm Sep 19, 2023
deda8ce
Update Chinese Traditional (zh-tw) Essentials, Exploring, Use Ethereu…
minimalsm Sep 19, 2023
d3adafa
Update Azerbaijani (az) Essentials, Exploring, and Use Ethereum buckets
minimalsm Sep 19, 2023
f94f93b
Update Czech (cs) Essentials, Exploring, Use Ethereum, Use Case buckets
minimalsm Sep 19, 2023
5371b5b
Update Khmer (km) Essentials and Exploring buckets
minimalsm Sep 19, 2023
94562e0
Update German (de) Essentials, Exploring, Use Ethereum, Use Cases, an…
minimalsm Sep 19, 2023
239eabf
Update Igbo (ig) Essentials, Exploring, and Use Ethereum buckets
minimalsm Sep 19, 2023
f7cfe7d
Merge branch 'dev' into feat/chakra-gatsby-image
pettinarip Sep 19, 2023
84464ad
refactor remaining gatsby images
pettinarip Sep 19, 2023
b3458bd
Update Indonesian (id) Essentials, Exploring, Use Ethereum, Use Cases…
minimalsm Sep 19, 2023
a274ba8
Update Greek (el) Essentials, Exploring and Use Ethereum buckets
minimalsm Sep 19, 2023
bdb8239
Update French (fr) Essentials, Exploring and Use Ethereum buckets
minimalsm Sep 19, 2023
d09fac0
Update Filipino (fil) Essentials, Exploring, and Use Ethereum buckets
minimalsm Sep 19, 2023
1ae38ed
Update Farsi (fa) Essentials, Exploring, and Use Ethereum buckets
minimalsm Sep 19, 2023
ed82562
Merge pull request #11173 from ethereum/sept18Homepages
minimalsm Sep 19, 2023
ac04c9e
Merge pull request #11175 from ethereum/sept18MoreHomepages
minimalsm Sep 19, 2023
01134c0
Update Amharic, Armenian, and Belarusian buckets
minimalsm Sep 19, 2023
0baa0b7
rm empty line
wackerow Sep 19, 2023
6e1592b
Merge pull request #11211 from ethereum/sept19NewLangs
corwintines Sep 20, 2023
b1c4e55
Merge pull request #11210 from ethereum/sept19Farsi
corwintines Sep 20, 2023
d49eaeb
Merge pull request #11209 from ethereum/sept19Filipino
corwintines Sep 20, 2023
49e97e1
Merge pull request #11208 from ethereum/sept19French
corwintines Sep 20, 2023
c640e2d
Merge pull request #11207 from ethereum/sept19Greek
corwintines Sep 20, 2023
8c39209
Merge pull request #11206 from ethereum/sept19Indonesian
corwintines Sep 20, 2023
b3704b3
Merge pull request #11183 from ethereum/launchnodes
corwintines Sep 20, 2023
9965551
Merge pull request #11205 from ethereum/sept19Igbo
corwintines Sep 20, 2023
3f7dcc3
Merge pull request #11204 from ethereum/sept19German
corwintines Sep 20, 2023
f1d3bd2
Merge pull request #11203 from ethereum/sept19Khmer
corwintines Sep 20, 2023
6d40c43
Merge pull request #11202 from ethereum/sept19Czech
corwintines Sep 20, 2023
cbf86a4
Merge pull request #11201 from ethereum/sept19Azerbaijani
corwintines Sep 20, 2023
6462398
Merge pull request #11133 from TylerAPfledderer/feat/chakra-gatsby-image
pettinarip Sep 20, 2023
49bde2e
staking card descriptions
corwintines Sep 20, 2023
c43803c
Merge pull request #11200 from ethereum/sept19ChineseTraditional
corwintines Sep 20, 2023
e601cf3
Merge branch 'dev' into new-event
corwintines Sep 20, 2023
ab8f9f2
Merge pull request #11213 from MaUbatuba/new-event
corwintines Sep 20, 2023
b3e94d3
Merge pull request #11199 from ethereum/sept19Malay
corwintines Sep 20, 2023
a628d4b
Merge pull request #11198 from ethereum/sept19Marathi
corwintines Sep 20, 2023
a9caa07
Add Turkemn (tk) language
minimalsm Sep 20, 2023
9ee4092
Merge pull request #11197 from ethereum/sept19KoreanAndSlovak
corwintines Sep 20, 2023
dd9d332
Add new language - Kanada (kn)
minimalsm Sep 20, 2023
8711d6e
Merge pull request #11195 from ethereum/sept19Japanese
corwintines Sep 20, 2023
01cc6f3
Merge pull request #11194 from ethereum/sept19Italian
corwintines Sep 20, 2023
5f0496a
Merge pull request #11193 from ethereum/sept19Russian
corwintines Sep 20, 2023
f75f284
Merge pull request #11192 from ethereum/sept19Portuguese
corwintines Sep 20, 2023
a6a5f89
Update Spanish (es) buckets: 2-8, 10-14, 16, and 19
minimalsm Sep 20, 2023
b0574e5
Merge pull request #11191 from ethereum/sept19Pigdin
corwintines Sep 20, 2023
fca28d3
push up broken link
corwintines Sep 20, 2023
462a0fa
Merge pull request #11190 from ethereum/sept19Chinese
corwintines Sep 20, 2023
88320ac
Merge pull request #11189 from ethereum/sept19Arabic
corwintines Sep 20, 2023
bb8bbcb
Merge pull request #11188 from ethereum/sept19Swahili
corwintines Sep 20, 2023
cd688e5
Merge pull request #11187 from ethereum/sept19Thai
corwintines Sep 20, 2023
9eb63b3
Update Turkish (tr) buckets
minimalsm Sep 20, 2023
0ccf1e6
Update Igbo (ig) Learn hub bucket
minimalsm Sep 20, 2023
535cb9c
Update German (de) Learn pages bucekt
minimalsm Sep 20, 2023
b0cb4b9
Update Chinese Traditional (zh-tw) Foundational docs bucket
minimalsm Sep 20, 2023
91d018e
Merge pull request #11186 from ethereum/sept18Turkish
corwintines Sep 20, 2023
0e877d8
Update Chinese Simplified (zh) smart contracts bucket
minimalsm Sep 20, 2023
c1fc85e
Merge pull request #11177 from ethereum/sept18Ukrainian
corwintines Sep 20, 2023
0753b00
Merge pull request #11176 from ethereum/sept18ViUpdates
corwintines Sep 20, 2023
5cb3405
Merge pull request #11223 from ethereum/sept20ChineseSimplified
corwintines Sep 20, 2023
f5b1a56
Merge pull request #11222 from ethereum/sept20ChineseTraditional
corwintines Sep 20, 2023
f5c299a
Merge pull request #11220 from ethereum/sept20German
corwintines Sep 20, 2023
2fcec9f
Merge pull request #11219 from ethereum/sept20Igbo
corwintines Sep 20, 2023
dc49198
fix broken markdown
corwintines Sep 20, 2023
9094096
Merge pull request #11218 from ethereum/sept20Turkish
corwintines Sep 20, 2023
619da30
fix broken markdown
corwintines Sep 20, 2023
8328929
fix broken link
corwintines Sep 20, 2023
4c78c68
fix broken link
corwintines Sep 20, 2023
bdb5a74
Merge pull request #11216 from ethereum/sept20AddKanadaa
corwintines Sep 20, 2023
f493ffc
Merge pull request #11215 from ethereum/sept20AddTurkmen
corwintines Sep 20, 2023
ce394e4
fix broken links and broken poap image
corwintines Sep 20, 2023
108047b
Update src/content/translations/id/nft/index.md
corwintines Sep 20, 2023
ce1d0ab
Update src/content/translations/fr/nft/index.md
corwintines Sep 20, 2023
64c9896
Merge pull request #11225 from ethereum/markdownFixes
corwintines Sep 20, 2023
4e7d8f2
Merge pull request #11217 from ethereum/sept20Spanish
corwintines Sep 20, 2023
a984dd9
v7.22.0
corwintines Sep 20, 2023
0c9db3c
Merge pull request #11227 from ethereum/v7-22-0
corwintines Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -10523,6 +10523,42 @@
"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"
]
}
],
"contributorsPerLine": 7,
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<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>
</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"
```
48 changes: 48 additions & 0 deletions i18n/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "am",
"crowdinCode": "am",
"name": "Amharic",
"localName": "አማርኛ",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "ar",
"crowdinCode": "ar",
Expand All @@ -23,6 +31,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "be",
"crowdinCode": "be",
"name": "Belarusian",
"localName": "беларускі",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "bg",
"crowdinCode": "bg",
Expand All @@ -39,6 +55,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "bs",
"crowdinCode": "bs",
"name": "Bosnian",
"localName": "босански",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "ca",
"crowdinCode": "ca",
Expand Down Expand Up @@ -159,6 +183,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "hy-am",
"crowdinCode": "hy-AM",
"name": "Armenian",
"localName": "հայերեն",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "id",
"crowdinCode": "id",
Expand Down Expand Up @@ -215,6 +247,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "kn",
"crowdinCode": "kn",
"name": "Kannada",
"localName": "ಕನ್ನಡ",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "ko",
"crowdinCode": "ko",
Expand Down Expand Up @@ -375,6 +415,14 @@
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "tk",
"crowdinCode": "tk",
"name": "Turkmen",
"localName": "türkmen",
"langDir": "ltr",
"dateFormat": "MM/DD/YYYY"
},
{
"code": "th",
"crowdinCode": "th",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethereum-org-website",
"version": "7.21.0",
"version": "7.22.0",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "git@github.com:ethereum/ethereum-org-website.git",
Expand Down
22 changes: 11 additions & 11 deletions src/@chakra-ui/gatsby-plugin/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,30 @@ const styles = {
},
// imported global CSS styles for list items
li: {
"margin-bottom": "calc(1.45rem / 2)",
marginBottom: "calc(1.45rem / 2)",
},
"ol li": {
"padding-left": "0",
paddingInlineStart: "0",
},
"ul li": {
"padding-left": "0",
paddingInlineStart: "0",
},
"li > ol": {
"margin-left": "1.45rem",
"margin-bottom": "calc(1.45rem / 2)",
"margin-top": "calc(1.45rem / 2)",
marginInlineStart: "1.45rem",
marginBottom: "calc(1.45rem / 2)",
marginTop: "calc(1.45rem / 2)",
},
"li > ul": {
"margin-left": "1.45rem",
"margin-bottom": "calc(1.45rem / 2)",
"margin-top": "calc(1.45rem / 2)",
marginInlineStart: "1.45rem",
marginBottom: "calc(1.45rem / 2)",
marginTop: "calc(1.45rem / 2)",
},

"li *:last-child": {
"margin-bottom": "0",
marginBottom: "0",
},
"li > p": {
"margin-bottom": "calc(1.45rem / 2)",
marginBottom: "calc(1.45rem / 2)",
},
// Anchor tag styles
// Selected specifically for mdx rendered side icon link
Expand Down
Binary file modified src/assets/wallets/linen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/components/ActionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ import {
useColorModeValue,
LinkBoxProps,
} from "@chakra-ui/react"
import { GatsbyImage, IGatsbyImageData } from "gatsby-plugin-image"
import { IGatsbyImageData } from "gatsby-plugin-image"

import Text from "./OldText"
import { BaseLink } from "./Link"
import GatsbyImage from "./GatsbyImage"

const linkBoxFocusStyles: BoxProps = {
borderRadius: "base",
Expand Down Expand Up @@ -77,9 +78,8 @@ const ActionCard: React.FC<IProps> = ({
boxShadow="inset 0px -1px 0px rgba(0, 0, 0, 0.1)"
>
{!isImageURL && (
<Image
<GatsbyImage
alt={alt || ""}
as={GatsbyImage}
maxH="257px"
maxW={{ base: "311px", sm: "372px" }}
minW="100px"
Expand Down
7 changes: 3 additions & 4 deletions src/components/AssetDownload/AssetDownloadImage.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { Center, Img } from "@chakra-ui/react"
import { GatsbyImage } from "gatsby-plugin-image"
import { Center } from "@chakra-ui/react"
import GatsbyImage from "../GatsbyImage"

import { getImage, ImageDataLike } from "../../utils/image"

Expand All @@ -13,8 +13,7 @@ const AssetDownloadImage = ({ image, alt }: Props) => {
return (
<Center border="1px" borderColor="white700" p={8} w="100%">
{image && (
<Img
as={GatsbyImage}
<GatsbyImage
image={getImage(image)!}
alt={alt}
w="100%"
Expand Down
14 changes: 3 additions & 11 deletions src/components/BugBountyPoints.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React, { useState, useEffect } from "react"
import { useTheme } from "@emotion/react"
import { useStaticQuery, graphql } from "gatsby"
import { GatsbyImage } from "gatsby-plugin-image"
import { Box, Flex, Icon } from "@chakra-ui/react"
import axios from "axios"

Expand All @@ -11,6 +10,7 @@ import InlineLink from "./Link"
import Tooltip from "./Tooltip"
import Text from "./OldText"
import OldHeading from "./OldHeading"
import GatsbyImage from "./GatsbyImage"

import { getImage } from "../utils/image"
import { MdInfoOutline } from "react-icons/md"
Expand Down Expand Up @@ -175,21 +175,13 @@ const BugBountyPoints: React.FC<IProps> = () => {
</Text>
</Flex>
<Flex align="center" wrap="wrap">
<GatsbyImage
image={getImage(data.dai)!}
style={{ marginRight: "0.5rem" }}
alt=""
/>
<GatsbyImage image={getImage(data.dai)!} alt="" me="2" />
<Text fontSize="xl" m={0} mr={4}>
{pointsInDAI} DAI
</Text>
</Flex>
<Flex align="center" wrap="wrap">
<GatsbyImage
image={getImage(ethImage)!}
style={{ marginRight: "0.5rem" }}
alt=""
/>
<GatsbyImage image={getImage(ethImage)!} alt="" me="2" />
<Text fontSize="xl" m={0} mr={4}>
{pointsInETH} ETH
</Text>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Callout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
// Libraries
import React from "react"
import { GatsbyImage, IGatsbyImageData } from "gatsby-plugin-image"
import { Flex, FlexProps, Image } from "@chakra-ui/react"
import { IGatsbyImageData } from "gatsby-plugin-image"
import { Flex, FlexProps } from "@chakra-ui/react"

// Components
import Translation from "./Translation"
import Emoji from "./Emoji"
import Text from "./OldText"
import GatsbyImage from "./GatsbyImage"
import OldHeading from "./OldHeading"

import type { TranslationKey } from "../utils/translations"
Expand Down Expand Up @@ -49,8 +50,7 @@ const Callout: React.FC<IProps> = ({
{...rest}
>
{image && (
<Image
as={GatsbyImage}
<GatsbyImage
image={image}
alt={alt || ""}
mt={-40}
Expand Down
6 changes: 3 additions & 3 deletions src/components/CalloutBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from "react"
import { GatsbyImage, IGatsbyImageData } from "gatsby-plugin-image"
import { IGatsbyImageData } from "gatsby-plugin-image"
import { Flex, FlexProps, Image } from "@chakra-ui/react"

import Translation from "./Translation"
import Text from "./OldText"
import OldHeading from "./OldHeading"
import GatsbyImage from "./GatsbyImage"
import { TranslationKey } from "../utils/translations"

export interface IProps extends FlexProps {
Expand Down Expand Up @@ -33,8 +34,7 @@ const CalloutBanner: React.FC<IProps> = ({
borderRadius="base"
{...restProps}
>
<Image
as={GatsbyImage}
<GatsbyImage
image={image}
alt={alt}
objectFit="contain"
Expand Down
9 changes: 4 additions & 5 deletions src/components/CardList.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ReactNode } from "react"
import { GatsbyImage, IGatsbyImageData } from "gatsby-plugin-image"
import { IGatsbyImageData } from "gatsby-plugin-image"
import {
Box,
BoxProps,
Expand All @@ -11,8 +11,9 @@ import {
useColorModeValue,
} from "@chakra-ui/react"

import * as url from "../utils/url"
import { BaseLink } from "./Link"
import GatsbyImage from "./GatsbyImage"
import * as url from "../utils/url"

export type CardListItem = {
title?: ReactNode
Expand Down Expand Up @@ -57,9 +58,7 @@ const Card = (props: CardListItem & Omit<StackProps, "title" | "id">) => {

return (
<CardContainer {...rest}>
{image && (
<Box as={GatsbyImage} image={image} alt={alt || ""} minW="20px" />
)}
{image && <GatsbyImage image={image} alt={alt || ""} minW="20px" />}
<Flex flex="1 1 75%" direction="column">
{isLink ? (
<LinkOverlay
Expand Down
Loading