From 50fdc4747bdf2f629512734719d5b18a923a1932 Mon Sep 17 00:00:00 2001 From: Colby Gutierrez-Kraybill Date: Wed, 22 May 2024 19:09:49 -0400 Subject: [PATCH 1/2] Updated Radish redirects --- src/routes.json | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/src/routes.json b/src/routes.json index 3890f5d1df5..f1b33c89866 100644 --- a/src/routes.json +++ b/src/routes.json @@ -133,23 +133,19 @@ "name": "contact-us", "pattern": "^/contact-us/?(\\?.*)?$", "routeAlias": "/contact-us/?", - "view": "contact-us/contact-us", - "title": "Contact Us", - "viewportWidth": "device-width" + "redirect": "RADISH_URL/help-center/" }, { "name": "cookies", "pattern": "^/cookies/?$", "routeAlias": "/cookies/?", - "view": "cookies/cookies", - "title": "Cookie Policy" + "redirect": "RADISH_URL/cookie-policy/" }, { "name": "credits", "pattern": "^/credits/?$", "routeAlias": "/info/(cards|credits|faq|donate)/?$", - "view": "credits/credits", - "title": "Credits" + "redirect": "RADISH_URL/our-team-credits/" }, { "name": "developers", @@ -162,22 +158,19 @@ "name": "dmca", "pattern": "^/DMCA/?$", "routeAlias": "/DMCA/?$", - "view": "dmca/dmca", - "title": "DMCA" + "redirect": "RADISH_URL/42-0-dmca/" }, { "name": "download", "pattern": "^/download/?(\\?.*)?$", "routeAlias": "/download", - "view": "download/download", - "title": "Scratch Offline Editor" + "redirect": "RADISH_URL/help-center/" }, { "name": "educator-landing", "pattern": "^/educators/?(\\?.*)?$", "routeAlias": "/educators(?:/(faq|register|waiting))?/?(\\?.*)?$", - "view": "teachers/landing/landing", - "title": "Educators" + "redirect": "RADISH_URL/scratch-for-educators/" }, { "name": "ethics", @@ -253,6 +246,7 @@ "name": "parents", "pattern": "^/parents/?(\\?.*)?$", "routeAlias": "/parents/", + "redirect": "/parents-caregivers/", "view": "parents/parents", "title": "For Parents" }, @@ -266,8 +260,7 @@ "name": "privacypolicy", "pattern": "^/privacy_policy/?$", "routeAlias": "/privacy_policy/?$", - "view": "privacypolicy/privacypolicy", - "title": "Privacy Policy" + "redirect": "RADISH_URL/privacy-policy/" }, { "name": "privacypolicy-apps", @@ -398,8 +391,7 @@ "name": "terms", "pattern": "^/terms_of_use/?$", "routeAlias": "/terms_of_use/?$", - "view": "terms/terms", - "title": "Scratch Terms of Use" + "redirect": "RADISH_URL/privacy-policy/" }, { "name": "wedo2", @@ -453,7 +445,7 @@ "name" : "credits-redirect", "pattern": "^/info/credits/?$", "routeAlias": "/info/(cards|credits|faq|donate)/?$", - "redirect" : "/credits" + "redirect": "RADISH_URL/our-team-credits/" }, { "name" : "faq-redirect", @@ -548,7 +540,7 @@ "name": "sec-redirect", "pattern": "^/sec/?$", "routeAlias": "/sec", - "redirect": "https://sip.scratch.mit.edu/sec" + "redirect": "RADISH_URL/scratch-education-collaborative/" }, { "name": "splash-redirect", From fb6516e4f80ce5a0d86eacdcd2631a72a302a377 Mon Sep 17 00:00:00 2001 From: Colby Gutierrez-Kraybill Date: Wed, 22 May 2024 19:13:24 -0400 Subject: [PATCH 2/2] Fix up parents --- src/routes.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/routes.json b/src/routes.json index f1b33c89866..ffefbbad7a6 100644 --- a/src/routes.json +++ b/src/routes.json @@ -246,9 +246,7 @@ "name": "parents", "pattern": "^/parents/?(\\?.*)?$", "routeAlias": "/parents/", - "redirect": "/parents-caregivers/", - "view": "parents/parents", - "title": "For Parents" + "redirect": "RADISH_URL/parents-caregivers/" }, { "name": "preview-faq-redirect",