diff --git a/src/app/(legal)/privacy-policy/page.tsx b/src/app/(legal)/privacy-policy/page.tsx deleted file mode 100644 index cfa85f6d3..000000000 --- a/src/app/(legal)/privacy-policy/page.tsx +++ /dev/null @@ -1,52 +0,0 @@ -"use client"; - -import { useEffect } from "react"; - -import { Breadcrumb } from "~/components/common/breadcrumb"; -import SubPageHero from "~/components/external_static_page/SubPageHero"; -import PrivacyPolicyContent from "~/components/layouts/Legal/PrivacyPolicy/PrivacyPolicyContent"; -import TableOfContent from "~/components/layouts/Legal/TableOfContent"; -import privacyPolicyData, { - getTableOfContents, -} from "../../../components/layouts/Legal/PrivacyPolicy/constants/privacyPolicyData"; - -export default function PrivacyPolicy() { - const tableOfContents = getTableOfContents(privacyPolicyData); - - useEffect(() => { - const scrollClasses = [ - "scroll-smooth", - "scroll-pt-24", - "md:scroll-pt-[108px]", - ]; - - const htmlElement = document.documentElement; - htmlElement.classList.add(...scrollClasses); - - return () => { - htmlElement.classList.remove(...scrollClasses); - }; - }, []); - - return ( -
- -
- -
- - -
-
-
- ); -} diff --git a/src/app/(legal)/terms/page.tsx b/src/app/(legal)/terms/page.tsx deleted file mode 100644 index 1d0777ae0..000000000 --- a/src/app/(legal)/terms/page.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { Breadcrumb } from "~/components/common/breadcrumb"; -import SubPageHero from "~/components/external_static_page/SubPageHero"; -import Main from "~/components/layouts/Legal/Terms&Conditions/Main"; - -const TermsConditions = () => { - return ( -
- -
- -
-
-
- ); -}; - -export default TermsConditions;