Skip to content

Commit 760264e

Browse files
Merge remote-tracking branch 'upstream/dev' into Migrate-StakingHierarchy-to-Shadcn/Tailwind
2 parents 76db7c9 + e2fa609 commit 760264e

File tree

6 files changed

+160
-37
lines changed

6 files changed

+160
-37
lines changed

.all-contributorsrc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12670,6 +12670,24 @@
1267012670
"contributions": [
1267112671
"content"
1267212672
]
12673+
},
12674+
{
12675+
"login": "itzVarsha",
12676+
"name": "Varshitha",
12677+
"avatar_url": "https://avatars.githubusercontent.com/u/138134029?v=4",
12678+
"profile": "https://github.com/itzVarsha",
12679+
"contributions": [
12680+
"maintenance"
12681+
]
12682+
},
12683+
{
12684+
"login": "alexandriaroberts",
12685+
"name": "Alexandria Roberts",
12686+
"avatar_url": "https://avatars.githubusercontent.com/u/31341867?v=4",
12687+
"profile": "https://alexandriaroberts.dev/",
12688+
"contributions": [
12689+
"code"
12690+
]
1267312691
}
1267412692
],
1267512693
"contributorsPerLine": 7,

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,6 +1939,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19391939
<tr>
19401940
<td align="center" valign="top" width="14.28%"><a href="https://growthepie.xyz"><img src="https://avatars.githubusercontent.com/u/32496674?v=4?s=100" width="100px;" alt="Matthias Seidl"/><br /><sub><b>Matthias Seidl</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=mseidlx" title="Code">💻</a></td>
19411941
<td align="center" valign="top" width="14.28%"><a href="https://github.com/JoeChenJ"><img src="https://avatars.githubusercontent.com/u/171761102?v=4?s=100" width="100px;" alt="JoeChenJ"/><br /><sub><b>JoeChenJ</b></sub></a><br /><a href="#content-JoeChenJ" title="Content">🖋</a></td>
1942+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/itzVarsha"><img src="https://avatars.githubusercontent.com/u/138134029?v=4?s=100" width="100px;" alt="Varshitha"/><br /><sub><b>Varshitha</b></sub></a><br /><a href="#maintenance-itzVarsha" title="Maintenance">🚧</a></td>
1943+
<td align="center" valign="top" width="14.28%"><a href="https://alexandriaroberts.dev/"><img src="https://avatars.githubusercontent.com/u/31341867?v=4?s=100" width="100px;" alt="Alexandria Roberts"/><br /><sub><b>Alexandria Roberts</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=alexandriaroberts" title="Code">💻</a></td>
19421944
</tr>
19431945
</tbody>
19441946
</table>
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
import * as React from "react"
2+
import { VStack } from "@chakra-ui/react"
3+
import { Meta, StoryObj } from "@storybook/react"
4+
5+
import DocLink from "."
6+
7+
const meta = {
8+
title: "Molecules / Navigation / DocLink",
9+
component: DocLink,
10+
tags: ["autodocs"],
11+
} satisfies Meta<typeof DocLink>
12+
13+
export default meta
14+
15+
type Story = StoryObj<typeof meta>
16+
17+
export const Default: Story = {
18+
args: {
19+
href: "/history/",
20+
children: "History of Ethereum",
21+
},
22+
render: (args) => (
23+
<VStack spacing={4} align="stretch">
24+
<DocLink {...args} />
25+
</VStack>
26+
),
27+
}
28+
29+
export const ExternalLink: Story = {
30+
args: {
31+
href: "https://ethereum.org",
32+
children: "Ethereum Website",
33+
isExternal: true,
34+
},
35+
render: (args) => (
36+
<VStack spacing={4} align="stretch">
37+
<DocLink {...args} />
38+
</VStack>
39+
),
40+
}
41+
42+
export const MultipleLinks: Story = {
43+
args: {
44+
href: "#",
45+
},
46+
render: () => (
47+
<VStack spacing={4} align="stretch">
48+
<DocLink href="/history/">History of Ethereum</DocLink>
49+
<DocLink href="https://ethereum.org" isExternal>
50+
Ethereum Website
51+
</DocLink>
52+
<DocLink href="/developers/docs/intro-to-ethereum/">
53+
Introduction to Ethereum
54+
</DocLink>
55+
</VStack>
56+
),
57+
}

src/components/DocLink.tsx renamed to src/components/DocLink/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { AiOutlineArrowRight } from "react-icons/ai"
22

33
import { cn } from "@/lib/utils/cn"
44

