Switch to version 2: remove src/app/privacy-policy/page.tsx
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import LegalSection from '@/components/legal/LegalSection';
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
|
||||
export default function PrivacyPolicyPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="large"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Privacy Policy", id: "/privacy-policy" }
|
||||
]}
|
||||
brandName="Velvet Roast"
|
||||
/>
|
||||
</div>
|
||||
<div id="legal" data-section="legal">
|
||||
<LegalSection
|
||||
layout="page"
|
||||
title="Privacy Policy"
|
||||
subtitle="Last updated: May 2024"
|
||||
sections={[
|
||||
{ heading: "Information We Collect", content: { type: "paragraph", text: "At Velvet Roast, we value your privacy. We collect information you provide directly to us, such as when you create an account, place an order, or subscribe to our newsletter." } },
|
||||
{ heading: "How We Use Your Data", content: { type: "list", items: ["To process and fulfill your orders", "To communicate with you about your account or orders", "To improve our services and website experience", "To send you marketing materials, with your consent"] } },
|
||||
{ heading: "Your Rights", content: { type: "paragraph", text: "You have the right to access, correct, or delete your personal data at any time. Please contact us if you have any questions about your data privacy." } }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
logoText="Velvet Roast"
|
||||
columns={[
|
||||
{ items: [{ label: "Our Story", href: "/#story" }, { label: "Careers", href: "#" }] },
|
||||
{ items: [{ label: "Privacy", href: "/privacy-policy" }, { label: "Terms", href: "#" }] }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user