Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/dashboard/framer-rewrites.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ module.exports = [
// -- TPP --
"/trusted-partner-program",
"/trusted-partner-program/:partner_slug",
// -- legal --
"/terms",
"/privacy-policy",
];
18 changes: 18 additions & 0 deletions apps/dashboard/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,24 @@ async function redirects() {
destination: "/community/ambassadors",
permanent: false,
},
// redirect `/tos` to `/terms`
{
source: "/tos",
destination: "/terms",
permanent: false,
},
// redirect `/privacy` to `/privacy-policy`
{
source: "/privacy",
destination: "/privacy-policy",
permanent: false,
},
// redirect `/mission` to `/home`
{
source: "/mission",
destination: "/home",
permanent: false,
},
...legacyDashboardToTeamRedirects,
];
}
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/@/components/blocks/app-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ export function AppFooter(props: AppFooterProps) {
</Link>
<Link
className="px-[10px] py-[6px] text-muted-foreground text-sm hover:underline"
href="https://thirdweb.com/privacy"
href="https://thirdweb.com/privacy-policy"
target="_blank"
>
Privacy Policy
</Link>
<Link
className="px-[10px] py-[6px] text-muted-foreground text-sm hover:underline"
href="https://thirdweb.com/tos"
href="https://thirdweb.com/terms"
target="_blank"
>
Terms of Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ export const CustomConnectWallet = (props: {
theme={getSDKTheme(t)}
client={thirdwebClient}
connectModal={{
privacyPolicyUrl: "/privacy",
termsOfServiceUrl: "/tos",
privacyPolicyUrl: "/privacy-policy",
termsOfServiceUrl: "/terms",
showThirdwebBranding: false,
welcomeScreen: () => <ConnectWalletWelcomeScreen theme={t} />,
}}
Expand Down Expand Up @@ -308,8 +308,8 @@ export function useCustomConnectModal() {
url: "https://thirdweb.com",
},
chain: options?.chain,
privacyPolicyUrl: "/privacy",
termsOfServiceUrl: "/tos",
privacyPolicyUrl: "/privacy-policy",
termsOfServiceUrl: "/terms",
showThirdwebBranding: false,
welcomeScreen: () => (
<ConnectWalletWelcomeScreen
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/app/login/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ function CustomConnectEmbed(props: {
modalSize="wide"
theme={getSDKTheme(theme === "light" ? "light" : "dark")}
className="shadow-lg"
privacyPolicyUrl="/privacy"
termsOfServiceUrl="/tos"
privacyPolicyUrl="/privacy-policy"
termsOfServiceUrl="/terms"
/>
);
}
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/footer/footerLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ export const COMPANY: FooterLinkInfo[] = [
{
name: "Privacy Policy",
label: "privacy",
link: "/privacy",
link: "/privacy-policy",
},
{
name: "Terms of Service",
label: "terms",
link: "/tos",
link: "/terms",
},
];
82 changes: 0 additions & 82 deletions apps/dashboard/src/components/landing-pages/faq.tsx

This file was deleted.

55 changes: 0 additions & 55 deletions apps/dashboard/src/components/mission/DesireSection.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions apps/dashboard/src/components/mission/HeroSection.tsx

This file was deleted.

Loading
Loading