5-
import { Center, Flex, Stack } from "./ui/flex"
6-
import { LinkBox, LinkOverlay } from "./ui/link-box"
7-
import Emoji from "./Emoji"
5+
import Emoji from "../Emoji"
6+
import { Center, Flex, Stack } from "../ui/flex"
7+
import { LinkBox, LinkOverlay } from "../ui/link-box"
88

99
import { useRtlFlip } from "@/hooks/useRtlFlip"
1010

src/data/community-meetups.json

Lines changed: 76 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{
1515
"title": "CryptoCanal",
1616
"emoji": ":netherlands:",
17-
"location": "Amsterdam",
17+
"location": "Amsterdam, Rotterdam",
1818
"link": "https://www.cryptocanal.org/agenda"
1919
},
2020
{
@@ -23,12 +23,6 @@
2323
"location": "Zurich",
2424
"link": "https://www.cryptocanal.org/agenda"
2525
},
26-
{
27-
"title": "Web3.NE",
28-
"emoji": ":united_states:",
29-
"location": "Omaha",
30-
"link": "https://www.meetup.com/web3-ne/"
31-
},
3226
{
3327
"title": "ETH Belgrade Community",
3428
"emoji": ":serbia:",
@@ -66,39 +60,39 @@
6660
"link": "https://kyivethereum.com/"
6761
},
6862
{
69-
"title": "Ethereum Bogota",
63+
"title": "Ethereum Bogotá",
7064
"emoji": ":colombia:",
71-
"location": "Colombia",
65+
"location": "Bogotá",
7266
"link": "https://www.meetup.com/ethereum-bogota"
7367
},
7468
{
7569
"title": "Ethereum Eje Cafetero",
7670
"emoji": ":colombia:",
77-
"location": "Colombia",
71+
"location": "Armenia, Pereira, Manizales",
7872
"link": "https://www.meetup.com/ethereum-eje-cafetero"
7973
},
8074
{
8175
"title": "Ethereum Medellin",
8276
"emoji": ":colombia:",
83-
"location": "Colombia",
77+
"location": "Medellín",
8478
"link": "https://www.meetup.com/ethereum-medellin"
8579
},
8680
{
8781
"title": "Ethereum Caribe",
8882
"emoji": ":colombia:",
89-
"location": "Colombia",
83+
"location": "Barranquilla",
9084
"link": "https://www.meetup.com/ethereum-caribe"
9185
},
9286
{
9387
"title": "Ethereum Cali",
9488
"emoji": ":colombia:",
95-
"location": "Colombia",
89+
"location": "Cali",
9690
"link": "https://www.meetup.com/ethereumcali"
9791
},
9892
{
9993
"title": "Ethereum Arauca",
10094
"emoji": ":colombia:",
101-
"location": "Colombia",
95+
"location": "Saravena",
10296
"link": "https://www.meetup.com/ethereum-arauca"
10397
},
10498
{
@@ -201,13 +195,7 @@
201195
"title": "Ethereum Jakarta",
202196
"emoji": ":indonesia:",
203197
"location": "Jakarta",
204-
"link": "https://ethereum-jkt.github.io/"
205-
},
206-
{
207-
"title": "Italian Ethereum Meetup",
208-
"emoji": ":italy:",
209-
"location": "Milan",
210-
"link": "https://www.meetup.com/it-IT/Italian-Ethereum-Meetup/"
198+
"link": "https://www.meetup.com/ethereum-jkt/"
211199
},
212200
{
213201
"title": "Ethereum Italia Hub (Telegram Group)",
@@ -219,7 +207,7 @@
219207
"title": "Ethereum Venezia Meetup",
220208
"emoji": ":italy:",
221209
"location": "Venice",
222-
"link": "https://discord.gg/VMzVjCHN8k"
210+
"link": "https://x.com/ethvenice"
223211
},
224212
{
225213
"title": "Ethereum Japan",
@@ -273,7 +261,7 @@
273261
"title": "BCN Ethereum Dev",
274262
"emoji": ":spain:",
275263
"location": "Barcelona",
276-
"link": "https://www.meetup.com/ethereumbcn"
264+
"link": "https://x.com/ethdevbcn"
277265
},
278266
{
279267
"title": "Ethereum Spain",
@@ -363,7 +351,7 @@
363351
"title": "ETH SD",
364352
"emoji": ":united_states:",
365353
"location": "San Diego",
366-
"link": "https://withkoji.com/@ethsd"
354+
"link": "https://www.ethsd.org/"
367355
},
368356
{
369357
"title": "SF Ethereum Developers",
@@ -411,7 +399,7 @@
411399
"title": "Chicago Ethereum Meetup",
412400
"emoji": ":united_states:",
413401
"location": "Chicago",
414-
"link": "https://www.meetup.com/Chicago-Ethereum-Meetup/"
402+
"link": "https://x.com/chicagoethereum"
415403
},
416404
{
417405
"title": "Matos Cryptobar",
@@ -431,12 +419,6 @@
431419
"location": "Dubai",
432420
"link": "https://www.meetup.com/defi-dubai/"
433421
},
434-
{
435-
"title": "ETHAnglia",
436-
"emoji": ":united_kingdom:",
437-
"location": "Norwich",
438-
"link": "https://www.ethanglia.org/"
439-
},
440422
{
441423
"title": "CryptoSD",
442424
"emoji": ":united_states:",
@@ -452,13 +434,13 @@
452434
{
453435
"title": "Ethereum Costa Rica",
454436
"emoji": ":costa_rica:",
455-
"location": "Costa Rica",
437+
"location": "San José",
456438
"link": "https://twitter.com/EthereumCR"
457439
},
458440
{
459441
"title": "Hash House Medellín",
460442
"emoji": ":colombia:",
461-
"location": "Colombia",
443+
"location": "Medellín",
462444
"link": "https://www.meetup.com/hash-house-medellin/"
463445
},
464446
{
@@ -483,7 +465,7 @@
483465
"title": "Ethereum Edmonton Meetup",
484466
"emoji": ":canada:",
485467
"location": "Edmonton",
486-
"link": "https://www.meetup.com/ethereum-edmonton-meetup/"
468+
"link": "https://lu.ma/user/usr-zgxbPuCTyKGBQq6"
487469
},
488470
{
489471
"title": "BeerFi Prague - Web3 on-chain dev Meetup",
@@ -497,6 +479,66 @@
497479
"location": "Naples",
498480
"link": "https://www.eventbrite.it/e/863744451907/"
499481
},
482+
{
483+
"title": "Ethereum Minnesota",
484+
"emoji": ":us:",
485+
"location": "Minnesota",
486+
"link": "https://www.meetup.com/ethereum-minnesota/"
487+
},
488+
{
489+
"title": "Ethereum Slovenia",
490+
"emoji": ":slovenia:",
491+
"location": "Ljubljana",
492+
"link": "https://www.meetup.com/ethereum-slovenia/"
493+
},
494+
{
495+
"title": "Michigan Ethereum Meetup",
496+
"emoji": ":us:",
497+
"location": "Michigan",
498+
"link": "https://www.meetup.com/michigan-ethereum-meetup/"
499+
},
500+
{
501+
"title": "udinETH",
502+
"emoji": ":italy:",
503+
"location": "Udine",
504+
"link": "https://www.meetup.com/udineth/"
505+
},
506+
{
507+
"title": "Helsinki Ethereum Meetup",
508+
"emoji": ":finland:",
509+
"location": "Helsinki",
510+
"link": "https://www.meetup.com/helsinki-ethereum-meetup/"
511+
},
512+
{
513+
"title": "ETHManila",
514+
"emoji": ":philippines:",
515+
"location": "Manila",
516+
"link": "https://www.meetup.com/ethmanila/"
517+
},
518+
{
519+
"title": "Braga.Blockchain",
520+
"emoji": ":portugal:",
521+
"location": "Braga",
522+
"link": "https://www.meetup.com/braga-blockchain/"
523+
},
524+
{
525+
"title": "Ethereum Melbourne",
526+
"emoji": ":australia:",
527+
"location": "Melbourne",
528+
"link": "https://lu.ma/user/usr-VEFqG8hvMFtTjmx"
529+
},
530+
{
531+
"title": "Glasgow Ethereum Meetup",
532+
"emoji": ":scotland:",
533+
"location": "Glasgow",
534+
"link": "https://www.meetup.com/glasgow-ethereum-meetup/"
535+
},
536+
{
537+
"title": "Ethereum Hungary",
538+
"emoji": ":hungary:",
539+
"location": "Budapest",
540+
"link": "https://www.meetup.com/ethereum-hungary/"
541+
},
500542
{
501543
"title": "Decaffeth",
502544
"emoji": ":iran:",

src/lib/api/fetchRSS.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ export const fetchRSS = async (xmlUrl: string | string[]) => {
4242
// Map to RSSItem object
4343
.map((item) => {
4444
const getImgSrc = () => {
45+
if (url.includes("medium.com/feed/"))
46+
return item["content:encoded"]?.[0].match(
47+
/https?:\/\/[^"]*?\.(jpe?g|png|webp)/g
48+
)
4549
if (item.enclosure) return item.enclosure[0].$.url
4650
if (item["media:content"]) return item["media:content"][0].$.url
4751
return channelImage

0 commit comments

Comments
 (0)