From 05a041fac3856ad94c75d98e5e6d752a4a4ccfc5 Mon Sep 17 00:00:00 2001 From: jnsdls Date: Mon, 31 Mar 2025 18:00:30 +0000 Subject: [PATCH] Add glossary slug route to framer rewrites (#6594) ### 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. --- apps/dashboard/framer-rewrites.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dashboard/framer-rewrites.js b/apps/dashboard/framer-rewrites.js index 24b0f30d13e..c96472d8496 100644 --- a/apps/dashboard/framer-rewrites.js +++ b/apps/dashboard/framer-rewrites.js @@ -53,6 +53,7 @@ module.exports = [ "/learn/guides/:guide_slug", "/learn/courses", "/learn/glossary", + "/learn/glossary/:glossary_slug", // -- faucets -- "/faucets", ];