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

This commit is contained in:
2026-04-14 23:24:46 +00:00
parent 0297555259
commit 11b7cd9abb

View File

@@ -1,23 +0,0 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import LegalSection from '@/components/legal/LegalSection';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
export default function TermsPage() {
return (
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
<NavbarStyleApple navItems={[{ name: "Home", id: "/" }, { name: "Terms", id: "/terms" }]} brandName="Swift Haul" />
<div className="pt-20">
<LegalSection
layout="page"
title="Terms and Conditions"
sections={[
{ heading: "Acceptance of Terms", content: { type: "paragraph", text: "By accessing or using our services, you agree to be bound by these terms and conditions." } },
{ heading: "Usage Guidelines", content: { type: "numbered-list", items: ["Maintain accurate account information.", "Respect community standards.", "Do not misuse our software or logistics data."] } }
]}
/>
</div>
</ThemeProvider>
);
}