Merge version_1 into main #2

Merged
bender merged 4 commits from version_1 into main 2026-03-11 04:39:11 +00:00
4 changed files with 86 additions and 287 deletions

View File

@@ -50,10 +50,11 @@ export default function AboutPage() {
{ value: "25+", title: "Years of Excellence" },
{ value: "98%", title: "Pass Rate" },
]}
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-with-arms-crossed-outside-modern-office-building_1139-1074.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-with-arms-crossed-outside-modern-office-building_1139-1074.jpg"
imageAlt="School Principal"
useInvertedBackground={false}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -66,29 +67,16 @@ export default function AboutPage() {
features={[
{
id: 1,
title: "Academic Excellence",
description: "We maintain rigorous academic standards while encouraging creative and critical thinking through interactive teaching methodologies and regular assessments.",
imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg?_wi=3",
imageAlt: "Academic Excellence",
},
title: "Academic Excellence", description: "We maintain rigorous academic standards while encouraging creative and critical thinking through interactive teaching methodologies and regular assessments.", imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg", imageAlt: "Academic Excellence"},
{
id: 2,
title: "Holistic Development",
description: "Beyond textbooks, we focus on developing leadership qualities, artistic talents, athletic abilities, and social awareness in every student.",
imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg?_wi=3",
imageAlt: "Holistic Development",
},
title: "Holistic Development", description: "Beyond textbooks, we focus on developing leadership qualities, artistic talents, athletic abilities, and social awareness in every student.", imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg", imageAlt: "Holistic Development"},
{
id: 3,
title: "Character Formation",
description: "We instill moral values, integrity, and ethical principles through our comprehensive character education programs and mentoring approach.",
imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg?_wi=2",
imageAlt: "Character Formation",
},
title: "Character Formation", description: "We instill moral values, integrity, and ethical principles through our comprehensive character education programs and mentoring approach.", imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg", imageAlt: "Character Formation"},
]}
textboxLayout="default"
useInvertedBackground={false}
mediaAnimation="slide-up"
/>
</div>
@@ -100,32 +88,14 @@ export default function AboutPage() {
description="Hear from parents who have experienced the Saint Peters difference and witnessed their children's transformation."
testimonials={[
{
id: "1",
name: "Ramesh Kumar",
handle: "@parent_ramesh",
testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg?_wi=2",
imageAlt: "Ramesh Kumar",
},
id: "1", name: "Ramesh Kumar", handle: "@parent_ramesh", testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg", imageAlt: "Ramesh Kumar"},
{
id: "2",
name: "Priya Sharma",
handle: "@priya_sharma",
testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg?_wi=2",
imageAlt: "Priya Sharma",
},
id: "2", name: "Priya Sharma", handle: "@priya_sharma", testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg", imageAlt: "Priya Sharma"},
{
id: "3",
name: "Vijay Reddy",
handle: "@vijay_parent",
testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg?_wi=2",
imageAlt: "Vijay Reddy",
},
id: "3", name: "Vijay Reddy", handle: "@vijay_parent", testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg", imageAlt: "Vijay Reddy"},
]}
showRating={true}
animationType="slide-up"

View File

@@ -51,29 +51,19 @@ export default function AcademicsPage() {
features={[
{
id: 1,
title: "Experienced Faculty",
description: "Qualified and dedicated teachers committed to student success and individual attention.",
imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg?_wi=4",
imageAlt: "Modern classroom with technology"
title: "Experienced Faculty", description: "Qualified and dedicated teachers committed to student success and individual attention.", imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg", imageAlt: "Modern classroom with technology"
},
{
id: 2,
title: "Strong Academic Results",
description: "Consistent high performance in board exams with focus on conceptual learning and practical application.",
imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg?_wi=4",
imageAlt: "Science laboratory with students"
title: "Strong Academic Results", description: "Consistent high performance in board exams with focus on conceptual learning and practical application.", imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg", imageAlt: "Science laboratory with students"
},
{
id: 3,
title: "Safe Campus Environment",
description: "Secure, clean, and well-maintained campus with comprehensive safety measures and supervision.",
imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg?_wi=3",
imageAlt: "School playground with students"
title: "Safe Campus Environment", description: "Secure, clean, and well-maintained campus with comprehensive safety measures and supervision.", imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg", imageAlt: "School playground with students"
}
]}
textboxLayout="default"
useInvertedBackground={false}
mediaAnimation="slide-up"
/>
</div>
@@ -86,28 +76,13 @@ export default function AcademicsPage() {
tagIcon={CheckCircle}
products={[
{
id: "primary",
name: "Primary School",
price: "Classes I-V",
variant: "Foundation for Future Learning",
imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg?_wi=3",
imageAlt: "Primary school students"
id: "primary", name: "Primary School", price: "Classes I-V", variant: "Foundation for Future Learning", imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg", imageAlt: "Primary school students"
},
{
id: "middle",
name: "Middle School",
price: "Classes VI-VIII",
variant: "Building Core Competencies",
imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg?_wi=3",
imageAlt: "Middle school students"
id: "middle", name: "Middle School", price: "Classes VI-VIII", variant: "Building Core Competencies", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg", imageAlt: "Middle school students"
},
{
id: "secondary",
name: "Higher Secondary",
price: "Classes IX-XII",
variant: "Science & Commerce Streams",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg?_wi=3",
imageAlt: "Higher secondary school students"
id: "secondary", name: "Higher Secondary", price: "Classes IX-XII", variant: "Science & Commerce Streams", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg", imageAlt: "Higher secondary school students"
}
]}
gridVariant="three-columns-all-equal-width"
@@ -126,58 +101,28 @@ export default function AcademicsPage() {
description="Real testimonials from parents who trust us with their child's education."
testimonials={[
{
id: "1",
name: "Ramesh Kumar",
handle: "@parent_ramesh",
testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg?_wi=3",
imageAlt: "Parent testimonial"
id: "1", name: "Ramesh Kumar", handle: "@parent_ramesh", testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg", imageAlt: "Parent testimonial"
},
{
id: "2",
name: "Priya Sharma",
handle: "@priya_sharma",
testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg?_wi=3",
imageAlt: "Parent testimonial"
id: "2", name: "Priya Sharma", handle: "@priya_sharma", testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg", imageAlt: "Parent testimonial"
},
{
id: "3",
name: "Vijay Reddy",
handle: "@vijay_parent",
testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg?_wi=3",
imageAlt: "Parent testimonial"
id: "3", name: "Vijay Reddy", handle: "@vijay_parent", testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg", imageAlt: "Parent testimonial"
},
{
id: "4",
name: "Anjali Desai",
handle: "@anjali_d",
testimonial: "Very impressed with the school's holistic approach to education. Teachers are approachable and genuinely care about student welfare.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-son-posing-with-thumbs-up_23-2148414902.jpg?_wi=2",
imageAlt: "Parent testimonial"
id: "4", name: "Anjali Desai", handle: "@anjali_d", testimonial: "Very impressed with the school's holistic approach to education. Teachers are approachable and genuinely care about student welfare.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-son-posing-with-thumbs-up_23-2148414902.jpg", imageAlt: "Parent testimonial"
},
{
id: "5",
name: "Suresh Patel",
handle: "@suresh_patel",
testimonial: "Outstanding academic results and character development. Saint Peters truly prepares students for future success.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-with-their-son_1098-845.jpg?_wi=2",
imageAlt: "Parent testimonial"
id: "5", name: "Suresh Patel", handle: "@suresh_patel", testimonial: "Outstanding academic results and character development. Saint Peters truly prepares students for future success.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-with-their-son_1098-845.jpg", imageAlt: "Parent testimonial"
},
{
id: "6",
name: "Neha Verma",
handle: "@neha_mom",
testimonial: "Best decision to enroll my son here. The school has transformed him into a confident and well-rounded individual.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-casual-clothes-glasses-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-11768.jpg?_wi=2",
imageAlt: "Parent testimonial"
id: "6", name: "Neha Verma", handle: "@neha_mom", testimonial: "Best decision to enroll my son here. The school has transformed him into a confident and well-rounded individual.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-casual-clothes-glasses-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-11768.jpg", imageAlt: "Parent testimonial"
}
]}
showRating={true}

View File

@@ -49,9 +49,7 @@ export default function HomePage() {
items: [
{ label: "Phone: 044 2595 1535", href: "tel:044-2595-1535" },
{
label: "18, W Madha Church St, Pudumanaikuppam, Royapuram, Chennai 600013",
href: "#",
},
label: "18, W Madha Church St, Pudumanaikuppam, Royapuram, Chennai 600013", href: "#"},
{ label: "Email: info@saintpeters.edu.in", href: "mailto:info@saintpeters.edu.in" },
],
},
@@ -87,7 +85,7 @@ export default function HomePage() {
{ text: "Call Now", href: "tel:044-2595-1535" },
{ text: "Enquire About Admissions", href: "/contact" },
]}
buttonAnimation="entrance-slide"
buttonAnimation="none"
background={{ variant: "sparkles-gradient" }}
imageSrc="http://img.b2bpic.net/free-photo/lesson-geography_1098-13022.jpg"
imageAlt="Saint Peters Higher Secondary School Campus"
@@ -106,10 +104,11 @@ export default function HomePage() {
{ value: "25+", title: "Years of Excellence" },
{ value: "98%", title: "Pass Rate" },
]}
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-with-arms-crossed-outside-modern-office-building_1139-1074.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-with-arms-crossed-outside-modern-office-building_1139-1074.jpg"
imageAlt="School Principal"
useInvertedBackground={false}
mediaAnimation="slide-up"
metricsAnimation="slide-up"
/>
</div>
@@ -122,26 +121,16 @@ export default function HomePage() {
features={[
{
id: 1,
title: "Experienced Faculty",
description: "Qualified and dedicated teachers committed to student success and individual attention.",
imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg?_wi=1",
},
title: "Experienced Faculty", description: "Qualified and dedicated teachers committed to student success and individual attention.", imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg"},
{
id: 2,
title: "Strong Academic Results",
description: "Consistent high performance in board exams with focus on conceptual learning and practical application.",
imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg?_wi=1",
},
title: "Strong Academic Results", description: "Consistent high performance in board exams with focus on conceptual learning and practical application.", imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg"},
{
id: 3,
title: "Safe Campus Environment",
description: "Secure, clean, and well-maintained campus with comprehensive safety measures and supervision.",
imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg?_wi=1",
},
title: "Safe Campus Environment", description: "Secure, clean, and well-maintained campus with comprehensive safety measures and supervision.", imageSrc: "http://img.b2bpic.net/free-photo/blonde-girl-passing-soccer-ball_23-2148355365.jpg"},
]}
textboxLayout="default"
useInvertedBackground={false}
mediaAnimation="slide-up"
/>
</div>
@@ -153,29 +142,11 @@ export default function HomePage() {
tagIcon={BookOpen}
products={[
{
id: "primary",
name: "Primary School",
price: "Classes I-V",
variant: "Foundation for Future Learning",
imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg?_wi=1",
imageAlt: "Primary School",
},
id: "primary", name: "Primary School", price: "Classes I-V", variant: "Foundation for Future Learning", imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg", imageAlt: "Primary School"},
{
id: "middle",
name: "Middle School",
price: "Classes VI-VIII",
variant: "Building Core Competencies",
imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg?_wi=1",
imageAlt: "Middle School",
},
id: "middle", name: "Middle School", price: "Classes VI-VIII", variant: "Building Core Competencies", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg", imageAlt: "Middle School"},
{
id: "secondary",
name: "Higher Secondary",
price: "Classes IX-XII",
variant: "Science & Commerce Streams",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg?_wi=1",
imageAlt: "Higher Secondary",
},
id: "secondary", name: "Higher Secondary", price: "Classes IX-XII", variant: "Science & Commerce Streams", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg", imageAlt: "Higher Secondary"},
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
@@ -192,21 +163,9 @@ export default function HomePage() {
description="Our campus features modern infrastructure to support comprehensive learning and development."
metrics={[
{
id: "1",
value: "Smart",
title: "Classrooms",
description: "Interactive learning with modern technology",
imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg?_wi=2",
imageAlt: "Smart Classroom",
},
id: "1", value: "Smart", title: "Classrooms", description: "Interactive learning with modern technology", imageSrc: "http://img.b2bpic.net/free-photo/empty-office-workplace-with-table-chair_1170-1957.jpg", imageAlt: "Smart Classroom"},
{
id: "2",
value: "Advanced",
title: "Science Labs",
description: "Hands-on learning and practical experimentation",
imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg?_wi=2",
imageAlt: "Science Lab",
},
id: "2", value: "Advanced", title: "Science Labs", description: "Hands-on learning and practical experimentation", imageSrc: "http://img.b2bpic.net/free-photo/students-researching-laboratory_1098-3248.jpg", imageAlt: "Science Lab"},
]}
animationType="slide-up"
textboxLayout="default"
@@ -222,38 +181,11 @@ export default function HomePage() {
description="Beyond academics, we nurture creativity, leadership, and character through diverse activities."
blogs={[
{
id: "1",
category: "Sports",
title: "Sports & Athletics",
excerpt: "Students participate in various sports including cricket, football, basketball, and athletics to develop teamwork and physical fitness.",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg?_wi=2",
imageAlt: "Sports Activity",
authorName: "Sports Department",
authorAvatar: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg",
date: "Ongoing",
},
id: "1", category: "Sports", title: "Sports & Athletics", excerpt: "Students participate in various sports including cricket, football, basketball, and athletics to develop teamwork and physical fitness.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg", imageAlt: "Sports Activity", authorName: "Sports Department", authorAvatar: "http://img.b2bpic.net/free-photo/close-up-young-happy-family-spending-time-together_329181-15893.jpg", date: "Ongoing"},
{
id: "2",
category: "Cultural",
title: "Cultural Programs & Events",
excerpt: "Annual cultural fest, talent shows, and performances celebrate student creativity and artistic talents.",
imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg?_wi=2",
imageAlt: "Cultural Event",
authorName: "Cultural Club",
authorAvatar: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg",
date: "Throughout Year",
},
id: "2", category: "Cultural", title: "Cultural Programs & Events", excerpt: "Annual cultural fest, talent shows, and performances celebrate student creativity and artistic talents.", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg", imageAlt: "Cultural Event", authorName: "Cultural Club", authorAvatar: "http://img.b2bpic.net/free-photo/smiley-woman-swing-dancing-side-view_23-2149841033.jpg", date: "Throughout Year"},
{
id: "3",
category: "Community",
title: "School Events & Gatherings",
excerpt: "Regular school assemblies, prize distributions, and community events foster school spirit and belonging.",
imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg?_wi=2",
imageAlt: "School Event",
authorName: "Student Council",
authorAvatar: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg",
date: "Monthly",
},
id: "3", category: "Community", title: "School Events & Gatherings", excerpt: "Regular school assemblies, prize distributions, and community events foster school spirit and belonging.", imageSrc: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg", imageAlt: "School Event", authorName: "Student Council", authorAvatar: "http://img.b2bpic.net/free-photo/boy-scouts-spending-time-nature_23-2149572892.jpg", date: "Monthly"},
]}
animationType="slide-up"
textboxLayout="default"
@@ -270,59 +202,23 @@ export default function HomePage() {
description="Real testimonials from parents who trust us with their child's education."
testimonials={[
{
id: "1",
name: "Ramesh Kumar",
handle: "@parent_ramesh",
testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg?_wi=1",
imageAlt: "Ramesh Kumar",
},
id: "1", name: "Ramesh Kumar", handle: "@parent_ramesh", testimonial: "Excellent school with dedicated teachers. My son has shown remarkable improvement in academics and overall personality development. Highly satisfied!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-friends-with-stickers-forehead-chatting_23-2147745149.jpg", imageAlt: "Ramesh Kumar"},
{
id: "2",
name: "Priya Sharma",
handle: "@priya_sharma",
testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg?_wi=1",
imageAlt: "Priya Sharma",
},
id: "2", name: "Priya Sharma", handle: "@priya_sharma", testimonial: "Saint Peters provides a safe and nurturing environment. The focus on both academics and extracurricular activities is commendable.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/female-agent-manager-meeting-with-couple-young-mature-customers-presenting-content-tablet_74855-9881.jpg", imageAlt: "Priya Sharma"},
{
id: "3",
name: "Vijay Reddy",
handle: "@vijay_parent",
testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg?_wi=1",
imageAlt: "Vijay Reddy",
},
id: "3", name: "Vijay Reddy", handle: "@vijay_parent", testimonial: "Great infrastructure and passionate faculty members. My daughter loves coming to school and her confidence has increased tremendously.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/shot-beautiful-young-businesswoman-wearing-blue-chiffon-shirt-while-standing-with-folded-arms-black-wall_158595-6868.jpg", imageAlt: "Vijay Reddy"},
{
id: "4",
name: "Anjali Desai",
handle: "@anjali_d",
testimonial: "Very impressed with the school's holistic approach to education. Teachers are approachable and genuinely care about student welfare.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-son-posing-with-thumbs-up_23-2148414902.jpg?_wi=1",
imageAlt: "Anjali Desai",
},
id: "4", name: "Anjali Desai", handle: "@anjali_d", testimonial: "Very impressed with the school's holistic approach to education. Teachers are approachable and genuinely care about student welfare.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-son-posing-with-thumbs-up_23-2148414902.jpg", imageAlt: "Anjali Desai"},
{
id: "5",
name: "Suresh Patel",
handle: "@suresh_patel",
testimonial: "Outstanding academic results and character development. Saint Peters truly prepares students for future success.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-with-their-son_1098-845.jpg?_wi=1",
imageAlt: "Suresh Patel",
},
id: "5", name: "Suresh Patel", handle: "@suresh_patel", testimonial: "Outstanding academic results and character development. Saint Peters truly prepares students for future success.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/parents-with-their-son_1098-845.jpg", imageAlt: "Suresh Patel"},
{
id: "6",
name: "Neha Verma",
handle: "@neha_mom",
testimonial: "Best decision to enroll my son here. The school has transformed him into a confident and well-rounded individual.",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-casual-clothes-glasses-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-11768.jpg?_wi=1",
imageAlt: "Neha Verma",
},
id: "6", name: "Neha Verma", handle: "@neha_mom", testimonial: "Best decision to enroll my son here. The school has transformed him into a confident and well-rounded individual.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hispanic-woman-wearing-casual-clothes-glasses-happy-face-smiling-with-crossed-arms-looking-camera-positive-person_839833-11768.jpg", imageAlt: "Neha Verma"},
]}
showRating={true}
animationType="slide-up"

View File

@@ -1,51 +1,39 @@
"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;
id?: string;
ariaLabel?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
({ text, className = '', textClassName = '', id = 'svg-text-logo', ariaLabel = 'Logo' }, ref) => {
return (
<svg
ref={ref}
viewBox="0 0 400 100"
xmlns="http://www.w3.org/2000/svg"
className={`w-full h-auto ${className}`}
id={id}
aria-label={ariaLabel}
role="img"
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={`text-5xl font-bold fill-current ${textClassName}`}
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";
SvgTextLogo.displayName = 'SvgTextLogo';
export default SvgTextLogo;