diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index d937027..4f3659d 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -52,7 +52,7 @@ export default function AboutPage() { borderRadius="pill" contentWidth="compact" sizing="large" - background="aurora" + background="circleGradient" cardStyle="outline" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="layered" @@ -73,24 +73,16 @@ export default function AboutPage() { metrics={[ { icon: Users, - label: "Experienced Teachers", - value: "20+", - }, + label: "Experienced Teachers", value: "20+"}, { icon: Heart, - label: "Activity-Based Learning", - value: "100%", - }, + label: "Activity-Based Learning", value: "100%"}, { icon: Shield, - label: "Safe & Hygienic", - value: "24/7", - }, + label: "Safe & Hygienic", value: "24/7"}, { icon: Lightbulb, - label: "Creativity Focus", - value: "Daily", - }, + label: "Creativity Focus", value: "Daily"}, ]} metricsAnimation="slide-up" useInvertedBackground={true} @@ -101,43 +93,25 @@ export default function AboutPage() { @@ -140,24 +124,16 @@ export default function HomePage() { metrics={[ { icon: Users, - label: "Experienced Teachers", - value: "20+", - }, + label: "Experienced Teachers", value: "20+"}, { icon: Heart, - label: "Activity-Based Learning", - value: "100%", - }, + label: "Activity-Based Learning", value: "100%"}, { icon: Shield, - label: "Safe & Hygienic", - value: "24/7", - }, + label: "Safe & Hygienic", value: "24/7"}, { icon: Lightbulb, - label: "Creativity Focus", - value: "Daily", - }, + label: "Creativity Focus", value: "Daily"}, ]} metricsAnimation="slide-up" useInvertedBackground={true} @@ -173,37 +149,17 @@ export default function HomePage() { tagAnimation="slide-up" products={[ { - id: "playgroup", - name: "Playgroup", - price: "Age 2+", - imageSrc: - "http://img.b2bpic.net/free-photo/boy-holding-green-container_23-2147664252.jpg?_wi=2", - imageAlt: "Playgroup children learning through play", - }, + id: "playgroup", name: "Playgroup", price: "Age 2+", imageSrc: + "http://img.b2bpic.net/free-photo/boy-holding-green-container_23-2147664252.jpg", imageAlt: "Playgroup children learning through play"}, { - id: "nursery", - name: "Nursery", - price: "Age 3+", - imageSrc: - "http://img.b2bpic.net/free-photo/young-woman-doing-speech-therapy-with-kids_23-2149110282.jpg?_wi=2", - imageAlt: "Nursery children with creative activities", - }, + id: "nursery", name: "Nursery", price: "Age 3+", imageSrc: + "http://img.b2bpic.net/free-photo/young-woman-doing-speech-therapy-with-kids_23-2149110282.jpg", imageAlt: "Nursery children with creative activities"}, { - id: "kg", - name: "KG", - price: "Age 4-5", - imageSrc: - "http://img.b2bpic.net/free-photo/side-view-child-home-being-tutored-through-laptop_23-2148524662.jpg?_wi=2", - imageAlt: "KG students preparing for primary school", - }, + id: "kg", name: "KG", price: "Age 4-5", imageSrc: + "http://img.b2bpic.net/free-photo/side-view-child-home-being-tutored-through-laptop_23-2148524662.jpg", imageAlt: "KG students preparing for primary school"}, { - id: "daycare", - name: "Daycare", - price: "All Ages", - imageSrc: - "http://img.b2bpic.net/free-photo/young-boy-girl-playing-indoors-with-eco-toys_23-2150268062.jpg?_wi=2", - imageAlt: "Safe daycare for working parents", - }, + id: "daycare", name: "Daycare", price: "All Ages", imageSrc: + "http://img.b2bpic.net/free-photo/young-boy-girl-playing-indoors-with-eco-toys_23-2150268062.jpg", imageAlt: "Safe daycare for working parents"}, ]} gridVariant="four-items-2x2-equal-grid" animationType="slide-up" @@ -211,9 +167,7 @@ export default function HomePage() { useInvertedBackground={false} buttons={[ { - text: "Explore All Programs", - href: "/programs", - }, + text: "Explore All Programs", href: "/programs"}, ]} /> @@ -227,46 +181,34 @@ export default function HomePage() { tagAnimation="slide-up" features={[ { - id: "1", - title: "Caring & Trained Teachers", - description: - "Our experienced educators are trained in modern pedagogical methods and genuinely care about your child's development.", - phoneOne: { + id: 1, + title: "Caring & Trained Teachers", description: + "Our experienced educators are trained in modern pedagogical methods and genuinely care about your child's development.", phoneOne: { imageSrc: - "http://img.b2bpic.net/free-photo/high-angle-girl-painting-her-palm_23-2148464635.jpg?_wi=2", - }, + "http://img.b2bpic.net/free-photo/high-angle-girl-painting-her-palm_23-2148464635.jpg"}, phoneTwo: { imageSrc: - "http://img.b2bpic.net/free-photo/boy-holding-green-container_23-2147664252.jpg?_wi=3", - }, + "http://img.b2bpic.net/free-photo/boy-holding-green-container_23-2147664252.jpg"}, }, { - id: "2", - title: "Activity-Based Curriculum", - description: - "Children learn through play, creativity, and hands-on exploration, making learning fun and engaging.", - phoneOne: { + id: 2, + title: "Activity-Based Curriculum", description: + "Children learn through play, creativity, and hands-on exploration, making learning fun and engaging.", phoneOne: { imageSrc: - "http://img.b2bpic.net/free-photo/young-woman-doing-speech-therapy-with-kids_23-2149110282.jpg?_wi=3", - }, + "http://img.b2bpic.net/free-photo/young-woman-doing-speech-therapy-with-kids_23-2149110282.jpg"}, phoneTwo: { imageSrc: - "http://img.b2bpic.net/free-photo/side-view-child-home-being-tutored-through-laptop_23-2148524662.jpg?_wi=3", - }, + "http://img.b2bpic.net/free-photo/side-view-child-home-being-tutored-through-laptop_23-2148524662.jpg"}, }, { - id: "3", - title: "Safe & Hygienic Campus", - description: - "We maintain the highest standards of cleanliness and safety, with secure facilities and regular health checks.", - phoneOne: { + id: 3, + title: "Safe & Hygienic Campus", description: + "We maintain the highest standards of cleanliness and safety, with secure facilities and regular health checks.", phoneOne: { imageSrc: - "http://img.b2bpic.net/free-photo/young-boy-girl-playing-indoors-with-eco-toys_23-2150268062.jpg?_wi=3", - }, + "http://img.b2bpic.net/free-photo/young-boy-girl-playing-indoors-with-eco-toys_23-2150268062.jpg"}, phoneTwo: { imageSrc: - "http://img.b2bpic.net/free-photo/cheerful-child-sitting-grass_23-2147637030.jpg?_wi=2", - }, + "http://img.b2bpic.net/free-photo/cheerful-child-sitting-grass_23-2147637030.jpg"}, }, ]} showStepNumbers={true} @@ -285,65 +227,35 @@ export default function HomePage() { tagAnimation="slide-up" testimonials={[ { - id: "1", - name: "Priya Sharma", - handle: "@priyasharma", - testimonial: - "Teachers are very caring and supportive. My daughter loved going to school every day!", - rating: 5, + id: "1", name: "Priya Sharma", handle: "@priyasharma", testimonial: + "Teachers are very caring and supportive. My daughter loved going to school every day!", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/happy-mother-daughter-laughing-together-outdoors_1153-7522.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/happy-mother-daughter-laughing-together-outdoors_1153-7522.jpg"}, { - id: "2", - name: "Rajesh Kumar", - handle: "@rajeshk", - testimonial: - "Great environment for kids to grow. The activity-based learning approach is excellent.", - rating: 5, + id: "2", name: "Rajesh Kumar", handle: "@rajeshk", testimonial: + "Great environment for kids to grow. The activity-based learning approach is excellent.", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/lgtbiq-family-enjoying-life-together_23-2149173418.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/lgtbiq-family-enjoying-life-together_23-2149173418.jpg"}, { - id: "3", - name: "Anita Singh", - handle: "@anitasingh", - testimonial: - "Learning here feels like playing. My son's confidence and creativity have improved so much.", - rating: 5, + id: "3", name: "Anita Singh", handle: "@anitasingh", testimonial: + "Learning here feels like playing. My son's confidence and creativity have improved so much.", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/mother-with-little-daughter-lying-plaid-summer-park_1157-27261.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/mother-with-little-daughter-lying-plaid-summer-park_1157-27261.jpg"}, { - id: "4", - name: "Vikram Patel", - handle: "@vikramp", - testimonial: - "The staff is professional and the facilities are clean and safe. Highly recommended!", - rating: 5, + id: "4", name: "Vikram Patel", handle: "@vikramp", testimonial: + "The staff is professional and the facilities are clean and safe. Highly recommended!", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/father-s-day-dad-son-reading-comic-book_23-2148511432.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/father-s-day-dad-son-reading-comic-book_23-2148511432.jpg"}, { - id: "5", - name: "Divya Gupta", - handle: "@divyag", - testimonial: - "Regular parent communication and updates make us feel connected to our child's progress.", - rating: 5, + id: "5", name: "Divya Gupta", handle: "@divyag", testimonial: + "Regular parent communication and updates make us feel connected to our child's progress.", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/mom-daughter-spending-mothers-day-together-out-park_23-2150293186.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/mom-daughter-spending-mothers-day-together-out-park_23-2150293186.jpg"}, { - id: "6", - name: "Arjun Mishra", - handle: "@arjunm", - testimonial: - "Worth every penny. My kids have learned so much and made wonderful friends.", - rating: 5, + id: "6", name: "Arjun Mishra", handle: "@arjunm", testimonial: + "Worth every penny. My kids have learned so much and made wonderful friends.", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/back-view-girl-holding-hands-with-mother_23-2149748250.jpg?_wi=1", - }, + "http://img.b2bpic.net/free-photo/back-view-girl-holding-hands-with-mother_23-2149748250.jpg"}, ]} showRating={true} animationType="slide-up" @@ -351,13 +263,31 @@ export default function HomePage() { useInvertedBackground={true} buttons={[ { - text: "Schedule Your Visit", - href: "/contact", - }, + text: "Schedule Your Visit", href: "/contact"}, ]} /> +
+ +
+
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8c12f9c 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,32 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React from "react"; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; + text: string; className?: string; + textClassName?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = "", textClassName = ""}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file