Deployed your application

Replit-Commit-Author: Deployment
Replit-Commit-Session-Id: d004b9e1-f9be-46e2-acda-f440ccd644a9
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/af8dabca-e746-4e53-9c29-d8d4d9cf30f5/1d29b869-93e3-49ca-ae93-df533f6b984f.jpg
Replit-Commit-Deployment-Build-Id: 1d289b27-d327-4494-b2e9-abcd11c714d2
This commit is contained in:
JeffEmmett 2025-05-21 13:01:44 +00:00
parent 0326293baa
commit e8c665aa99
4 changed files with 37 additions and 2 deletions

View File

@ -11,6 +11,7 @@ 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 CalendarPage from "@/pages/calendar-page";
import NotFound from "@/pages/not-found";
import { ProtectedRoute } from "./lib/protected-route";
import Header from "@/components/navigation/header";
@ -26,6 +27,7 @@ function Router() {
<Route path="/classes" component={ClassesPage} />
<ProtectedRoute path="/community" component={CommunityPage} />
<Route path="/contact" component={ContactPage} />
<Route path="/calendar" component={CalendarPage} />
<Route path="/auth" component={AuthPage} />
<Route component={NotFound} />
</Switch>

View File

@ -10,7 +10,7 @@ export function CTASection() {
<div className="flex justify-center">
<Link
href="/classes"
href="/calendar"
className="bg-white text-teal font-bold py-4 px-10 rounded-md shadow-md hover:bg-opacity-90 transition duration-300 text-lg"
>
Book a Class

View File

@ -17,7 +17,7 @@ export function HeroSection() {
</h1>
<Link
href="/classes"
href="/calendar"
className="inline-block bg-teal text-white font-bold py-3 px-10 rounded-full hover:bg-opacity-90 transition duration-300"
style={{
boxShadow: "0 6px 10px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.12)",

View File

@ -0,0 +1,33 @@
import { useEffect } from "react";
export default function CalendarPage() {
useEffect(() => {
// Set meta data for SEO
document.title = "Pilates with Fadia | Class Schedule & Booking";
// Redirect to Momoyoga after component mounts
window.location.href = "https://www.momoyoga.com/pilates-with-fadia/schedule";
}, []);
return (
<main className="min-h-screen flex items-center justify-center bg-gray-50">
<div className="text-center p-8">
<h1 className="text-3xl font-playfair font-semibold text-gray-800 mb-4">
Redirecting to Class Schedule...
</h1>
<p className="text-gray-600 mb-6">
You're being redirected to our class booking system. If you are not redirected automatically,
please click the button below.
</p>
<a
href="https://www.momoyoga.com/pilates-with-fadia/schedule"
className="bg-teal text-white font-bold py-3 px-8 rounded-md hover:bg-teal-dark transition duration-300"
target="_blank"
rel="noopener noreferrer"
>
Go to Class Schedule
</a>
</div>
</main>
);
}