Bob AI: Create the 'Policy' and 'Terms' pages and update the navigat
This commit is contained in:
@@ -2,6 +2,8 @@ import { Routes, Route } from 'react-router-dom';
|
||||
import Layout from './components/Layout';
|
||||
import HomePage from './pages/HomePage';
|
||||
import Contact from './pages/Contact';
|
||||
import Policy from './pages/Policy';
|
||||
import Terms from './pages/Terms';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
@@ -9,6 +11,8 @@ export default function App() {
|
||||
<Route element={<Layout />}>
|
||||
<Route path="/" element={<HomePage />} />
|
||||
<Route path="/contact" element={<Contact />} />
|
||||
<Route path="/policy" element={<Policy />} />
|
||||
<Route path="/terms" element={<Terms />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
31
src/pages/Policy.tsx
Normal file
31
src/pages/Policy.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
import PolicyContent from "@/components/sections/legal/PolicyContent";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
|
||||
export default function Policy() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background py-24">
|
||||
<ScrollReveal>
|
||||
<PolicyContent
|
||||
title="Privacy Policy"
|
||||
subtitle="Last updated: October 2024"
|
||||
sections={[
|
||||
{
|
||||
heading: "Information We Collect",
|
||||
content: [
|
||||
{ type: "paragraph", text: "We collect information you provide directly to us, such as when you create an account, make a purchase, or contact us for support." },
|
||||
{ type: "list", items: ["Name and contact information", "Payment details", "Order history"] }
|
||||
]
|
||||
},
|
||||
{
|
||||
heading: "How We Use Your Information",
|
||||
content: [
|
||||
{ type: "paragraph", text: "We use the information we collect to provide, maintain, and improve our services, process transactions, and communicate with you." },
|
||||
{ type: "numbered-list", items: ["To process your orders", "To send you updates and marketing communications", "To improve our website and services"] }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
30
src/pages/Terms.tsx
Normal file
30
src/pages/Terms.tsx
Normal file
@@ -0,0 +1,30 @@
|
||||
import PolicyContent from "@/components/sections/legal/PolicyContent";
|
||||
import ScrollReveal from "@/components/ui/ScrollReveal";
|
||||
|
||||
export default function Terms() {
|
||||
return (
|
||||
<div className="min-h-screen bg-background py-24">
|
||||
<ScrollReveal>
|
||||
<PolicyContent
|
||||
title="Terms of Service"
|
||||
subtitle="Last updated: October 2024"
|
||||
sections={[
|
||||
{
|
||||
heading: "Acceptance of Terms",
|
||||
content: [
|
||||
{ type: "paragraph", text: "By accessing or using our website, you agree to be bound by these Terms of Service and all applicable laws and regulations." }
|
||||
]
|
||||
},
|
||||
{
|
||||
heading: "Use License",
|
||||
content: [
|
||||
{ type: "paragraph", text: "Permission is granted to temporarily download one copy of the materials on our website for personal, non-commercial transitory viewing only." },
|
||||
{ type: "list", items: ["Do not modify or copy the materials", "Do not use the materials for any commercial purpose", "Do not attempt to decompile or reverse engineer any software"] }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user