diff --git a/client/src/components/classes/class-card.tsx b/client/src/components/classes/class-card.tsx index 590ac18..d248a88 100644 --- a/client/src/components/classes/class-card.tsx +++ b/client/src/components/classes/class-card.tsx @@ -3,7 +3,9 @@ import { useAuth } from "@/hooks/use-auth"; import { useState } from "react"; import { useToast } from "@/hooks/use-toast"; import { useLocation } from "wouter"; -import FadiaClassImage from "../../assets/Fadia-156.jpg"; +import FadiaGroupClassImage from "../../assets/Fadia-15.jpg"; +import FadiaSmallGroupClassImage from "../../assets/Fadia-156.jpg"; +import FadiaPrivateClassImage from "../../assets/Fadia-132.jpg"; interface ClassCardProps { classData: Class; @@ -67,10 +69,20 @@ export function ClassCard({ classData, onBookClick }: ClassCardProps) { } }; + // Get class image based on class type + const getClassImage = () => { + switch (classData.classType) { + case "group": return FadiaGroupClassImage; + case "small-group": return FadiaSmallGroupClassImage; + case "private": return FadiaPrivateClassImage; + default: return FadiaGroupClassImage; + } + }; + return (
{classData.name} diff --git a/client/src/components/home/cta-section.tsx b/client/src/components/home/cta-section.tsx index ab7c998..ed93bfa 100644 --- a/client/src/components/home/cta-section.tsx +++ b/client/src/components/home/cta-section.tsx @@ -2,7 +2,7 @@ import { Link } from "wouter"; export function CTASection() { return ( -
+

Ready to feel stronger, more connected, and at home in your body? @@ -15,13 +15,13 @@ export function CTASection() {
Join a Class Contact Fadia