Merge version_1 into main #2

Merged
bender merged 4 commits from version_1 into main 2026-03-10 19:19:18 +00:00
4 changed files with 73 additions and 290 deletions

View File

@@ -80,10 +80,7 @@ export default function AboutPage() {
<TextSplitAbout
title="Our Mission & Vision"
description={[
"Founded in 1999, the International Academy of Iraq stands as a beacon of educational excellence in the Middle East. Our mission is to empower students with the knowledge, skills, and values necessary to thrive in a rapidly changing global landscape.",
"We believe in fostering an inclusive community where students from diverse backgrounds collaborate, learn, and grow together. Our vision extends beyond academic achievement to develop responsible global citizens who contribute positively to society.",
"Through innovative curricula, cutting-edge facilities, and a dedicated faculty committed to individual student growth, we create an environment where every student can achieve their full potential and become leaders in their chosen fields.",
]}
"Founded in 1999, the International Academy of Iraq stands as a beacon of educational excellence in the Middle East. Our mission is to empower students with the knowledge, skills, and values necessary to thrive in a rapidly changing global landscape.", "We believe in fostering an inclusive community where students from diverse backgrounds collaborate, learn, and grow together. Our vision extends beyond academic achievement to develop responsible global citizens who contribute positively to society.", "Through innovative curricula, cutting-edge facilities, and a dedicated faculty committed to individual student growth, we create an environment where every student can achieve their full potential and become leaders in their chosen fields."]}
buttons={[{ text: "Explore Our Values", href: "/about" }]}
showBorder={true}
useInvertedBackground={false}
@@ -97,35 +94,14 @@ export default function AboutPage() {
tag="Academic Leadership"
members={[
{
id: "1",
name: "Dr. Fatima Al-Rashid",
role: "Headmaster",
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2149204753.jpg?_wi=2",
imageAlt: "professional educator teacher portrait",
},
id: "1", name: "Dr. Fatima Al-Rashid", role: "Headmaster", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2149204753.jpg", imageAlt: "professional educator teacher portrait"},
{
id: "2",
name: "Prof. James Mitchell",
role: "Science Director",
imageSrc: "http://img.b2bpic.net/free-photo/smart-teenager-doing-exam_1098-2507.jpg?_wi=2",
imageAlt: "female educator academic professional",
},
id: "2", name: "Prof. James Mitchell", role: "Science Director", imageSrc: "http://img.b2bpic.net/free-photo/smart-teenager-doing-exam_1098-2507.jpg", imageAlt: "female educator academic professional"},
{
id: "3",
name: "Dr. Mohammad Hassan",
role: "Humanities Chair",
imageSrc: "http://img.b2bpic.net/free-photo/office-workers-working-together-as-team_23-2149310946.jpg?_wi=2",
imageAlt: "male professor academic expert",
},
id: "3", name: "Dr. Mohammad Hassan", role: "Humanities Chair", imageSrc: "http://img.b2bpic.net/free-photo/office-workers-working-together-as-team_23-2149310946.jpg", imageAlt: "male professor academic expert"},
{
id: "4",
name: "Dr. Aisha Al-Mansouri",
role: "Languages Director",
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-holding-jacket-shoulder_1262-3853.jpg?_wi=2",
imageAlt: "academic professional educator expert",
},
id: "4", name: "Dr. Aisha Al-Mansouri", role: "Languages Director", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-holding-jacket-shoulder_1262-3853.jpg", imageAlt: "academic professional educator expert"},
]}
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
@@ -139,47 +115,22 @@ export default function AboutPage() {
tag="By The Numbers"
metrics={[
{
id: "1",
value: "25+",
title: "Years of Educational Excellence",
items: [
"Established 1999",
"Continuous academic achievement",
"Growing alumni network",
],
id: "1", value: "25+", title: "Years of Educational Excellence", items: [
"Established 1999", "Continuous academic achievement", "Growing alumni network"],
},
{
id: "2",
value: "2000+",
title: "Current Student Body",
items: [
"45 countries represented",
"Diverse cultural perspectives",
"Strong community bonds",
],
id: "2", value: "2000+", title: "Current Student Body", items: [
"45 countries represented", "Diverse cultural perspectives", "Strong community bonds"],
},
{
id: "3",
value: "5000+",
title: "Successful Alumni",
items: [
"Top universities worldwide",
"Global professional leaders",
"Active community contributors",
],
id: "3", value: "5000+", title: "Successful Alumni", items: [
"Top universities worldwide", "Global professional leaders", "Active community contributors"],
},
{
id: "4",
value: "95%",
title: "University Placement Success",
items: [
"World-leading institutions",
"Scholarship recipients",
"Career-ready graduates",
],
id: "4", value: "95%", title: "University Placement Success", items: [
"World-leading institutions", "Scholarship recipients", "Career-ready graduates"],
},
]}
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}

