Skip to content

Commit db9012a

Browse files
committed
move /terms, /privacy-policy to framer, remove /mission
1 parent 606b312 commit db9012a

File tree

17 files changed

+21
-1251
lines changed

17 files changed

+21
-1251
lines changed

apps/dashboard/framer-rewrites.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ module.exports = [
2828
// -- TPP --
2929
"/trusted-partner-program",
3030
"/trusted-partner-program/:partner_slug",
31+
// -- legal --
32+
"/terms",
33+
"/privacy-policy",
3134
];

apps/dashboard/redirects.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,24 @@ async function redirects() {
301301
destination: "/community/ambassadors",
302302
permanent: false,
303303
},
304+
// redirect `/tos` to `/terms`
305+
{
306+
source: "/tos",
307+
destination: "/terms",
308+
permanent: false,
309+
},
310+
// redirect `/privacy` to `/privacy-policy`
311+
{
312+
source: "/privacy",
313+
destination: "/privacy-policy",
314+
permanent: false,
315+
},
316+
// redirect `/mission` to `/home`
317+
{
318+
source: "/mission",
319+
destination: "/home",
320+
permanent: false,
321+
},
304322
...legacyDashboardToTeamRedirects,
305323
];
306324
}

apps/dashboard/src/components/landing-pages/faq.tsx

Lines changed: 0 additions & 82 deletions
This file was deleted.

apps/dashboard/src/components/mission/DesireSection.tsx

Lines changed: 0 additions & 55 deletions
This file was deleted.

apps/dashboard/src/components/mission/HeroSection.tsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

apps/dashboard/src/components/mission/HowSection.tsx

Lines changed: 0 additions & 143 deletions
This file was deleted.

apps/dashboard/src/components/mission/MajorSection.tsx

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)