Skip to content

Commit fc09ae2

Browse files
committed
Merge branch 'dev' into e2e-tests
2 parents 73287f9 + 8d70a0e commit fc09ae2

File tree

11 files changed

+36
-25
lines changed

11 files changed

+36
-25
lines changed

.all-contributorsrc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11685,7 +11685,8 @@
1168511685
"avatar_url": "https://avatars.githubusercontent.com/u/6020891?v=4",
1168611686
"profile": "http://www.edukids.cz",
1168711687
"contributions": [
11688-
"eventOrganizing"
11688+
"eventOrganizing",
11689+
"maintenance"
1168911690
]
1169011691
},
1169111692
{
@@ -12770,6 +12771,15 @@
1277012771
"contributions": [
1277112772
"maintenance"
1277212773
]
12774+
},
12775+
{
12776+
"login": "Nik-EpicWeb3",
12777+
"name": "Nik-EpicWeb3",
12778+
"avatar_url": "https://avatars.githubusercontent.com/u/214466248?v=4",
12779+
"profile": "https://github.com/Nik-EpicWeb3",
12780+
"contributions": [
12781+
"eventOrganizing"
12782+
]
1277312783
}
1277412784
],
1277512785
"contributorsPerLine": 7,

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# NEXT_PUBLIC_ALGOLIA_BASE_SEARCH_INDEX_NAME=insertValue
1515

1616
# Github token for read-only use with api functions
17-
# NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=insertValue
17+
# GITHUB_TOKEN_READ_ONLY=insertValue
1818

1919
# Etherscan API key (required for Etherscan API fetches)
2020
# ETHERSCAN_API_KEY=insertValue

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18361836
<td align="center" valign="top" width="14.28%"><a href="http://hector.im"><img src="https://avatars.githubusercontent.com/u/12469549?v=4?s=100" width="100px;" alt="Héctor Chong"/><br /><sub><b>Héctor Chong</b></sub></a><br /><a href="#content-Hector-Chong" title="Content">🖋</a></td>
18371837
<td align="center" valign="top" width="14.28%"><a href="https://github.com/nakmr"><img src="https://avatars.githubusercontent.com/u/145886319?v=4?s=100" width="100px;" alt="nace.kimura"/><br /><sub><b>nace.kimura</b></sub></a><br /><a href="#content-nakmr" title="Content">🖋</a></td>
18381838
<td align="center" valign="top" width="14.28%"><a href="https://github.com/WuRuiLei2023"><img src="https://avatars.githubusercontent.com/u/149141323?v=4?s=100" width="100px;" alt="WuRuiLei2023"/><br /><sub><b>WuRuiLei2023</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AWuRuiLei2023" title="Bug reports">🐛</a></td>
1839-
<td align="center" valign="top" width="14.28%"><a href="http://www.edukids.cz"><img src="https://avatars.githubusercontent.com/u/6020891?v=4?s=100" width="100px;" alt="Radek"/><br /><sub><b>Radek</b></sub></a><br /><a href="#eventOrganizing-radeksvarz" title="Event Organizing">📋</a></td>
1839+
<td align="center" valign="top" width="14.28%"><a href="http://www.edukids.cz"><img src="https://avatars.githubusercontent.com/u/6020891?v=4?s=100" width="100px;" alt="Radek"/><br /><sub><b>Radek</b></sub></a><br /><a href="#eventOrganizing-radeksvarz" title="Event Organizing">📋</a> <a href="#maintenance-radeksvarz" title="Maintenance">🚧</a></td>
18401840
<td align="center" valign="top" width="14.28%"><a href="https://github.com/bhargavkakadiya"><img src="https://avatars.githubusercontent.com/u/26486494?v=4?s=100" width="100px;" alt="Bhargav kakadiya"/><br /><sub><b>Bhargav kakadiya</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Abhargavkakadiya" title="Bug reports">🐛</a></td>
18411841
</tr>
18421842
<tr>
@@ -1990,6 +1990,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19901990
<td align="center" valign="top" width="14.28%"><a href="https://github.com/smithrashell"><img src="https://avatars.githubusercontent.com/u/36465023?v=4?s=100" width="100px;" alt="Rashell Smith"/><br /><sub><b>Rashell Smith</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Asmithrashell" title="Bug reports">🐛</a></td>
19911991
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aolson078"><img src="https://avatars.githubusercontent.com/u/69769089?v=4?s=100" width="100px;" alt="Alex Olson"/><br /><sub><b>Alex Olson</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Aaolson078" title="Bug reports">🐛</a></td>
19921992
<td align="center" valign="top" width="14.28%"><a href="https://www.suci.io/"><img src="https://avatars.githubusercontent.com/u/155696196?v=4?s=100" width="100px;" alt="SUCI - Blockchain Hub Team"/><br /><sub><b>SUCI - Blockchain Hub Team</b></sub></a><br /><a href="#maintenance-adminsuci" title="Maintenance">🚧</a></td>
1993+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Nik-EpicWeb3"><img src="https://avatars.githubusercontent.com/u/214466248?v=4?s=100" width="100px;" alt="Nik-EpicWeb3"/><br /><sub><b>Nik-EpicWeb3</b></sub></a><br /><a href="#eventOrganizing-Nik-EpicWeb3" title="Event Organizing">📋</a></td>
19931994
</tr>
19941995
</tbody>
19951996
</table>