View File

@@ -84,12 +84,10 @@ export default function HomePage() {
<HeroCentered
title="Excellence in International Education"
description="Inspiring minds, building leaders, and shaping the future through rigorous academic standards and global perspectives"
background={{ variant: "circleGradient" }}
background={{ variant: "plain" }}
avatars={[
{
src: "http://img.b2bpic.net/free-photo/people-leaning-handrail_23-2147678955.jpg",
alt: "International Academy Campus",
},
src: "http://img.b2bpic.net/free-photo/people-leaning-handrail_23-2147678955.jpg", alt: "International Academy Campus"},
]}
avatarText="Serving 2000+ Students from 45 Countries"
buttons={[
@@ -104,10 +102,7 @@ export default function HomePage() {
<TextSplitAbout
title="About Our Academy"
description={[
"The International Academy of Iraq is dedicated to providing world-class education that prepares students for success in an increasingly interconnected global community.",
"With a curriculum grounded in international standards and taught by experienced educators from around the world, we foster intellectual curiosity, critical thinking, and cultural awareness.",
"Our state-of-the-art facilities and innovative teaching methodologies ensure that every student receives personalized attention and the opportunity to reach their full potential.",
]}
"The International Academy of Iraq is dedicated to providing world-class education that prepares students for success in an increasingly interconnected global community.", "With a curriculum grounded in international standards and taught by experienced educators from around the world, we foster intellectual curiosity, critical thinking, and cultural awareness.", "Our state-of-the-art facilities and innovative teaching methodologies ensure that every student receives personalized attention and the opportunity to reach their full potential."]}
buttons={[{ text: "Learn Our Mission", href: "/about" }]}
showBorder={true}
useInvertedBackground={false}
@@ -121,35 +116,14 @@ export default function HomePage() {
tag="Excellence"
features={[
{
id: "01",
title: "Primary Education",
description: "Foundation-building years with emphasis on critical thinking, creativity, and collaborative learning skills",
imageSrc: "http://img.b2bpic.net/free-photo/colleagues-studying-together-exam_23-2149038433.jpg?_wi=1",
imageAlt: "international education global standards",
},
id: "01", title: "Primary Education", description: "Foundation-building years with emphasis on critical thinking, creativity, and collaborative learning skills", imageSrc: "http://img.b2bpic.net/free-photo/colleagues-studying-together-exam_23-2149038433.jpg", imageAlt: "international education global standards"},
{
id: "02",
title: "Secondary Education",
description: "Rigorous curriculum preparing students for international examinations and higher education",
imageSrc: "http://img.b2bpic.net/free-photo/group-teens-doing-experiments-robotics-laboratory-boys-girls-protective-vr_1268-23742.jpg?_wi=1",
imageAlt: "STEM education classroom laboratory",
},
id: "02", title: "Secondary Education", description: "Rigorous curriculum preparing students for international examinations and higher education", imageSrc: "http://img.b2bpic.net/free-photo/group-teens-doing-experiments-robotics-laboratory-boys-girls-protective-vr_1268-23742.jpg", imageAlt: "STEM education classroom laboratory"},
{
id: "03",
title: "Language Programs",
description: "Multilingual education with proficiency in English, Arabic, and additional international languages",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-children-with-medical-masks-classroom-saluting-each-other-from-distance_23-2148848266.jpg?_wi=1",
imageAlt: "language learning classroom education",
},
id: "03", title: "Language Programs", description: "Multilingual education with proficiency in English, Arabic, and additional international languages", imageSrc: "http://img.b2bpic.net/free-photo/side-view-children-with-medical-masks-classroom-saluting-each-other-from-distance_23-2148848266.jpg", imageAlt: "language learning classroom education"},
{
id: "04",
title: "Advanced Studies",
description: "Specialized tracks in STEM, humanities, and arts preparing students for university entrance",
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-readers-library_23-2147678908.jpg?_wi=1",
imageAlt: "modern university library interior",
},
id: "04", title: "Advanced Studies", description: "Specialized tracks in STEM, humanities, and arts preparing students for university entrance", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-readers-library_23-2147678908.jpg", imageAlt: "modern university library interior"},
]}
gridVariant="two-columns-alternating-heights"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
@@ -163,47 +137,22 @@ export default function HomePage() {
tag="By The Numbers"
metrics={[
{
id: "1",
value: "2000+",
title: "Active Students",
items: [
"From 45 different countries",
"Diverse cultural backgrounds",
"Collaborative learning community",
],
id: "1", value: "2000+", title: "Active Students", items: [
"From 45 different countries", "Diverse cultural backgrounds", "Collaborative learning community"],
},
{
id: "2",
value: "95%",
title: "University Placement Rate",
items: [
"Top international universities",
"Scholarship recipients",
"Career-ready graduates",
],
id: "2", value: "95%", title: "University Placement Rate", items: [
"Top international universities", "Scholarship recipients", "Career-ready graduates"],
},
{
id: "3",
value: "150+",
title: "Experienced Faculty",
items: [
"International credentials",
"Subject matter experts",
"Mentorship-focused approach",
],
id: "3", value: "150+", title: "Experienced Faculty", items: [
"International credentials", "Subject matter experts", "Mentorship-focused approach"],
},
{
id: "4",
value: "25",
title: "Years of Excellence",
items: [
"Educational legacy",
"Proven track record",
"Trusted by families worldwide",
],
id: "4", value: "25", title: "Years of Excellence", items: [
"Educational legacy", "Proven track record", "Trusted by families worldwide"],
},
]}
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
@@ -217,35 +166,14 @@ export default function HomePage() {
tag="Leadership"
members={[
{
id: "1",
name: "Dr. Fatima Al-Rashid",
role: "Headmaster",
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2149204753.jpg?_wi=1",
imageAlt: "professional educator teacher portrait",
},
id: "1", name: "Dr. Fatima Al-Rashid", role: "Headmaster", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2149204753.jpg", imageAlt: "professional educator teacher portrait"},
{
id: "2",
name: "Prof. James Mitchell",
role: "Science Director",
imageSrc: "http://img.b2bpic.net/free-photo/smart-teenager-doing-exam_1098-2507.jpg?_wi=1",
imageAlt: "female educator academic professional",
},
id: "2", name: "Prof. James Mitchell", role: "Science Director", imageSrc: "http://img.b2bpic.net/free-photo/smart-teenager-doing-exam_1098-2507.jpg", imageAlt: "female educator academic professional"},
{
id: "3",
name: "Dr. Mohammad Hassan",
role: "Humanities Chair",
imageSrc: "http://img.b2bpic.net/free-photo/office-workers-working-together-as-team_23-2149310946.jpg?_wi=1",
imageAlt: "male professor academic expert",
},
id: "3", name: "Dr. Mohammad Hassan", role: "Humanities Chair", imageSrc: "http://img.b2bpic.net/free-photo/office-workers-working-together-as-team_23-2149310946.jpg", imageAlt: "male professor academic expert"},
{
id: "4",
name: "Dr. Aisha Al-Mansouri",
role: "Languages Director",
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-holding-jacket-shoulder_1262-3853.jpg?_wi=1",
imageAlt: "academic professional educator expert",
},
id: "4", name: "Dr. Aisha Al-Mansouri", role: "Languages Director", imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-holding-jacket-shoulder_1262-3853.jpg", imageAlt: "academic professional educator expert"},
]}
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
@@ -262,53 +190,17 @@ export default function HomePage() {
animationType="slide-up"
testimonials={[
{
id: "1",
name: "Layla Hassan",
handle: "Class of 2023",
testimonial: "The Academy transformed my academic journey and prepared me exceptionally well for university. The supportive environment and dedicated faculty made all the difference in my success.",
imageSrc: "http://img.b2bpic.net/free-photo/friendly-corporate-businesswoman_23-2147702112.jpg?_wi=1",
imageAlt: "Layla Hassan",
},
id: "1", name: "Layla Hassan", handle: "Class of 2023", testimonial: "The Academy transformed my academic journey and prepared me exceptionally well for university. The supportive environment and dedicated faculty made all the difference in my success.", imageSrc: "http://img.b2bpic.net/free-photo/friendly-corporate-businesswoman_23-2147702112.jpg", imageAlt: "Layla Hassan"},
{
id: "2",
name: "Amira Al-Khaldi",
handle: "Parent",
testimonial: "We chose the Academy for its international standards and diverse community. Our son has flourished academically and personally, making friends from around the world.",
imageSrc: "http://img.b2bpic.net/free-photo/students-with-tablets-talking_23-2147663375.jpg?_wi=1",
imageAlt: "Amira Al-Khaldi",
},
id: "2", name: "Amira Al-Khaldi", handle: "Parent", testimonial: "We chose the Academy for its international standards and diverse community. Our son has flourished academically and personally, making friends from around the world.", imageSrc: "http://img.b2bpic.net/free-photo/students-with-tablets-talking_23-2147663375.jpg", imageAlt: "Amira Al-Khaldi"},
{
id: "3",
name: "Karim Abdullah",
handle: "Class of 2022",
testimonial: "The multilingual education and critical thinking emphasis gave me competitive advantages at university. I credit the Academy for my current success in engineering.",
imageSrc: "http://img.b2bpic.net/free-photo/female-graduate-keeping-hands-chin-academic-dress-looking-merry-front-view_176474-51233.jpg?_wi=1",
imageAlt: "Karim Abdullah",
},
id: "3", name: "Karim Abdullah", handle: "Class of 2022", testimonial: "The multilingual education and critical thinking emphasis gave me competitive advantages at university. I credit the Academy for my current success in engineering.", imageSrc: "http://img.b2bpic.net/free-photo/female-graduate-keeping-hands-chin-academic-dress-looking-merry-front-view_176474-51233.jpg", imageAlt: "Karim Abdullah"},
{
id: "4",
name: "Sarah Al-Mansouri",
handle: "Current Student",
testimonial: "The collaborative learning environment and modern facilities make coming to school exciting. Teachers truly care about our individual growth and success.",
imageSrc: "http://img.b2bpic.net/free-photo/saleswoman-expresses-joy-happiness-businesswoman-triumphing-street-raising-hands-up-celebrati_1258-117445.jpg?_wi=1",
imageAlt: "Sarah Al-Mansouri",
},
id: "4", name: "Sarah Al-Mansouri", handle: "Current Student", testimonial: "The collaborative learning environment and modern facilities make coming to school exciting. Teachers truly care about our individual growth and success.", imageSrc: "http://img.b2bpic.net/free-photo/saleswoman-expresses-joy-happiness-businesswoman-triumphing-street-raising-hands-up-celebrati_1258-117445.jpg", imageAlt: "Sarah Al-Mansouri"},
{
id: "5",
name: "Hassan Al-Rashid",
handle: "Class of 2024",
testimonial: "International education at the Academy opened my eyes to global perspectives. I'm now studying at a top university and feel well-prepared for any challenge.",
imageSrc: "http://img.b2bpic.net/free-photo/classmates-studying-together_329181-19507.jpg?_wi=1",
imageAlt: "Hassan Al-Rashid",
},
id: "5", name: "Hassan Al-Rashid", handle: "Class of 2024", testimonial: "International education at the Academy opened my eyes to global perspectives. I'm now studying at a top university and feel well-prepared for any challenge.", imageSrc: "http://img.b2bpic.net/free-photo/classmates-studying-together_329181-19507.jpg", imageAlt: "Hassan Al-Rashid"},
{
id: "6",
name: "Dina Al-Jabri",
handle: "Parent",
testimonial: "The holistic approach to education—academics, character development, and leadership—makes the Academy truly exceptional. Our daughter is thriving here.",
imageSrc: "http://img.b2bpic.net/free-photo/female-assistant-holding-leather-cover-notebook-looks-positive_114579-22721.jpg?_wi=1",
imageAlt: "Dina Al-Jabri",
},
id: "6", name: "Dina Al-Jabri", handle: "Parent", testimonial: "The holistic approach to education—academics, character development, and leadership—makes the Academy truly exceptional. Our daughter is thriving here.", imageSrc: "http://img.b2bpic.net/free-photo/female-assistant-holding-leather-cover-notebook-looks-positive_114579-22721.jpg", imageAlt: "Dina Al-Jabri"},
]}
/>
</div>

