diff --git a/app/src/data/apps/apps.json b/app/src/data/apps/apps.json index 7622b0d4f..306083c25 100644 --- a/app/src/data/apps/apps.json +++ b/app/src/data/apps/apps.json @@ -255,8 +255,8 @@ }, { "type": "iframe", - "slug": "cliff-watch", - "title": "Cliff Watch", + "slug": "cliffwatch", + "title": "CliffWatch", "description": "Interactive calculator showing how benefits, refundable tax credits, taxes, and net income change for US households as earnings rise", "source": "https://cliff-watch.vercel.app/", "tags": ["us", "featured", "policy", "interactives"], diff --git a/website/next.config.ts b/website/next.config.ts index 1fdd720d6..642a57196 100644 --- a/website/next.config.ts +++ b/website/next.config.ts @@ -66,6 +66,17 @@ const nextConfig: NextConfig = { destination: "/us/california-wealth-tax/:path*", permanent: true, }, + // CliffWatch renamed from cliff-watch → cliffwatch + { + source: "/:countryId/cliff-watch", + destination: "/:countryId/cliffwatch", + permanent: true, + }, + { + source: "/:countryId/cliff-watch/:path*", + destination: "/:countryId/cliffwatch/:path*", + permanent: true, + }, ]; }, diff --git a/website/src/data/appZoneRoutes.ts b/website/src/data/appZoneRoutes.ts index 234d5079b..d22bf2273 100644 --- a/website/src/data/appZoneRoutes.ts +++ b/website/src/data/appZoneRoutes.ts @@ -115,10 +115,15 @@ export const appZoneRoutes: AppZoneRoute[] = [ "https://coverage-compass-policy-engine.vercel.app/us/coverage-compass", }, { - source: "/us/cliff-watch", + source: "/us/cliffwatch", destination: "https://cliff-watch.vercel.app/", deepDestination: "https://cliff-watch.vercel.app/:path*", }, + { + source: "/uk/cliffwatch", + destination: "https://cliff-watch.vercel.app/?country=uk", + deepDestination: "https://cliff-watch.vercel.app/:path*?country=uk", + }, { source: "/us/marriage", destination: "https://marriage-zeta-beryl.vercel.app/us/marriage",