Skip to content

Commit a3f351e

Browse files
authored
Merge pull request #11770 from ethereum/dev
Release candidate v7.24.3
2 parents e8e918c + e7a33bf commit a3f351e

File tree

338 files changed

+6662
-3241
lines changed

Some content is hidden

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

338 files changed

+6662
-3241
lines changed

.all-contributorsrc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10866,6 +10866,33 @@
1086610866
"contributions": [
1086710867
"code"
1086810868
]
10869+
},
10870+
{
10871+
"login": "xiaolou86",
10872+
"name": "xiaolou86",
10873+
"avatar_url": "https://avatars.githubusercontent.com/u/20718693?v=4",
10874+
"profile": "https://github.com/xiaolou86",
10875+
"contributions": [
10876+
"content"
10877+
]
10878+
},
10879+
{
10880+
"login": "aztecEagle22",
10881+
"name": "aztecEagle22",
10882+
"avatar_url": "https://avatars.githubusercontent.com/u/152518936?v=4",
10883+
"profile": "https://github.com/aztecEagle22",
10884+
"contributions": [
10885+
"content"
10886+
]
10887+
},
10888+
{
10889+
"login": "Messi-Q",
10890+
"name": "QIAN",
10891+
"avatar_url": "https://avatars.githubusercontent.com/u/21357985?v=4",
10892+
"profile": "https://github.com/Messi-Q",
10893+
"contributions": [
10894+
"content"
10895+
]
1086910896
}
1087010897
],
1087110898
"contributorsPerLine": 7,

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,6 +1698,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16981698
</tr>
16991699
<tr>
17001700
<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>
1701+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/xiaolou86"><img src="https://avatars.githubusercontent.com/u/20718693?v=4?s=100" width="100px;" alt="xiaolou86"/><br /><sub><b>xiaolou86</b></sub></a><br /><a href="#content-xiaolou86" title="Content">🖋</a></td>
1702+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aztecEagle22"><img src="https://avatars.githubusercontent.com/u/152518936?v=4?s=100" width="100px;" alt="aztecEagle22"/><br /><sub><b>aztecEagle22</b></sub></a><br /><a href="#content-aztecEagle22" title="Content">🖋</a></td>
1703+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Messi-Q"><img src="https://avatars.githubusercontent.com/u/21357985?v=4?s=100" width="100px;" alt="QIAN"/><br /><sub><b>QIAN</b></sub></a><br /><a href="#content-Messi-Q" title="Content">🖋</a></td>
17011704
</tr>
17021705
</tbody>
17031706
</table>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"react-i18next": "^12.1.4",
7070
"react-icons": "^4.3.1",
7171
"react-instantsearch-dom": "^6.32.0",
72+
"react-lite-youtube-embed": "^2.4.0",
7273
"react-select": "^4.3.0",
7374
"recharts": "^2.1.9",
7475
"styled-system": "^5.1.5",

redirects.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
22
{
33
"fromPath": "/discord",
4-
"toPath": "https://discord.gg/rZz26QWfCg"
4+
"toPath": "https://discord.gg/ethereum-org"
55
},
66
{
77
"fromPath": "/*/discord",
8-
"toPath": "https://discord.gg/rZz26QWfCg"
8+
"toPath": "https://discord.gg/ethereum-org"
99
},
1010
{
1111
"fromPath": "/pdfs/*",
913 KB
Loading
-14.2 KB
Loading
-11.3 KB
Loading

src/assets/wallets/blockwallet.png

27.9 KB
Loading

src/components/YouTube.tsx

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from "react"
2-
import { AspectRatio } from "@chakra-ui/react"
2+
import { Box } from "@chakra-ui/react"
3+
import LiteYouTubeEmbed from "react-lite-youtube-embed"
4+
import "react-lite-youtube-embed/dist/LiteYouTubeEmbed.css"
35

46
/**
57
* @param {id} ID of the YouTube video
@@ -11,32 +13,26 @@ import { AspectRatio } from "@chakra-ui/react"
1113
* @returns Embedded YouTube video component
1214
*/
1315

14-
export interface IProps {
16+
type YouTubeProps = {
1517
id: string
1618
start?: string
1719
title?: string
1820
}
1921

20-
const YouTube: React.FC<IProps> = ({ id, start = "0", title = "YouTube" }) => {
21-
const startQuery = parseInt(start) > 0 ? `?start=${start}` : ""
22-
const baseUrl = "https://www.youtube.com/embed/"
23-
const src = baseUrl + id + startQuery
22+
const YouTube = ({ id, start = "0", title = "YouTube" }: YouTubeProps) => {
23+
const params = new URLSearchParams()
24+
;+start > 0 && params.set("start", start)
2425
return (
25-
<AspectRatio as="figure" maxW="560px" ratio={16 / 9} my={8}>
26-
<iframe
27-
src={src}
28-
frameBorder="0"
26+
<Box as="figure" maxW={560} my={8}>
27+
<LiteYouTubeEmbed
28+
aspectHeight={9}
29+
aspectWidth={16}
30+
id={id}
2931
title={title}
30-
allow="
31-
accelerometer;
32-
autoplay;
33-
clipboard-write;
34-
encrypted-media;
35-
gyroscope;
36-
picture-in-picture"
37-
allowFullScreen
32+
params={params.toString()}
33+
noCookie
3834
/>
39-
</AspectRatio>
35+
</Box>
4036
)
4137
}
4238

src/content/community/support/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Having trouble with your wallet? Most wallets have dedicated support teams that
3030
- [Argent](https://support.argent.xyz/hc/)
3131
- [MyEtherWallet](https://help.myetherwallet.com/)
3232

33-
_This is not an exhaustive list. Need help finding support for a specific wallet? Join the [ethereum.org discord](https://discord.gg/rZz26QWfCg) and we'll try to help._
33+
_This is not an exhaustive list. Need help finding support for a specific wallet? Join the [ethereum.org discord](https://discord.gg/ethereum-org) and we'll try to help._
3434

3535
Looking for an Ethereum wallet? [Explore our full list of Ethereum wallets](/wallets/find-wallet/).
3636

0 commit comments

Comments
 (0)