View File

@@ -75,38 +75,17 @@ export default function ProgramsPage() {
<FeatureCardThree
features={[
{
id: "01",
title: "Primary Education",
description: "Foundation-building years with emphasis on critical thinking, creativity, and collaborative learning skills",
imageSrc: "http://img.b2bpic.net/free-photo/colleagues-studying-together-exam_23-2149038433.jpg?_wi=2",
imageAlt: "international education global standards",
},
id: "01", title: "Primary Education", description: "Foundation-building years with emphasis on critical thinking, creativity, and collaborative learning skills", imageSrc: "http://img.b2bpic.net/free-photo/colleagues-studying-together-exam_23-2149038433.jpg", imageAlt: "international education global standards"},
{
id: "02",
title: "Secondary Education",
description: "Rigorous curriculum preparing students for international examinations and higher education",
imageSrc: "http://img.b2bpic.net/free-photo/group-teens-doing-experiments-robotics-laboratory-boys-girls-protective-vr_1268-23742.jpg?_wi=2",
imageAlt: "STEM education classroom laboratory",
},
id: "02", title: "Secondary Education", description: "Rigorous curriculum preparing students for international examinations and higher education", imageSrc: "http://img.b2bpic.net/free-photo/group-teens-doing-experiments-robotics-laboratory-boys-girls-protective-vr_1268-23742.jpg", imageAlt: "STEM education classroom laboratory"},
{
id: "03",
title: "Language Programs",
description: "Multilingual education with proficiency in English, Arabic, and additional international languages",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-children-with-medical-masks-classroom-saluting-each-other-from-distance_23-2148848266.jpg?_wi=2",
imageAlt: "language learning classroom education",
},
id: "03", title: "Language Programs", description: "Multilingual education with proficiency in English, Arabic, and additional international languages", imageSrc: "http://img.b2bpic.net/free-photo/side-view-children-with-medical-masks-classroom-saluting-each-other-from-distance_23-2148848266.jpg", imageAlt: "language learning classroom education"},
{
id: "04",
title: "Advanced Studies",
description: "Specialized tracks in STEM, humanities, and arts preparing students for university entrance",
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-readers-library_23-2147678908.jpg?_wi=2",
imageAlt: "modern university library interior",
},
id: "04", title: "Advanced Studies", description: "Specialized tracks in STEM, humanities, and arts preparing students for university entrance", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-readers-library_23-2147678908.jpg", imageAlt: "modern university library interior"},
]}
title="Academic Programs"
description="Comprehensive educational pathways designed to develop well-rounded global citizens"
tag="Excellence"
gridVariant="two-columns-alternating-heights"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={true}
@@ -117,50 +96,25 @@ export default function ProgramsPage() {
<MetricCardSeven
metrics={[
{
id: "1",
value: "2000+",
title: "Active Students",
items: [
"From 45 different countries",
"Diverse cultural backgrounds",
"Collaborative learning community",
],
id: "1", value: "2000+", title: "Active Students", items: [
"From 45 different countries", "Diverse cultural backgrounds", "Collaborative learning community"],
},
{
id: "2",
value: "95%",
title: "University Placement Rate",
items: [
"Top international universities",
"Scholarship recipients",
"Career-ready graduates",
],
id: "2", value: "95%", title: "University Placement Rate", items: [
"Top international universities", "Scholarship recipients", "Career-ready graduates"],
},
{
id: "3",
value: "150+",
title: "Experienced Faculty",
items: [
"International credentials",
"Subject matter experts",
"Mentorship-focused approach",
],
id: "3", value: "150+", title: "Experienced Faculty", items: [
"International credentials", "Subject matter experts", "Mentorship-focused approach"],
},
{
id: "4",
value: "25",
title: "Years of Excellence",
items: [
"Educational legacy",
"Proven track record",
"Trusted by families worldwide",
],
id: "4", value: "25", title: "Years of Excellence", items: [
"Educational legacy", "Proven track record", "Trusted by families worldwide"],
},
]}
title="Our Achievement"
description="Demonstrating excellence through measurable outcomes and student success"
tag="By The Numbers"
gridVariant="four-items-2x2-equal-grid"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}

View File

@@ -1,51 +1,37 @@
"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;
fontSize?: number;
fontWeight?: string | number;
dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "hanging" | "mathematical" | "inherit" | "initial" | "unset";
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = "", textClassName = "", fontSize = 32,
fontWeight = "bold", dominantBaseline = "middle"}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
className={className}
viewBox={`0 0 ${text.length * 20} 50`}
xmlns="http://www.w3.org/2000/svg"
>
<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"
}}
x="50%"
y="50%"
dominantBaseline={dominantBaseline}
textAnchor="middle"
fontSize={fontSize}
fontWeight={fontWeight}
className={textClassName}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;