docs/api-keys.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We recommend setting this up when running the project locally, as we use the Git
1111
1212
```sh
1313
# .env Example:
14-
NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY=48f84de812090000demo00000000697cf6e6a059
14+
GITHUB_TOKEN_READ_ONLY=48f84de812090000demo00000000697cf6e6a059
1515
```
1616

1717
2. Add Etherscan API token (free)

public/content/community/online/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ If you believe a community should be added or removed based on these guidelines,
6363
<SocialListItem socialIcon="twitter"><Link href="https://x.com/ethereum">@ethereum</Link> - Main Ethereum account for the community</SocialListItem>
6464
<SocialListItem socialIcon="twitter"><Link href="https://x.com/ethereumfndn">@ethereumfndn</Link> - Official account of the Ethereum Foundation</SocialListItem>
6565
<SocialListItem socialIcon="twitter"><Link href="https://x.com/ethdotorg">@ethdotorg</Link> - The portal to Ethereum, built for our growing global community</SocialListItem>
66-
<SocialListItem socialIcon="webpage"><Link href="https://hive.one/c/ethereum?page=1">List of influential Ethereum twitter accounts</Link></SocialListItem>
6766

6867
<Divider />
6968

src/data/community-events.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,5 +790,14 @@
790790
"location": "Istanbul, TR",
791791
"description": "ETHIstanbul is a conference and hackathon connecting you with global talents, industry professionals, and web3 companies advancing technology.",
792792
"imageUrl": "https://ethistanbul.io/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fistanbul-background.99d6ad2a.webp&w=3840&q=75"
793+
},
794+
{
795+
"title": "L2con",
796+
"startDate": "2025-07-01",
797+
"endDate": "2025-07-01",
798+
"href": "https://lu.ma/L2conCannes/",
799+
"location": "Cannes, FR",
800+
"description": "​L2con is the largest EthCC[8] conference focused on the future of the scaling ecosystem, General-Purpose Chains and App-Chains, development of dApps, and what unites us all — achieving mass adoption.",
801+
"imageUrl": "https://images.lumacdn.com/event-covers/cu/93aa5fca-1515-4a6a-aed3-9d933d8faf73.gif"
793802
}
794803
]

src/data/community-meetups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,10 @@
468468
"link": "https://lu.ma/user/usr-zgxbPuCTyKGBQq6"
469469
},
470470
{
471-
"title": "BeerFi Prague - Web3 on-chain dev Meetup",
471+
"title": "BeerFi Prague - Web3 Builders Meetup",
472472
"emoji": ":czech_republic:",
473473
"location": "Prague",
474-
"link": "https://www.meetup.com/web3-on-chain-dev-meetup-group/"
474+
"link": "https://www.meetup.com/beerfi/"
475475
},
476476
{
477477
"title": "NapulETH Meetup",

src/lib/api/fetchGFIs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const fetchGFIs = async () => {
1616
try {
1717
const response = await fetch(url, {
1818
headers: {
19-
Authorization: `token ${process.env.NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY}`,
19+
Authorization: `token ${process.env.GITHUB_TOKEN_READ_ONLY}`,
2020
Accept: "application/vnd.github.v3+json",
2121
},
2222
})

src/lib/api/fetchGitHistory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function fetchWithRateLimit(filepath: string): Promise<Commit[]> {
1111
url.searchParams.set("path", filepath)
1212
url.searchParams.set("sha", "master")
1313

14-
const gitHubToken = process.env.NEXT_PUBLIC_GITHUB_TOKEN_READ_ONLY
14+
const gitHubToken = process.env.GITHUB_TOKEN_READ_ONLY
1515

1616
// If no token available, return empty array
1717
if (!gitHubToken) return []

src/lib/api/fetchGrowThePie.ts

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,19 @@ const TXCOUNT = "txcount"
1414
const ACTIVE_ADDRESSES = "aa_last7d"
1515

1616
export const fetchGrowThePie = async (): Promise<GrowThePieData> => {
17-
const url = "https://api.growthepie.xyz/v1/fundamentals.json"
17+
const url = "https://api.growthepie.xyz/v1/fundamentals_7d.json"
1818

19-
const response = await fetch(url, { cache: "no-store" })
19+
const response = await fetch(url)
2020
if (!response.ok) {
2121
console.log(response.status, response.statusText)
2222
throw new Error("Failed to fetch growthepie data")
2323
}
2424
const data: DataItem[] = await response.json()
2525

26-
// Get the date 7 days ago
27-
const sevenDaysAgo = new Date()
28-
sevenDaysAgo.setDate(sevenDaysAgo.getDate() - 7)
29-
30-
// Filter data to only include the last 7 days and the metrics we need
31-
const filteredData = data.filter((item) => {
32-
const itemDate = new Date(item.date)
33-
return (
34-
itemDate >= sevenDaysAgo &&
35-
[TXCOSTS_MEDIAN_USD, TXCOUNT, ACTIVE_ADDRESSES].includes(item.metric_key)
36-
)
37-
})
26+
// Filter data to only include the metrics we need
27+
const filteredData = data.filter((item) =>
28+
[TXCOSTS_MEDIAN_USD, TXCOUNT, ACTIVE_ADDRESSES].includes(item.metric_key)
29+
)
3830

3931
const mostRecentDate = filteredData.reduce((latest, item) => {
4032
const itemDate = new Date(item.date)

0 commit comments

Comments
 (0)