Add src/app/privacy-policy/page.tsx

This commit is contained in:
2026-04-28 03:23:33 +00:00
parent 7ddb0dfcc5
commit 60bf8da907

View File

@@ -0,0 +1,61 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import LegalSection from '@/components/legal/LegalSection';
export default function PrivacyPolicyPage() {
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="mediumLarge"
sizing="mediumSizeLargeTitles"
background="noiseDiagonalGradient"
cardStyle="gradient-radial"
primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="layered"
headingFontWeight="normal"
>
<ReactLenis root>
<NavbarLayoutFloatingOverlay
navItems={[
{ name: "Menu", id: "/#menu" },
{ name: "Deals", id: "/#deals" },
{ name: "Locations", id: "/#locations" },
{ name: "App", id: "/#app" },
{ name: "Privacy Policy", id: "/privacy-policy" }
]}
brandName="FastBite"
/>
<LegalSection
layout="page"
title="Privacy Policy"
subtitle="Last updated: May 2024"
sections={[
{
heading: "Information We Collect", content: { type: "paragraph", text: "We collect information you provide directly to us, including your name, email address, phone number, and delivery address when you place an order." }
},
{
heading: "How We Use Your Data", content: { type: "list", items: ["To process and deliver your orders", "To communicate about your order status", "To send you promotional offers and updates", "To improve our service and platform"] }
},
{
heading: "Your Rights", content: { type: "numbered-list", items: ["The right to access your personal data", "The right to request correction of your data", "The right to request deletion of your data"] }
}
]}
/>
<FooterSimple
columns={[
{ title: "Support", items: [{ label: "FAQ", href: "/#faq" }, { label: "Contact", href: "/#contact" }] },
{ title: "Brand", items: [{ label: "About Us", href: "/#about" }, { label: "Careers", href: "#" }] },
]}
bottomLeftText="© 2024 FastBite Brand."
bottomRightText="Privacy Policy"
/>
</ReactLenis>
</ThemeProvider>
);
}