diff --git a/src/App.tsx b/src/App.tsx index 2ebfbca..995e0ff 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,8 +3,10 @@ import { Toaster as Sonner } from "@/components/ui/sonner"; import { TooltipProvider } from "@/components/ui/tooltip"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { BrowserRouter, Routes, Route } from "react-router-dom"; +import { Navbar } from "@/components/Navbar"; import Index from "./pages/Index"; import Testimonies from "./pages/Testimonies"; +import Contact from "./pages/Contact"; import NotFound from "./pages/NotFound"; const queryClient = new QueryClient(); @@ -15,9 +17,11 @@ const App = () => ( + } /> } /> + } /> {/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */} } /> diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx new file mode 100644 index 0000000..67b8c74 --- /dev/null +++ b/src/components/Navbar.tsx @@ -0,0 +1,38 @@ +import { NavLink } from "react-router-dom"; +import { Home, MessageSquare, Mail } from "lucide-react"; + +export const Navbar = () => { + const getNavClass = ({ isActive }: { isActive: boolean }) => + `flex items-center gap-2 px-4 py-2 rounded-md transition-colors ${ + isActive + ? "bg-accent text-accent-foreground font-semibold" + : "text-foreground hover:bg-accent/50" + }`; + + return ( + + ); +}; diff --git a/src/pages/Contact.tsx b/src/pages/Contact.tsx new file mode 100644 index 0000000..b2696e1 --- /dev/null +++ b/src/pages/Contact.tsx @@ -0,0 +1,75 @@ +import { Mail, User } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; + +const Contact = () => { + return ( +
+
+

+ Contact Us +

+

+ Have questions or want to share your story? Get in touch. +

+ + + + Campaign Organizer + + Reach out to learn more about the campaign or share your experience + + + +
+
+ +
+
+

Name

+

John Costa

+
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+

About This Campaign

+

+ This campaign represents the voices of residents, workers, and families affected by the closure + of Victoria Way Carpark. We believe in constructive dialogue and are committed to working with + the council to find practical solutions that serve the Woking community. +

+
+
+
+
+
+ ); +}; + +export default Contact;