Skip to content

Commit 8bebd2e

Browse files
idalithbbenface
andauthored
New navigation (#819)
* Draft 1 * adjusting nav * updating branch * adding folder * Fix import * Apply changes to all languages, fixing the build * “Roles and Benefits” => “Network” + move Tokenomics to it * Move Supported Networks out of Developing * Tweaks * Additional Adjustments * Tweak scripts * Proposing some more nav changes * More changes * Update dependencies * Tweaks * One more page rename * One more * Ensure links have a trailing slash, since those are the canonical URLs * `on-chain` => `onchain` * Actually ensure all links have a trailing slash * Add redirects * Update links in all pages --------- Co-authored-by: benface <[email protected]>
1 parent 26027b9 commit 8bebd2e

File tree

3,560 files changed

+249425
-249187
lines changed

Some content is hidden

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

3,560 files changed

+249425
-249187
lines changed

nginx.conf

+100-49
Large diffs are not rendered by default.

packages/nextra-theme/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
"theme-ui": "^0.16"
3636
},
3737
"dependencies": {
38-
"@docsearch/react": "^3.8.1",
38+
"@docsearch/react": "^3.8.2",
3939
"@radix-ui/react-collapsible": "^1.1.2",
4040
"@radix-ui/react-visually-hidden": "^1.1.1",
4141
"lodash": "^4.17.21",
4242
"react-intersection-observer": "^9.14.0",
4343
"react-use": "^17.6.0"
4444
},
4545
"devDependencies": {
46-
"@edgeandnode/gds": "^5.39.1",
47-
"@edgeandnode/go": "^6.74.0",
46+
"@edgeandnode/gds": "^5.39.2",
47+
"@edgeandnode/go": "^6.75.0",
4848
"@emotion/react": "^11.14.0",
4949
"@types/lodash": "^4.17.13",
5050
"@types/react": "^18.3.17",

packages/nextra-theme/src/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ export default function NextraLayout({ children, pageOpts, pageProps }: NextraTh
199199
{args.activePath.map((item) => item.title).join(' > ')}
200200
</div>
201201
) : null}
202-
{frontMatter.title ? <Heading.H1>{frontMatter.title}</Heading.H1> : null}
202+
{frontMatter.title || args.activeIndex === 0 ? (
203+
<Heading.H1>{args.activeIndex === 0 ? 'The Graph Docs' : frontMatter.title}</Heading.H1>
204+
) : null}
203205
{lastUpdated || readingTime ? (
204206
<Paragraph size="14px">
205207
{lastUpdated ? (

packages/og-image/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"yoga-wasm-web": "0.3.3"
1717
},
1818
"devDependencies": {
19-
"@cloudflare/workers-types": "^4.20241216.0",
19+
"@cloudflare/workers-types": "^4.20241218.0",
2020
"@types/react": "^18.3.17",
2121
"jest-image-snapshot": "^6.4.0",
2222
"tsx": "^4.19.2",
2323
"typescript": "^5.7.2",
2424
"vitest": "^1.6.0",
25-
"wrangler": "^3.95.0"
25+
"wrangler": "^3.97.0"
2626
}
2727
}

pnpm-lock.yaml

+317-324
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
"typecheck": "tsc --noEmit"
1616
},
1717
"dependencies": {
18-
"@edgeandnode/common": "^6.38.0",
19-
"@edgeandnode/gds": "^5.39.1",
20-
"@edgeandnode/go": "^6.74.0",
18+
"@edgeandnode/common": "^6.39.0",
19+
"@edgeandnode/gds": "^5.39.2",
20+
"@edgeandnode/go": "^6.75.0",
2121
"@emotion/react": "^11.14.0",
2222
"@graphprotocol/contracts": "6.2.1",
2323
"@graphprotocol/nextra-theme": "workspace:*",
2424
"@phosphor-icons/react": "^2.1.7",
25-
"mixpanel-browser": "^2.56.0",
25+
"mixpanel-browser": "^2.57.1",
2626
"next": "^14.2.20",
2727
"next-seo": "^6.6.0",
2828
"next-sitemap": "^4.2.3",
@@ -43,7 +43,7 @@
4343
"fast-xml-parser": "^4.5.1",
4444
"graphql": "^16.10.0",
4545
"postcss": "^8.4.49",
46-
"tailwindcss": "^3.4.16",
46+
"tailwindcss": "^3.4.17",
4747
"tsx": "^4.19.2",
4848
"unified": "^11.0.5"
4949
}

website/pages/[locale]/index.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ${t('index.networkRoles.description')}
3535
## ${t('index.supportedNetworks.title')}
3636
${t('index.supportedNetworks.description')}
3737
<SupportedNetworks />
38-
${t('index.supportedNetworks.footer').replace('{0}', `[${t('index.supportedNetworks.title')}](/developing/supported-networks/)`)}`
38+
${t('index.supportedNetworks.footer').replace('{0}', `[${t('index.supportedNetworks.title')}](/supported-networks/)`)}`
3939
const mdx = await buildDynamicMDX(rawMdx, { codeHighlight: false })
4040
return {
4141
props: {

website/pages/ar/about.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In the case of the example listed above, Bored Ape Yacht Club, you can perform b
2424

2525
It would take **hours or even days** for a decentralized application (dapp) running in a browser to get an answer to these simple questions.
2626

27-
Alternatively, you have the option to set up your own server, process the transactions, store them in a database, and create an API endpoint to query the data. However, this option is [resource intensive](/network/benefits/), needs maintenance, presents a single point of failure, and breaks important security properties required for decentralization.
27+
Alternatively, you have the option to set up your own server, process the transactions, store them in a database, and create an API endpoint to query the data. However, this option is [resource intensive](/resources/benefits/), needs maintenance, presents a single point of failure, and breaks important security properties required for decentralization.
2828

2929
Blockchain properties, such as finality, chain reorganizations, and uncled blocks, add complexity to the process, making it time-consuming and conceptually challenging to retrieve accurate query results from blockchain data.
3030

website/pages/ar/arbitrum/_meta.js

-5
This file was deleted.

website/pages/ar/arbitrum/arbitrum-faq.mdx

-80
This file was deleted.

0 commit comments

Comments
 (0)