File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function Footer() {
1818 < Link href = "/team" > { t ( 'navigation.team' ) } </ Link >
1919 < Link href = "/privacy" > { t ( 'footer.privacyPolicy' ) } </ Link >
2020 < Link href = "/whitepaper" > { t ( 'footer.whitepaper' ) } </ Link >
21- < Link href = "/tos" > { t ( 'footer.termsOfService' ) } </ Link >
21+ { /* <Link href="/tos">{t('footer.termsOfService')}</Link> */ }
2222 </ nav >
2323 < div className = "flex flex-wrap justify-center items-center gap-4" >
2424 < Link href = "https://youtube.com/@ParchLinux" >
Original file line number Diff line number Diff line change 1- import { useTranslation } from "@/utils/translation"
2- import { Card } from "@/components/ui/card"
3- import tos from "@/data/tos"
1+ import { useTranslation } from "@/utils/translation" ;
2+ // import { Card } from "@/components/ui/card";
3+ // import tos from "@/data/tos";
44import Markdown from "react-markdown" ;
5+ import { useEffect } from "react" ;
6+ import { useRouter } from "next/router" ;
57
68export default function DownloadPage ( ) {
79 const { lang } = useTranslation ( ) ;
10+ const router = useRouter ( ) ;
811
9- return (
10- < main className = "p-4 md:p-8 lg:p-16" >
11- < Card className = "prose lg:prose-lg dark:prose-invert !container mx-auto p-12" >
12- < Markdown > { tos [ lang ] } </ Markdown >
13- </ Card >
14- </ main >
15- )
12+ useEffect ( ( ) => {
13+ router . push ( '/404' ) ;
14+ } , [ router ] ) ;
15+
16+ // return (
17+ // <main className="p-4 md:p-8 lg:p-16">
18+ // <Card className="prose lg:prose-lg dark:prose-invert !container mx-auto p-12">
19+ // <Markdown>{tos[lang]}</Markdown>
20+ // </Card>
21+ // </main>
22+ // );
1623}
You can’t perform that action at this time.
0 commit comments