diff --git a/src/app/page.tsx b/src/app/page.tsx index 4d84f14..e75c5e1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="mediumSmall" sizing="large" - background="fluid" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="flat" secondaryButtonStyle="glass" @@ -44,8 +44,8 @@ export default function LandingPage() { title="Smart School: Excellence in Education" description="Empowering students through English, French, and comprehensive educational programs for global success" tag="Premium Education" - background={{ variant: "fluid" }} - imageSrc="http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg?_wi=1" + background={{ variant: "glowing-orb" }} + imageSrc="http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg" imageAlt="Smart School Modern Classroom" mediaAnimation="slide-up" buttons={[ @@ -55,15 +55,15 @@ export default function LandingPage() { testimonials={[ { name: "Mr. Ahmed Hassan", handle: "Parent", testimonial: "Smart School transformed my child's education. The English and French programs are exceptional!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg?_wi=1", imageAlt: "Mr. Ahmed Hassan" + imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg", imageAlt: "Mr. Ahmed Hassan" }, { name: "Ms. Fatima Al-Mansouri", handle: "Educator", testimonial: "The curriculum quality and student-centered approach sets Smart School apart from others.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg?_wi=1", imageAlt: "Ms. Fatima Al-Mansouri" + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg", imageAlt: "Ms. Fatima Al-Mansouri" }, { name: "Omar Al-Mazrouei", handle: "Student", testimonial: "I improved my English and French significantly. The teaching methods are innovative and engaging!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-showing-thumbs-up_23-2149272217.jpg?_wi=1", imageAlt: "Omar Al-Mazrouei" + imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-showing-thumbs-up_23-2149272217.jpg", imageAlt: "Omar Al-Mazrouei" } ]} /> @@ -96,7 +96,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/colleagues-doing-team-work-project_23-2149361577.jpg", imageAlt: "English Language Class" }, { - imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg?_wi=1", imageAlt: "English Students Learning" + imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg", imageAlt: "English Students Learning" } ] }, @@ -107,7 +107,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/colleagues-working-together-while-sitting-cafe_273609-13050.jpg", imageAlt: "French Language Class" }, { - imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg?_wi=2", imageAlt: "French Students" + imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg", imageAlt: "French Students" } ] }, @@ -118,7 +118,7 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/rejoicing-girl-near-table-chemistry-class_259150-60288.jpg", imageAlt: "STEM Laboratory" }, { - imageSrc: "http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg?_wi=2", imageAlt: "Tech Learning" + imageSrc: "http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg", imageAlt: "Tech Learning" } ] }, @@ -126,10 +126,10 @@ export default function LandingPage() { title: "Character Development", description: "Holistic approach to building leadership, integrity, and social responsibility in every student", icon: Shield, mediaItems: [ { - imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg?_wi=3", imageAlt: "Student Development" + imageSrc: "http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg", imageAlt: "Student Development" }, { - imageSrc: "http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg?_wi=3", imageAlt: "Learning Community" + imageSrc: "http://img.b2bpic.net/free-photo/primary-school-pupils-library-discuss-online-seminar_482257-114548.jpg", imageAlt: "Learning Community" } ] } @@ -174,22 +174,22 @@ export default function LandingPage() { animationType="slide-up" testimonials={[ { - id: "1", name: "Aisha Al-Mansoori", handle: "Parent", testimonial: "My daughter's English fluency improved dramatically. The teaching methods are effective and engaging.", imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg?_wi=2", imageAlt: "Aisha Al-Mansoori" + id: "1", name: "Aisha Al-Mansoori", handle: "Parent", testimonial: "My daughter's English fluency improved dramatically. The teaching methods are effective and engaging.", imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg", imageAlt: "Aisha Al-Mansoori" }, { - id: "2", name: "Dr. Mohammed Al-Noor", handle: "Educator", testimonial: "Working at Smart School is fulfilling. The institution truly prioritizes student development and academic excellence.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg?_wi=2", imageAlt: "Dr. Mohammed Al-Noor" + id: "2", name: "Dr. Mohammed Al-Noor", handle: "Educator", testimonial: "Working at Smart School is fulfilling. The institution truly prioritizes student development and academic excellence.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg", imageAlt: "Dr. Mohammed Al-Noor" }, { - id: "3", name: "Zainab Al-Hashemi", handle: "Student", testimonial: "Smart School gave me confidence in English and French. I'm now studying abroad with full scholarship!", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-showing-thumbs-up_23-2149272217.jpg?_wi=2", imageAlt: "Zainab Al-Hashemi" + id: "3", name: "Zainab Al-Hashemi", handle: "Student", testimonial: "Smart School gave me confidence in English and French. I'm now studying abroad with full scholarship!", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-showing-thumbs-up_23-2149272217.jpg", imageAlt: "Zainab Al-Hashemi" }, { id: "4", name: "Hassan Al-Zaabi", handle: "Student", testimonial: "The STEM program at Smart School sparked my passion for engineering. Best decision my parents made!", imageSrc: "http://img.b2bpic.net/free-vector/set-organic-flat-motivational-great-job-stickers_23-2148935020.jpg", imageAlt: "Hassan Al-Zaabi" }, { - id: "5", name: "Layla Al-Suwaidi", handle: "Parent", testimonial: "Exceptional education, wonderful staff, and a supportive community. Smart School is worth every investment.", imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg?_wi=3", imageAlt: "Layla Al-Suwaidi" + id: "5", name: "Layla Al-Suwaidi", handle: "Parent", testimonial: "Exceptional education, wonderful staff, and a supportive community. Smart School is worth every investment.", imageSrc: "http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31775.jpg", imageAlt: "Layla Al-Suwaidi" }, { - id: "6", name: "Ahmed Al-Khezaim", handle: "Alumni", testimonial: "Smart School prepared me perfectly for university. The skills I learned continue to help me succeed.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg?_wi=3", imageAlt: "Ahmed Al-Khezaim" + id: "6", name: "Ahmed Al-Khezaim", handle: "Alumni", testimonial: "Smart School prepared me perfectly for university. The skills I learned continue to help me succeed.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-studying-together_23-2149204768.jpg", imageAlt: "Ahmed Al-Khezaim" } ]} speed={40} @@ -202,9 +202,9 @@ export default function LandingPage() { title="Enroll at Smart School Today" description="Begin your transformation with world-class education in English, French, and beyond. Join our community of achievers." tagIcon={Sparkles} - background={{ variant: "fluid" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg?_wi=4" + imageSrc="http://img.b2bpic.net/free-photo/surprised-girl-with-her-classmate_1098-2676.jpg" imageAlt="Smart School Community" mediaAnimation="slide-up" mediaPosition="right" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..15e3819 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,34 @@ -"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