Files
js/apps/dashboard/framer-rewrites.js
T
jnsdls 406c885e96 move /terms, /privacy-policy to framer, remove /mission (#5647)
closes: DASH-558, DASH-559

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on the removal of outdated pages and components related to terms of service and privacy policy, while also updating links and redirects to reflect new URLs.

### Detailed summary
- Deleted several files: `tos.tsx`, `mission.tsx`, `privacy.tsx`, and multiple component files.
- Updated links in `footerLinks.tsx` for "Privacy Policy" and "Terms of Service".
- Changed URLs in `LoginPage.tsx` and `connect-wallet/index.tsx` for privacy and terms.
- Added redirects in `redirects.js` for `/tos` to `/terms`, `/privacy` to `/privacy-policy`, and `/mission` to `/home`.
- Removed references to `Mission` and legacy pages in `page-id.ts`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
2024-12-06 20:11:27 +00:00

35 lines
686 B
JavaScript

// add framer paths here
module.exports = [
// -- home
"/",
"/pricing",
// -- product landing pages --
// -- connect
"/connect",
"/connect/sign-in",
// -- nebula
"/nebula",
// --insight
"/insight",
// -- contracts
"/contracts",
"/contracts/modular-contracts",
"/contracts/explore",
"/contracts/deployment-tool",
// -- engine
"/engine",
// -- solutions pages --
"/solutions/gaming",
"/solutions/consumer-apps",
"/solutions/defi",
"/solutions/ecosystem",
// -- campaigns --
"/unlimited-wallets",
// -- TPP --
"/trusted-partner-program",
"/trusted-partner-program/:partner_slug",
// -- legal --
"/terms",
"/privacy-policy",
];