From c991572dd203d682d5dd91a59a84db933360dad8 Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 5 Feb 2024 17:00:35 +0100 Subject: [PATCH] Change `premium` in URL to `plus` --- next.config.js | 5 +++++ .../WelcomeToPlus.stories.tsx | 0 .../WelcomeToPlus.test.tsx | 0 .../WelcomeToPlusView.tsx | 0 .../{welcome-to-premium => welcome-to-plus}/page.tsx | 0 .../welcomeToPlus.module.scss | 0 6 files changed, 5 insertions(+) rename src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/{welcome-to-premium => welcome-to-plus}/WelcomeToPlus.stories.tsx (100%) rename src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/{welcome-to-premium => welcome-to-plus}/WelcomeToPlus.test.tsx (100%) rename src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/{welcome-to-premium => welcome-to-plus}/WelcomeToPlusView.tsx (100%) rename src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/{welcome-to-premium => welcome-to-plus}/page.tsx (100%) rename src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/{welcome-to-premium => welcome-to-plus}/welcomeToPlus.module.scss (100%) diff --git a/next.config.js b/next.config.js index 34effd225..85cd05e3a 100644 --- a/next.config.js +++ b/next.config.js @@ -143,6 +143,11 @@ const nextConfig = { destination: "/:path*", permanent: true, }, + { + source: "/user/dashboard/fix/data-broker-profiles/welcome-to-premium", + destination: "/user/dashboard/fix/data-broker-profiles/welcome-to-plus", + permanent: true, + }, // We used to have a page with security tips; // if folks get sent there via old lnks, redirect them to the most // relevant page on SuMo: diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlus.stories.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx similarity index 100% rename from src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlus.stories.tsx rename to src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.stories.tsx diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlus.test.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.test.tsx similarity index 100% rename from src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlus.test.tsx rename to src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlus.test.tsx diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlusView.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx similarity index 100% rename from src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/WelcomeToPlusView.tsx rename to src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/WelcomeToPlusView.tsx diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/page.tsx b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx similarity index 100% rename from src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/page.tsx rename to src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/page.tsx diff --git a/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/welcomeToPlus.module.scss b/src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/welcomeToPlus.module.scss similarity index 100% rename from src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-premium/welcomeToPlus.module.scss rename to src/app/(proper_react)/(redesign)/(authenticated)/user/(dashboard)/dashboard/fix/data-broker-profiles/welcome-to-plus/welcomeToPlus.module.scss