Build Greg Knopp CPA website
This commit is contained in:
10
src/App.tsx
10
src/App.tsx
@@ -4,6 +4,11 @@ import { TooltipProvider } from "@/components/ui/tooltip";
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { BrowserRouter, Routes, Route } from "react-router-dom";
|
||||
import Index from "./pages/Index";
|
||||
import About from "./pages/About";
|
||||
import ServicesPage from "./pages/ServicesPage";
|
||||
import Resources from "./pages/Resources";
|
||||
import TestimonialsPage from "./pages/TestimonialsPage";
|
||||
import Contact from "./pages/Contact";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
const queryClient = new QueryClient();
|
||||
@@ -16,6 +21,11 @@ const App = () => (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<Index />} />
|
||||
<Route path="/about" element={<About />} />
|
||||
<Route path="/services" element={<ServicesPage />} />
|
||||
<Route path="/resources" element={<Resources />} />
|
||||
<Route path="/testimonials" element={<TestimonialsPage />} />
|
||||
<Route path="/contact" element={<Contact />} />
|
||||
{/* ADD ALL CUSTOM ROUTES ABOVE THE CATCH-ALL "*" ROUTE */}
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
|
||||
Reference in New Issue
Block a user