Switch to version 2: remove src/app/terms/page.tsx

This commit is contained in:
2026-04-14 23:35:35 +00:00
parent de268e2aad
commit 7ceb058fbb

View File

@@ -1,35 +0,0 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import LegalSection from '@/components/legal/LegalSection';
export default function TermsPage() {
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="medium"
background="circleGradient"
cardStyle="glass-elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<div id="nav" data-section="nav">
<NavbarStyleApple
navItems={[{name: "Home", id: "/"}, {name: "About", id: "/about"}, {name: "Dashboard", id: "/dashboard"}, {name: "Contact", id: "/contact"}]}
brandName="Swift Haul"
/>
</div>
<div id="legal" data-section="legal">
<LegalSection
layout="page"
title="Terms of Service"
sections={[{heading: "Usage", content: {text: "By using our services, you agree to these terms.", type: "paragraph"}}]}
/>
</div>
</ThemeProvider>
);
}