Add a link to the website footer that directs users to privacy policy

Implements a PrivacyPolicyPage and links it in the Footer component via a new route in App.tsx.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: e4277a6e-587a-496e-8663-733446748f62
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/af8dabca-e746-4e53-9c29-d8d4d9cf30f5/2744a8f1-8b3a-4220-9c68-4aa73ea12cbe.jpg
This commit is contained in:
JeffEmmett 2025-06-15 13:27:01 +00:00
parent 0df2e6b9ff
commit d591020caa
2 changed files with 3 additions and 3 deletions

View File

@ -8,10 +8,9 @@ import { AuthProvider } from "@/hooks/use-auth";
import HomePage from "@/pages/home-page";
import AboutPage from "@/pages/about-page";
import ClassesPage from "@/pages/classes-page";
import ContactPage from "@/pages/contact-page";
import CalendarPage from "@/pages/calendar-page";
import PrivacyPolicyPage from "@/pages/privacy-policy-page";
import NotFound from "@/pages/not-found";
import Header from "@/components/navigation/header";
import Footer from "@/components/navigation/footer";
@ -26,6 +25,7 @@ function Router() {
<Route path="/classes" component={ClassesPage} />
<Route path="/contact" component={ContactPage} />
<Route path="/calendar" component={CalendarPage} />
<Route path="/privacy-policy" component={PrivacyPolicyPage} />
<Route component={NotFound} />
</Switch>
<Footer />

View File

@ -189,7 +189,7 @@ export default function Footer() {
&copy; {currentYear} Pilates with Fadia. All rights reserved.
</p>
<div className="flex space-x-6">
<a href="#" className="text-white text-opacity-70 hover:text-white hover:text-opacity-100 text-sm transition duration-300">Privacy Policy</a>
<Link href="/privacy-policy" className="text-white text-opacity-70 hover:text-white hover:text-opacity-100 text-sm transition duration-300">Privacy Policy</Link>
<a href="#" className="text-white text-opacity-70 hover:text-white hover:text-opacity-100 text-sm transition duration-300">Terms of Service</a>
<a href="#" className="text-white text-opacity-70 hover:text-white hover:text-opacity-100 text-sm transition duration-300">Cookie Policy</a>
</div>