Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ If you are signed in with an EOA wallet, you will be prompted to sign the transa

### Modular Contract

This contract is created using the modular contract framework. Modules on this contract are upgradeable. [Learn more about Modular Contracts.](https://portal.thirdweb.com/contracts/modular-contracts/overview)
This contract is created using the modular contract framework. Modules on this contract are upgradeable. [Learn more about Modular Contracts.](https://portal.thirdweb.com/contracts/modular-contracts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Good fix: link now targets the live Modular Contracts page

Confirmed the destination resolves. (portal.thirdweb.com)

Optional follow-ups:

  • Prefer a relative href (/contracts/modular-contracts) to avoid hardcoding the domain and to work in preview/staging.
  • Add a docs redirect from /contracts/modular-contracts/overview → /contracts/modular-contracts to prevent future 404s.
  • Quick scan for other occurrences of the old URL:

🏁 Script executed:

#!/bin/bash
# find lingering references to the 404 path
rg -n -S 'portal\.thirdweb\.com/contracts/modular-contracts/overview|/contracts/modular-contracts/overview' -g '!**/node_modules/**'

Length of output: 1893


Replace all /contracts/modular-contracts/overview links with the canonical /contracts/modular-contracts path

  • Update the MDX files under apps/portal/src/app/tokens/explore/pre-built-modular/ (token-drop, edition-drop, nft-collection, nft-drop, edition, open-edition) to use [Learn more about Modular Contracts.](/contracts/modular-contracts)
  • Update the TSX link in apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx
  • Add a redirect from /contracts/modular-contracts/overview/contracts/modular-contracts in the docs routing config to prevent future 404s
🤖 Prompt for AI Agents
In apps/portal/src/app/tokens/explore/pre-built-modular/token/page.mdx around
line 77, replace the existing Learn more link path
/contracts/modular-contracts/overview with the canonical
/contracts/modular-contracts; do the same across the other MDX files in
apps/portal/src/app/tokens/explore/pre-built-modular (token-drop, edition-drop,
nft-collection, nft-drop, edition, open-edition). Also update the TSX link in
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx
to point to /contracts/modular-contracts instead of the /overview path, and add
a redirect rule in the docs routing config (where routes are defined) that maps
/contracts/modular-contracts/overview → /contracts/modular-contracts to prevent
404s.


### Configure Modules

Expand Down