Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New navigation #819

Merged
merged 27 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
be1cda5
Draft 1
idalithb Nov 15, 2024
95fd67e
adjusting nav
idalithb Dec 11, 2024
c3b0844
Merge branch 'main' into left-side-nav
benface Dec 12, 2024
13d6ea3
updating branch
idalithb Dec 12, 2024
be8d718
adding folder
idalithb Dec 13, 2024
e5285df
Merge branch 'main' into left-side-nav
benface Dec 16, 2024
56af1cb
Fix import
benface Dec 16, 2024
5978a2f
Apply changes to all languages, fixing the build
benface Dec 16, 2024
f69ea2d
Merge branch 'main' into left-side-nav
benface Dec 16, 2024
3d453a4
“Roles and Benefits” => “Network” + move Tokenomics to it
benface Dec 17, 2024
87b4213
Move Supported Networks out of Developing
benface Dec 17, 2024
dde16c0
Tweaks
benface Dec 17, 2024
0ad12dd
Additional Adjustments
idalithb Dec 17, 2024
293036f
Tweak scripts
benface Dec 18, 2024
5df6408
Proposing some more nav changes
benface Dec 18, 2024
fa26b78
More changes
benface Dec 18, 2024
70b5267
Update dependencies
benface Dec 18, 2024
51b2de2
Tweaks
benface Dec 18, 2024
676f283
One more page rename
benface Dec 18, 2024
3d74a0a
One more
benface Dec 18, 2024
3560e12
Ensure links have a trailing slash, since those are the canonical URLs
benface Dec 18, 2024
c00f782
Merge branch 'main' into benface/new-nav
benface Dec 18, 2024
8b2efdb
`on-chain` => `onchain`
benface Dec 18, 2024
743a6c5
Actually ensure all links have a trailing slash
benface Dec 19, 2024
4784b80
Add redirects
benface Dec 19, 2024
5fb5d3a
Update links in all pages
benface Dec 19, 2024
995e4af
Merge pull request #843 from graphprotocol/benface/new-nav
benface Dec 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
149 changes: 100 additions & 49 deletions nginx.conf

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
"theme-ui": "^0.16"
},
"dependencies": {
"@docsearch/react": "^3.8.1",
"@docsearch/react": "^3.8.2",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.1.1",
"lodash": "^4.17.21",
"react-intersection-observer": "^9.14.0",
"react-use": "^17.6.0"
},
"devDependencies": {
"@edgeandnode/gds": "^5.39.1",
"@edgeandnode/go": "^6.74.0",
"@edgeandnode/gds": "^5.39.2",
"@edgeandnode/go": "^6.75.0",
"@emotion/react": "^11.14.0",
"@types/lodash": "^4.17.13",
"@types/react": "^18.3.17",
Expand Down
4 changes: 3 additions & 1 deletion packages/nextra-theme/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ export default function NextraLayout({ children, pageOpts, pageProps }: NextraTh
{args.activePath.map((item) => item.title).join(' > ')}
</div>
) : null}
{frontMatter.title ? <Heading.H1>{frontMatter.title}</Heading.H1> : null}
{frontMatter.title || args.activeIndex === 0 ? (
<Heading.H1>{args.activeIndex === 0 ? 'The Graph Docs' : frontMatter.title}</Heading.H1>
) : null}
{lastUpdated || readingTime ? (
<Paragraph size="14px">
{lastUpdated ? (
Expand Down
4 changes: 2 additions & 2 deletions packages/og-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"yoga-wasm-web": "0.3.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241216.0",
"@cloudflare/workers-types": "^4.20241218.0",
"@types/react": "^18.3.17",
"jest-image-snapshot": "^6.4.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vitest": "^1.6.0",
"wrangler": "^3.95.0"
"wrangler": "^3.97.0"
}
}
641 changes: 317 additions & 324 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@edgeandnode/common": "^6.38.0",
"@edgeandnode/gds": "^5.39.1",
"@edgeandnode/go": "^6.74.0",
"@edgeandnode/common": "^6.39.0",
"@edgeandnode/gds": "^5.39.2",
"@edgeandnode/go": "^6.75.0",
"@emotion/react": "^11.14.0",
"@graphprotocol/contracts": "6.2.1",
"@graphprotocol/nextra-theme": "workspace:*",
"@phosphor-icons/react": "^2.1.7",
"mixpanel-browser": "^2.56.0",
"mixpanel-browser": "^2.57.1",
"next": "^14.2.20",
"next-seo": "^6.6.0",
"next-sitemap": "^4.2.3",
Expand All @@ -43,7 +43,7 @@
"fast-xml-parser": "^4.5.1",
"graphql": "^16.10.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.16",
"tailwindcss": "^3.4.17",
"tsx": "^4.19.2",
"unified": "^11.0.5"
}
Expand Down
2 changes: 1 addition & 1 deletion website/pages/[locale]/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ${t('index.networkRoles.description')}
## ${t('index.supportedNetworks.title')}
${t('index.supportedNetworks.description')}
<SupportedNetworks />
${t('index.supportedNetworks.footer').replace('{0}', `[${t('index.supportedNetworks.title')}](/developing/supported-networks/)`)}`
${t('index.supportedNetworks.footer').replace('{0}', `[${t('index.supportedNetworks.title')}](/supported-networks/)`)}`
const mdx = await buildDynamicMDX(rawMdx, { codeHighlight: false })
return {
props: {
Expand Down
2 changes: 1 addition & 1 deletion website/pages/ar/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ In the case of the example listed above, Bored Ape Yacht Club, you can perform b

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

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.
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.

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.

Expand Down
5 changes: 0 additions & 5 deletions website/pages/ar/arbitrum/_meta.js

This file was deleted.

80 changes: 0 additions & 80 deletions website/pages/ar/arbitrum/arbitrum-faq.mdx

This file was deleted.

Loading
Loading