Skip to content

Commit f16fcb6

Browse files
committed
Last round of updates
1 parent 44cbe6d commit f16fcb6

372 files changed

Lines changed: 7516 additions & 349 deletions

File tree

Some content is hidden

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"@edgeandnode/eslint-config": "^2.0.3",
23-
"@types/node": "^22.13.13",
23+
"@types/node": "^22.13.14",
2424
"eslint": "^8.57.1",
2525
"eslint-plugin-mdx": "^3.3.1",
2626
"prettier": "^3.5.3",

pnpm-lock.yaml

Lines changed: 154 additions & 154 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"dependencies": {
1919
"@docsearch/react": "^3.9.0",
2020
"@edgeandnode/common": "^7.0.3",
21-
"@edgeandnode/gds": "6.5.10-for-token-api-1743022982923-f081f270f7c4552988f2f05e9461aff3077c1594",
22-
"@edgeandnode/go": "9.4.10-for-token-api-1743022982923-f081f270f7c4552988f2f05e9461aff3077c1594",
21+
"@edgeandnode/gds": "^6.5.10",
22+
"@edgeandnode/go": "^9.4.10",
2323
"@emotion/react": "^11.14.0",
2424
"@graphprotocol/contracts": "6.2.1",
2525
"@pinax/graph-networks-registry": "^0.6.7",
@@ -28,7 +28,7 @@
2828
"@readme/openapi-parser": "^3.0.1",
2929
"fetch-har": "^11.1.1",
3030
"lodash": "^4.17.21",
31-
"mixpanel-browser": "^2.61.2",
31+
"mixpanel-browser": "^2.62.0",
3232
"motion": "^12.6.2",
3333
"next": "^14.2.26",
3434
"next-seo": "^6.6.0",
@@ -49,8 +49,8 @@
4949
"devDependencies": {
5050
"@types/lodash": "^4.17.16",
5151
"@types/mdast": "^4.0.4",
52-
"@types/mixpanel-browser": "^2.51.0",
53-
"@types/node": "^22.13.13",
52+
"@types/mixpanel-browser": "^2.54.0",
53+
"@types/node": "^22.13.14",
5454
"@types/react": "^18.3.20",
5555
"@types/react-dom": "^18.3.5",
5656
"autoprefixer": "^10.4.21",

website/route-lockfile.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
/ar/supported-networks/
8888
/ar/token-api/evm/get-balances-evm-by-address/
8989
/ar/token-api/evm/get-holders-evm-by-contract/
90+
/ar/token-api/evm/get-ohlc-prices-evm-by-contract/
9091
/ar/token-api/evm/get-tokens-evm-by-contract/
9192
/ar/token-api/evm/get-transfers-evm-by-address/
9293
/ar/token-api/mcp/claude/
@@ -184,6 +185,7 @@
184185
/cs/supported-networks/
185186
/cs/token-api/evm/get-balances-evm-by-address/
186187
/cs/token-api/evm/get-holders-evm-by-contract/
188+
/cs/token-api/evm/get-ohlc-prices-evm-by-contract/
187189
/cs/token-api/evm/get-tokens-evm-by-contract/
188190
/cs/token-api/evm/get-transfers-evm-by-address/
189191
/cs/token-api/mcp/claude/
@@ -281,6 +283,7 @@
281283
/de/supported-networks/
282284
/de/token-api/evm/get-balances-evm-by-address/
283285
/de/token-api/evm/get-holders-evm-by-contract/
286+
/de/token-api/evm/get-ohlc-prices-evm-by-contract/
284287
/de/token-api/evm/get-tokens-evm-by-contract/
285288
/de/token-api/evm/get-transfers-evm-by-address/
286289
/de/token-api/mcp/claude/
@@ -378,6 +381,7 @@
378381
/en/supported-networks/
379382
/en/token-api/evm/get-balances-evm-by-address/
380383
/en/token-api/evm/get-holders-evm-by-contract/
384+
/en/token-api/evm/get-ohlc-prices-evm-by-contract/
381385
/en/token-api/evm/get-tokens-evm-by-contract/
382386
/en/token-api/evm/get-transfers-evm-by-address/
383387
/en/token-api/mcp/claude/
@@ -475,6 +479,7 @@
475479
/es/supported-networks/
476480
/es/token-api/evm/get-balances-evm-by-address/
477481
/es/token-api/evm/get-holders-evm-by-contract/
482+
/es/token-api/evm/get-ohlc-prices-evm-by-contract/
478483
/es/token-api/evm/get-tokens-evm-by-contract/
479484
/es/token-api/evm/get-transfers-evm-by-address/
480485
/es/token-api/mcp/claude/
@@ -572,6 +577,7 @@
572577
/fr/supported-networks/
573578
/fr/token-api/evm/get-balances-evm-by-address/
574579
/fr/token-api/evm/get-holders-evm-by-contract/
580+
/fr/token-api/evm/get-ohlc-prices-evm-by-contract/
575581
/fr/token-api/evm/get-tokens-evm-by-contract/
576582
/fr/token-api/evm/get-transfers-evm-by-address/
577583
/fr/token-api/mcp/claude/
@@ -669,6 +675,7 @@
669675
/hi/supported-networks/
670676
/hi/token-api/evm/get-balances-evm-by-address/
671677
/hi/token-api/evm/get-holders-evm-by-contract/
678+
/hi/token-api/evm/get-ohlc-prices-evm-by-contract/
672679
/hi/token-api/evm/get-tokens-evm-by-contract/
673680
/hi/token-api/evm/get-transfers-evm-by-address/
674681
/hi/token-api/mcp/claude/
@@ -766,6 +773,7 @@
766773
/it/supported-networks/
767774
/it/token-api/evm/get-balances-evm-by-address/
768775
/it/token-api/evm/get-holders-evm-by-contract/
776+
/it/token-api/evm/get-ohlc-prices-evm-by-contract/
769777
/it/token-api/evm/get-tokens-evm-by-contract/
770778
/it/token-api/evm/get-transfers-evm-by-address/
771779
/it/token-api/mcp/claude/
@@ -863,6 +871,7 @@
863871
/ja/supported-networks/
864872
/ja/token-api/evm/get-balances-evm-by-address/
865873
/ja/token-api/evm/get-holders-evm-by-contract/
874+
/ja/token-api/evm/get-ohlc-prices-evm-by-contract/
866875
/ja/token-api/evm/get-tokens-evm-by-contract/
867876
/ja/token-api/evm/get-transfers-evm-by-address/
868877
/ja/token-api/mcp/claude/
@@ -958,6 +967,7 @@
958967
/ko/supported-networks/
959968
/ko/token-api/evm/get-balances-evm-by-address/
960969
/ko/token-api/evm/get-holders-evm-by-contract/
970+
/ko/token-api/evm/get-ohlc-prices-evm-by-contract/
961971
/ko/token-api/evm/get-tokens-evm-by-contract/
962972
/ko/token-api/evm/get-transfers-evm-by-address/
963973
/ko/token-api/mcp/claude/
@@ -1055,6 +1065,7 @@
10551065
/mr/supported-networks/
10561066
/mr/token-api/evm/get-balances-evm-by-address/
10571067
/mr/token-api/evm/get-holders-evm-by-contract/
1068+
/mr/token-api/evm/get-ohlc-prices-evm-by-contract/
10581069
/mr/token-api/evm/get-tokens-evm-by-contract/
10591070
/mr/token-api/evm/get-transfers-evm-by-address/
10601071
/mr/token-api/mcp/claude/
@@ -1150,6 +1161,7 @@
11501161
/nl/supported-networks/
11511162
/nl/token-api/evm/get-balances-evm-by-address/
11521163
/nl/token-api/evm/get-holders-evm-by-contract/
1164+
/nl/token-api/evm/get-ohlc-prices-evm-by-contract/
11531165
/nl/token-api/evm/get-tokens-evm-by-contract/
11541166
/nl/token-api/evm/get-transfers-evm-by-address/
11551167
/nl/token-api/mcp/claude/
@@ -1245,6 +1257,7 @@
12451257
/pl/supported-networks/
12461258
/pl/token-api/evm/get-balances-evm-by-address/
12471259
/pl/token-api/evm/get-holders-evm-by-contract/
1260+
/pl/token-api/evm/get-ohlc-prices-evm-by-contract/
12481261
/pl/token-api/evm/get-tokens-evm-by-contract/
12491262
/pl/token-api/evm/get-transfers-evm-by-address/
12501263
/pl/token-api/mcp/claude/
@@ -1342,6 +1355,7 @@
13421355
/pt/supported-networks/
13431356
/pt/token-api/evm/get-balances-evm-by-address/
13441357
/pt/token-api/evm/get-holders-evm-by-contract/
1358+
/pt/token-api/evm/get-ohlc-prices-evm-by-contract/
13451359
/pt/token-api/evm/get-tokens-evm-by-contract/
13461360
/pt/token-api/evm/get-transfers-evm-by-address/
13471361
/pt/token-api/mcp/claude/
@@ -1437,6 +1451,7 @@
14371451
/ro/supported-networks/
14381452
/ro/token-api/evm/get-balances-evm-by-address/
14391453
/ro/token-api/evm/get-holders-evm-by-contract/
1454+
/ro/token-api/evm/get-ohlc-prices-evm-by-contract/
14401455
/ro/token-api/evm/get-tokens-evm-by-contract/
14411456
/ro/token-api/evm/get-transfers-evm-by-address/
14421457
/ro/token-api/mcp/claude/
@@ -1534,6 +1549,7 @@
15341549
/ru/supported-networks/
15351550
/ru/token-api/evm/get-balances-evm-by-address/
15361551
/ru/token-api/evm/get-holders-evm-by-contract/
1552+
/ru/token-api/evm/get-ohlc-prices-evm-by-contract/
15371553
/ru/token-api/evm/get-tokens-evm-by-contract/
15381554
/ru/token-api/evm/get-transfers-evm-by-address/
15391555
/ru/token-api/mcp/claude/
@@ -1631,6 +1647,7 @@
16311647
/sv/supported-networks/
16321648
/sv/token-api/evm/get-balances-evm-by-address/
16331649
/sv/token-api/evm/get-holders-evm-by-contract/
1650+
/sv/token-api/evm/get-ohlc-prices-evm-by-contract/
16341651
/sv/token-api/evm/get-tokens-evm-by-contract/
16351652
/sv/token-api/evm/get-transfers-evm-by-address/
16361653
/sv/token-api/mcp/claude/
@@ -1728,6 +1745,7 @@
17281745
/tr/supported-networks/
17291746
/tr/token-api/evm/get-balances-evm-by-address/
17301747
/tr/token-api/evm/get-holders-evm-by-contract/
1748+
/tr/token-api/evm/get-ohlc-prices-evm-by-contract/
17311749
/tr/token-api/evm/get-tokens-evm-by-contract/
17321750
/tr/token-api/evm/get-transfers-evm-by-address/
17331751
/tr/token-api/mcp/claude/
@@ -1823,6 +1841,7 @@
18231841
/uk/supported-networks/
18241842
/uk/token-api/evm/get-balances-evm-by-address/
18251843
/uk/token-api/evm/get-holders-evm-by-contract/
1844+
/uk/token-api/evm/get-ohlc-prices-evm-by-contract/
18261845
/uk/token-api/evm/get-tokens-evm-by-contract/
18271846
/uk/token-api/evm/get-transfers-evm-by-address/
18281847
/uk/token-api/mcp/claude/
@@ -1920,6 +1939,7 @@
19201939
/ur/supported-networks/
19211940
/ur/token-api/evm/get-balances-evm-by-address/
19221941
/ur/token-api/evm/get-holders-evm-by-contract/
1942+
/ur/token-api/evm/get-ohlc-prices-evm-by-contract/
19231943
/ur/token-api/evm/get-tokens-evm-by-contract/
19241944
/ur/token-api/evm/get-transfers-evm-by-address/
19251945
/ur/token-api/mcp/claude/
@@ -2015,6 +2035,7 @@
20152035
/vi/supported-networks/
20162036
/vi/token-api/evm/get-balances-evm-by-address/
20172037
/vi/token-api/evm/get-holders-evm-by-contract/
2038+
/vi/token-api/evm/get-ohlc-prices-evm-by-contract/
20182039
/vi/token-api/evm/get-tokens-evm-by-contract/
20192040
/vi/token-api/evm/get-transfers-evm-by-address/
20202041
/vi/token-api/mcp/claude/
@@ -2112,6 +2133,7 @@
21122133
/zh/supported-networks/
21132134
/zh/token-api/evm/get-balances-evm-by-address/
21142135
/zh/token-api/evm/get-holders-evm-by-contract/
2136+
/zh/token-api/evm/get-ohlc-prices-evm-by-contract/
21152137
/zh/token-api/evm/get-tokens-evm-by-contract/
21162138
/zh/token-api/evm/get-transfers-evm-by-address/
21172139
/zh/token-api/mcp/claude/

website/src/HomePage.tsx

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
} from '@edgeandnode/gds/icons'
1616
import { NetworkIcon } from '@edgeandnode/go'
1717

18-
import { Card, Heading } from '@/components'
18+
import { Card, Heading, TimeIcon } from '@/components'
1919
import { useI18n } from '@/i18n'
2020
import { getSupportedNetworks } from '@/supportedNetworks'
2121

@@ -156,47 +156,47 @@ export default function HomePage() {
156156
title={t('index.guides.explorer.title')}
157157
description={t('index.guides.explorer.description')}
158158
icon={<GraphExplorer alt="" />}
159-
slotAboveTitle={<Time variant="reading" minutes={10} />}
159+
slotAboveTitle={<TimeIcon variant="reading" minutes={10} />}
160160
/>
161161
<Card
162162
href="/subgraphs/developing/publishing/publishing-a-subgraph/"
163163
title={t('index.guides.publishASubgraph.title')}
164164
description={t('index.guides.publishASubgraph.description')}
165165
icon={<Subgraph alt="" />}
166-
slotAboveTitle={<Time variant="reading" minutes={3} />}
166+
slotAboveTitle={<TimeIcon variant="reading" minutes={3} />}
167167
/>
168168
<Card
169169
href="/substreams/publishing/"
170170
title={t('index.guides.publishSubstreams.title')}
171171
description={t('index.guides.publishSubstreams.description')}
172172
icon={<Substreams alt="" />}
173-
slotAboveTitle={<Time variant="duration" minutes={3} />}
173+
slotAboveTitle={<TimeIcon variant="duration" minutes={3} />}
174174
/>
175175
</div>
176176
<div className="grid grid-cols-1 gap-4 lg:grid-cols-2">
177177
<Card
178178
href="/subgraphs/querying/best-practices/"
179179
title={t('index.guides.queryingBestPractices.title')}
180180
description={t('index.guides.queryingBestPractices.description')}
181-
slotAboveTitle={<Time variant="reading" minutes={9} />}
181+
slotAboveTitle={<TimeIcon variant="reading" minutes={9} />}
182182
/>
183183
<Card
184184
href="/subgraphs/cookbook/timeseries/"
185185
title={t('index.guides.timeseries.title')}
186186
description={t('index.guides.timeseries.description')}
187-
slotAboveTitle={<Time variant="reading" minutes={4} />}
187+
slotAboveTitle={<TimeIcon variant="reading" minutes={4} />}
188188
/>
189189
<Card
190190
href="/subgraphs/querying/managing-api-keys/"
191191
title={t('index.guides.apiKeyManagement.title')}
192192
description={t('index.guides.apiKeyManagement.description')}
193-
slotAboveTitle={<Time variant="reading" minutes={2} />}
193+
slotAboveTitle={<TimeIcon variant="reading" minutes={2} />}
194194
/>
195195
<Card
196196
href="/subgraphs/cookbook/transfer-to-the-graph/"
197197
title={t('index.guides.transferToTheGraph.title')}
198198
description={t('index.guides.transferToTheGraph.description')}
199-
slotAboveTitle={<Time variant="reading" minutes={3} />}
199+
slotAboveTitle={<TimeIcon variant="reading" minutes={3} />}
200200
/>
201201
</div>
202202
</div>
@@ -224,21 +224,21 @@ export default function HomePage() {
224224
href="https://www.youtube.com/watch?v=hn-sJUpZ_aM"
225225
title={t('index.videos.theGraphExplained.title')}
226226
description={t('index.videos.theGraphExplained.description')}
227-
slotBelowDescription={<Time variant="duration" minutes={1} className="mt-1" />}
227+
slotBelowDescription={<TimeIcon variant="duration" minutes={1} className="mt-1" />}
228228
videoThumbnailSrc={`${process.env.BASE_PATH}/img/video-theGraphExplained.jpg`}
229229
/>
230230
<Card
231231
href="https://www.youtube.com/watch?v=VACg8bitnVc"
232232
title={t('index.videos.whatIsDelegating.title')}
233233
description={t('index.videos.whatIsDelegating.description')}
234-
slotBelowDescription={<Time variant="duration" minutes={4} className="mt-1" />}
234+
slotBelowDescription={<TimeIcon variant="duration" minutes={4} className="mt-1" />}
235235
videoThumbnailSrc={`${process.env.BASE_PATH}/img/video-whatIsDelegating.jpg`}
236236
/>
237237
<Card
238238
href="https://www.youtube.com/watch?v=RmKi-Nq9E_A"
239239
title={t('index.videos.howToIndexSolana.title')}
240240
description={t('index.videos.howToIndexSolana.description')}
241-
slotBelowDescription={<Time variant="duration" minutes={5} className="mt-1" />}
241+
slotBelowDescription={<TimeIcon variant="duration" minutes={5} className="mt-1" />}
242242
videoThumbnailSrc={`${process.env.BASE_PATH}/img/video-howToIndexSolana.jpg`}
243243
/>
244244
</div>
@@ -248,25 +248,6 @@ export default function HomePage() {
248248
)
249249
}
250250

251-
interface TimeProps extends ComponentPropsWithoutRef<'div'> {
252-
variant: 'reading' | 'duration'
253-
minutes: number
254-
}
255-
256-
function Time({ variant, minutes, className, ...props }: TimeProps) {
257-
const { t } = useI18n()
258-
return (
259-
<div className={classNames(['flex items-center gap-1 leading-none', className])} {...props}>
260-
<Clock
261-
alt={variant === 'reading' ? t('index.time.reading') : t('index.time.duration')}
262-
variant="fill"
263-
size={3.5}
264-
/>
265-
{minutes} {t('index.time.minutes')}
266-
</div>
267-
)
268-
}
269-
270251
function SupportedNetworks({ className, ...props }: ComponentPropsWithoutRef<'div'>) {
271252
const { supportedNetworks } = useData() as { supportedNetworks: Awaited<ReturnType<typeof getSupportedNetworks>> }
272253

website/src/components/CalendarIcon.tsx

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)