From cb45648b092e286c35700ada15d4d068ebd00229 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 17 Jun 2026 12:24:37 +0000 Subject: [PATCH] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 134 ++++++++++------------------------------- 1 file changed, 32 insertions(+), 102 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 41ce223..0254f8d 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -17,29 +17,20 @@ export default function HomePage() { title="Piton State College: Excellence in Education" description="Empowering the boys of Piton with academic rigor, innovation, and leadership under the Ministry of Education standards." primaryButton={{ - text: "Explore Academics", - href: "#academics", - }} + text: "Explore Academics", href: "#academics"}} secondaryButton={{ - text: "Contact Administration", - href: "#contact", - }} + text: "Contact Administration", href: "#contact"}} items={[ { - imageSrc: "http://img.b2bpic.net/free-photo/people-mask-standing-street_1157-34154.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/people-mask-standing-street_1157-34154.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-boy-presenting-class_23-2148601438.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/high-angle-boy-presenting-class_23-2148601438.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/front-view-table-with-solutions-microscope_140725-83496.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/front-view-table-with-solutions-microscope_140725-83496.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/diverse-women-working-graphic-designs_482257-121305.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/diverse-women-working-graphic-designs_482257-121305.jpg"}, { - imageSrc: "http://img.b2bpic.net/free-photo/multiethnic-pupils-doing-task-with-help-teacher_74855-10288.jpg", - }, + imageSrc: "http://img.b2bpic.net/free-photo/multiethnic-pupils-doing-task-with-help-teacher_74855-10288.jpg"}, ]} /> @@ -65,25 +56,13 @@ export default function HomePage() { description="We offer a comprehensive Cambridge-aligned curriculum across three core phases to ensure holistic student development." features={[ { - title: "Lower Secondary (Grades 7-9)", - description: "Building a solid foundation in core subjects, humanities, and practical technical arts.", - imageSrc: "http://img.b2bpic.net/free-photo/team-little-chemists_1098-16788.jpg", - }, + title: "Lower Secondary (Grades 7-9)", description: "Building a solid foundation in core subjects, humanities, and practical technical arts.", imageSrc: "http://img.b2bpic.net/free-photo/team-little-chemists_1098-16788.jpg"}, { - title: "SC Phase (Grades 10-11)", - description: "Specialized academic streams focusing on Science, Business, Technical, or Arts.", - imageSrc: "http://img.b2bpic.net/free-photo/pretty-woman-picking-literature_23-2147678861.jpg", - }, + title: "SC Phase (Grades 10-11)", description: "Specialized academic streams focusing on Science, Business, Technical, or Arts.", imageSrc: "http://img.b2bpic.net/free-photo/pretty-woman-picking-literature_23-2147678861.jpg"}, { - title: "HSC Phase (Grades 12-13)", - description: "Advanced pre-university training for future medicine, engineering, and law professionals.", - imageSrc: "http://img.b2bpic.net/free-photo/carpenter-works-with-tree_1157-18912.jpg", - }, + title: "HSC Phase (Grades 12-13)", description: "Advanced pre-university training for future medicine, engineering, and law professionals.", imageSrc: "http://img.b2bpic.net/free-photo/carpenter-works-with-tree_1157-18912.jpg"}, { - title: "Technical Training", - description: "Equipping students with practical skills in Design & Technology and ICT proficiency.", - imageSrc: "http://img.b2bpic.net/free-photo/diverse-adult-students-working-computer-class_74855-1765.jpg", - }, + title: "Technical Training", description: "Equipping students with practical skills in Design & Technology and ICT proficiency.", imageSrc: "http://img.b2bpic.net/free-photo/diverse-adult-students-working-computer-class_74855-1765.jpg"}, ]} /> @@ -97,40 +76,19 @@ export default function HomePage() { description="Extracurricular excellence is at the heart of the Piton experience, building character, leadership, and camaraderie." items={[ { - title: "Science Quest", - description: "National technology and innovation challenges.", - imageSrc: "http://img.b2bpic.net/free-photo/young-colleagues-working-together-cafe_273609-13292.jpg", - }, + title: "Science Quest", description: "National technology and innovation challenges.", imageSrc: "http://img.b2bpic.net/free-photo/young-colleagues-working-together-cafe_273609-13292.jpg"}, { - title: "Model UN", - description: "Developing diplomacy and research skills.", - imageSrc: "http://img.b2bpic.net/free-photo/black-military-officer-army-uniform-attends-counseling-session_482257-118584.jpg", - }, + title: "Model UN", description: "Developing diplomacy and research skills.", imageSrc: "http://img.b2bpic.net/free-photo/black-military-officer-army-uniform-attends-counseling-session_482257-118584.jpg"}, { - title: "Duke of Edinburgh", - description: "Building resilience through outdoor adventure.", - imageSrc: "http://img.b2bpic.net/free-photo/man-castle-stairs_23-2148622582.jpg", - }, + title: "Duke of Edinburgh", description: "Building resilience through outdoor adventure.", imageSrc: "http://img.b2bpic.net/free-photo/man-castle-stairs_23-2148622582.jpg"}, { - title: "Football Team", - description: "Daily sports recreation and tournaments.", - imageSrc: "http://img.b2bpic.net/free-photo/full-shot-men-stretching-before-game_23-2150405359.jpg", - }, + title: "Football Team", description: "Daily sports recreation and tournaments.", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-men-stretching-before-game_23-2150405359.jpg"}, { - title: "Indoor Sports", - description: "Badminton, table tennis, and fitness.", - imageSrc: "http://img.b2bpic.net/free-photo/close-upon-basketball-ball_23-2150847350.jpg", - }, + title: "Indoor Sports", description: "Badminton, table tennis, and fitness.", imageSrc: "http://img.b2bpic.net/free-photo/close-upon-basketball-ball_23-2150847350.jpg"}, { - title: "Creative Arts", - description: "Painting, music, and art studios.", - imageSrc: "http://img.b2bpic.net/free-photo/two-canvas-books_23-2148017377.jpg", - }, + title: "Creative Arts", description: "Painting, music, and art studios.", imageSrc: "http://img.b2bpic.net/free-photo/two-canvas-books_23-2148017377.jpg"}, { - title: "Leadership Councils", - description: "Student voice and assembly activities.", - imageSrc: "http://img.b2bpic.net/free-photo/people-having-fun-break_23-2147679164.jpg", - }, + title: "Leadership Councils", description: "Student voice and assembly activities.", imageSrc: "http://img.b2bpic.net/free-photo/people-having-fun-break_23-2147679164.jpg"}, ]} /> @@ -144,28 +102,16 @@ export default function HomePage() { description="Our compact, efficient campus is designed to maximize student learning opportunities through specialized instructional zones." metrics={[ { - value: "800+", - title: "Student Population", - features: [ - "Integrated secondary track", - "Continuous development", - ], + value: "800+", title: "Student Population", features: [ + "Integrated secondary track", "Continuous development"], }, { - value: "53", - title: "Dedicated Educators", - features: [ - "Certified secondary specialists", - "Cross-departmental collaboration", - ], + value: "53", title: "Dedicated Educators", features: [ + "Certified secondary specialists", "Cross-departmental collaboration"], }, { - value: "40+", - title: "Learning Spaces", - features: [ - "Modern classroom block", - "Specialized labs and studios", - ], + value: "40+", title: "Learning Spaces", features: [ + "Modern classroom block", "Specialized labs and studios"], }, ]} /> @@ -180,29 +126,17 @@ export default function HomePage() { description="Common inquiries about admissions, school routine, and administrative operations." items={[ { - question: "What are the school operating hours?", - answer: "Monday-Friday 07:30-15:00, Sunday 07:30-15:00. Closed Saturdays.", - }, + question: "What are the school operating hours?", answer: "Monday-Friday 07:30-15:00, Sunday 07:30-15:00. Closed Saturdays."}, { - question: "Where is the school located?", - answer: "Royal Road, La Paix, Piton, Republic of Mauritius.", - }, + question: "Where is the school located?", answer: "Royal Road, La Paix, Piton, Republic of Mauritius."}, { - question: "How can I contact the administration?", - answer: "Primary lines: +230 264 9167 / +230 264 9163, email: pscrector@govmu.org.", - }, + question: "How can I contact the administration?", answer: "Primary lines: +230 264 9167 / +230 264 9163, email: pscrector@govmu.org."}, { - question: "Does PSC provide transport?", - answer: "We facilitate dedicated morning and afternoon buses to regional villages.", - }, + question: "Does PSC provide transport?", answer: "We facilitate dedicated morning and afternoon buses to regional villages."}, { - question: "Is Piton State College boys-only?", - answer: "Yes, we operate as an all-boys secondary school cohort.", - }, + question: "Is Piton State College boys-only?", answer: "Yes, we operate as an all-boys secondary school cohort."}, { - question: "How do I access school coordinates?", - answer: "Use the Decimal: 20.098215°S, 57.633103°E; DMS: 20° 05' 54\" S, 57° 37' 60\" E; or Plus Code: 5HFVWJ2M+P7.", - }, + question: "How do I access school coordinates?", answer: "Use the Decimal: 20.098215°S, 57.633103°E; DMS: 20° 05' 54\" S, 57° 37' 60\" E; or Plus Code: 5HFVWJ2M+P7."}, ]} /> @@ -214,13 +148,9 @@ export default function HomePage() { tag="Connect With Us" text="For urgent administrative inquiries or admissions information, please contact our administrative hub directly." primaryButton={{ - text: "Email Rector", - href: "mailto:pscrector@govmu.org", - }} + text: "Email Rector", href: "mailto:pscrector@govmu.org"}} secondaryButton={{ - text: "Call School", - href: "tel:+2302649167", - }} + text: "Call School", href: "tel:+2302649167"}} />