From d1d13dd658eb162a8e185efaa05990a04883abfe Mon Sep 17 00:00:00 2001 From: JeffEmmett <20747463-JeffEmmett@users.noreply.replit.com> Date: Fri, 9 May 2025 23:55:08 +0000 Subject: [PATCH] Improve website design by alternating section background colours Updates section background colours, testimonials, and iframe loading in components. Replit-Commit-Author: Agent Replit-Commit-Session-Id: acaf01d7-65a7-4fc5-901d-853488e196e8 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/af8dabca-e746-4e53-9c29-d8d4d9cf30f5/5edcf8a8-ba5e-470f-926c-6d357af1afad.jpg --- client/src/components/about/about-section.tsx | 2 +- .../community/community-section.tsx | 138 +++++++++--------- .../components/contact/contact-section.tsx | 2 +- 3 files changed, 70 insertions(+), 72 deletions(-) diff --git a/client/src/components/about/about-section.tsx b/client/src/components/about/about-section.tsx index 48c3aff..abe10b4 100644 --- a/client/src/components/about/about-section.tsx +++ b/client/src/components/about/about-section.tsx @@ -2,7 +2,7 @@ import { Link } from "wouter"; export function AboutSection() { return ( -
+

diff --git a/client/src/components/community/community-section.tsx b/client/src/components/community/community-section.tsx index cc5dc16..be0235c 100644 --- a/client/src/components/community/community-section.tsx +++ b/client/src/components/community/community-section.tsx @@ -14,107 +14,105 @@ export function CommunitySection() { author: "Sarah H.", memberSince: "2021", initials: "SH", - color: "teal" as const, + color: "teal", }, { - quote: "As someone recovering from back surgery, I was hesitant to try Pilates. Fadia's expertise made me feel safe and I've gained strength I never thought possible.", - author: "Michael K.", - memberSince: "2022", - initials: "MK", - color: "purple" as const, + quote: "I've seen incredible improvements in my posture and core strength since joining Fadia's classes. She truly understands how to help each individual.", + author: "Ahmed M.", + memberSince: "2022", + initials: "AM", + color: "purple", }, { - quote: "The community aspect of Pilates with Fadia sets it apart. I've not only improved my physical health but have made wonderful connections with fellow members.", - author: "Amina L.", - memberSince: "2020", - initials: "AL", - color: "rose" as const, - }, + quote: "The mindful approach to movement has helped my chronic back pain tremendously. I look forward to every class!", + author: "Laila K.", + memberSince: "2023", + initials: "LK", + color: "rose", + } ]; - - // This function would load the actual whiteboard in a real implementation - // For now, we're simulating the load timing + + // Handle the iframe loading useEffect(() => { if (user) { const timer = setTimeout(() => { setIframeLoaded(true); - }, 1000); + }, 1500); return () => clearTimeout(timer); } }, [user]); - + return ( -
+
-

+

Our Community

-

- A Global Space for Movement & Connection -

-

- Whether you're joining from your living room in Cairo or your studio in Berlin, you're part of a larger collective—a community that values strength, softness, breath, and belonging. +

+ Join our supportive community of like-minded individuals committed to health and wellness.

{testimonials.map((testimonial, index) => ( - + ))}
- -
-

Community Digital Whiteboard

-
+
+

+ Community Whiteboard +

- -
- {user ? ( - iframeLoaded ? ( -