diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f9ba7f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +node_modules +dist +.DS_Store +server/public +vite.config.ts.* +*.tar.gz \ No newline at end of file diff --git a/.replit b/.replit new file mode 100644 index 0000000..51f344f --- /dev/null +++ b/.replit @@ -0,0 +1,36 @@ +modules = ["nodejs-20", "web", "postgresql-16"] +run = "npm run dev" +hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"] + +[nix] +channel = "stable-24_05" + +[deployment] +deploymentTarget = "autoscale" +build = ["npm", "run", "build"] +run = ["npm", "run", "start"] + +[[ports]] +localPort = 5000 +externalPort = 80 + +[workflows] +runButton = "Project" + +[[workflows.workflow]] +name = "Project" +mode = "parallel" +author = "agent" + +[[workflows.workflow.tasks]] +task = "workflow.run" +args = "Start application" + +[[workflows.workflow]] +name = "Start application" +author = "agent" + +[[workflows.workflow.tasks]] +task = "shell.exec" +args = "npm run dev" +waitForPort = 5000 diff --git a/client/index.html b/client/index.html new file mode 100644 index 0000000..afdd8b0 --- /dev/null +++ b/client/index.html @@ -0,0 +1,22 @@ + + + + + + Pilates with Fadia | Find Balance, Strength & Inner Peace + + + + + + + + + + +
+ + + + + diff --git a/client/src/App.tsx b/client/src/App.tsx new file mode 100644 index 0000000..f9e7b84 --- /dev/null +++ b/client/src/App.tsx @@ -0,0 +1,50 @@ +import { Switch, Route } from "wouter"; +import { queryClient } from "./lib/queryClient"; +import { QueryClientProvider } from "@tanstack/react-query"; +import { Toaster } from "@/components/ui/toaster"; +import { TooltipProvider } from "@/components/ui/tooltip"; +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 CommunityPage from "@/pages/community-page"; +import ContactPage from "@/pages/contact-page"; +import AuthPage from "@/pages/auth-page"; +import NotFound from "@/pages/not-found"; +import { ProtectedRoute } from "./lib/protected-route"; +import Header from "@/components/navigation/header"; +import Footer from "@/components/navigation/footer"; + +function Router() { + return ( + <> +
+ + + + + + + + + +