### TL;DR Added a rewrite rule for glossary detail pages in the dashboard app. ### What changed? Added a new path `/learn/glossary/:glossary_slug` to the framer-rewrites.js file to support individual glossary term pages. ### How to test? 1. Navigate to a glossary term detail page (e.g., `/learn/glossary/some-term`) 2. Verify that the page loads correctly and the routing works as expected ### Why make this change? To enable proper routing for individual glossary term pages, allowing users to access specific glossary entries directly through their unique URLs. This complements the existing glossary index page that was already configured.
60 lines
1.2 KiB
JavaScript
60 lines
1.2 KiB
JavaScript
// add framer paths here
|
|
module.exports = [
|
|
// -- home
|
|
"/",
|
|
"/pricing",
|
|
"/bounties",
|
|
"/contact-us",
|
|
// -- product landing pages --
|
|
// -- connect
|
|
"/connect",
|
|
"/connect/sign-in",
|
|
"/connect/account-abstraction",
|
|
"/connect/universal-bridge",
|
|
"/connect/auth",
|
|
"/connect/in-app-wallets",
|
|
// -- storage
|
|
"/storage",
|
|
// -- nebula
|
|
"/nebula",
|
|
// --insight
|
|
"/insight",
|
|
// -- contracts
|
|
"/contracts",
|
|
"/contracts/modular-contracts",
|
|
"/contracts/explore",
|
|
"/contracts/deployment-tool",
|
|
// -- engine
|
|
"/engine",
|
|
// -- solutions pages --
|
|
"/solutions/gaming",
|
|
"/solutions/consumer-apps",
|
|
"/solutions/defi",
|
|
"/solutions/ecosystem",
|
|
// -- campaigns --
|
|
// "/unlimited-wallets", -- OFF for now
|
|
// -- TPP --
|
|
"/trusted-partner-program",
|
|
"/trusted-partner-program/:partner_slug",
|
|
// -- legal --
|
|
"/terms",
|
|
"/privacy-policy",
|
|
// -- community pages --
|
|
"/community/ambassadors",
|
|
"/community/startup-program",
|
|
// -- grants --
|
|
"/grant/superchain",
|
|
// -- templates --
|
|
"/templates",
|
|
"/templates/:template_slug",
|
|
// -- learn --
|
|
"/learn",
|
|
"/learn/guides",
|
|
"/learn/guides/:guide_slug",
|
|
"/learn/courses",
|
|
"/learn/glossary",
|
|
"/learn/glossary/:glossary_slug",
|
|
// -- faucets --
|
|
"/faucets",
|
|
];
|