From c4c7d9e20f5d474a8f9f1fe3030a035f42e5bd9a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 06:26:19 +0000 Subject: [PATCH 1/3] Update src/app/layout.tsx --- src/app/layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5470440..a78831d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,7 +2,8 @@ import type { Metadata } from "next"; import "./globals.css"; export const metadata: Metadata = { - title: "EduPortal - School Management Solution", description: "Complete educational platform for students, teachers, and administrators"}; + title: "EduPortal - School Management Solution", description: "Complete educational platform for students, teachers, and administrators" +}; export default function RootLayout({ children, From 93cdd7e0860a8b4b99442b54d2bdba82f4703b3c Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 06:26:19 +0000 Subject: [PATCH 2/3] Update src/app/page.tsx --- src/app/page.tsx | 128 +++++++++++++++++++++++++++++------------------ 1 file changed, 78 insertions(+), 50 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c6dbe3b..197a79a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,15 +11,14 @@ import TestimonialCardSixteen from "@/components/sections/testimonial/Testimonia import FaqSplitText from "@/components/sections/faq/FaqSplitText"; import ContactSplit from "@/components/sections/contact/ContactSplit"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; -import { Users, BookOpen, TrendingUp, Award, Linkedin, Twitter, Github, Globe } from "lucide-react"; +import { Users, BookOpen, TrendingUp, Award, Linkedin, Twitter, Github, Globe, HelpCircle, Phone, Mail, MapPin } from "lucide-react"; export default function HomePage() { const navItems = [ { name: "Home", id: "/" }, - { name: "About", id: "/about" }, - { name: "Features", id: "features" }, - { name: "Academics", id: "/academics" }, - { name: "Contact", id: "contact" }, + { name: "About", id: "#about" }, + { name: "Features", id: "#features" }, + { name: "Contact", id: "#contact" }, ]; return ( @@ -50,26 +49,31 @@ export default function HomePage() { background={{ variant: "animated-grid" }} mediaItems={[ { - imageSrc: "http://img.b2bpic.net/free-photo/workers-looking-monthly-statistics_329181-12025.jpg?_wi=1", imageAlt: "Student Dashboard Interface"}, + imageSrc: "http://img.b2bpic.net/free-photo/workers-looking-monthly-statistics_329181-12025.jpg?_wi=1", imageAlt: "Student Dashboard Interface" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/young-teen-girls-study-desk-attending-virtual-webinar-class_482257-123130.jpg?_wi=1", imageAlt: "Online Learning Environment"}, + imageSrc: "http://img.b2bpic.net/free-photo/young-teen-girls-study-desk-attending-virtual-webinar-class_482257-123130.jpg?_wi=1", imageAlt: "Online Learning Environment" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/close-up-accounting-sales-statistics-computer-display_482257-122982.jpg?_wi=1", imageAlt: "Academic Analytics Dashboard"}, + imageSrc: "http://img.b2bpic.net/free-photo/close-up-accounting-sales-statistics-computer-display_482257-122982.jpg?_wi=1", imageAlt: "Academic Analytics Dashboard" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/privacy-confidential-protection-security-solitude-concept_53876-121229.jpg?_wi=1", imageAlt: "Secure Portal Access"}, + imageSrc: "http://img.b2bpic.net/free-photo/privacy-confidential-protection-security-solitude-concept_53876-121229.jpg?_wi=1", imageAlt: "Secure Portal Access" + }, { - imageSrc: "http://img.b2bpic.net/free-photo/man-showing-something-smartphone-woman_53876-30737.jpg?_wi=1", imageAlt: "Teacher-Student Communication"}, + imageSrc: "http://img.b2bpic.net/free-photo/man-showing-something-smartphone-woman_53876-30737.jpg?_wi=1", imageAlt: "Teacher-Student Communication" + }, ]} buttons={[ - { text: "Student Login", href: "/student-portal" }, - { text: "Teacher Access", href: "/teacher-dashboard" }, + { text: "Student Login", href: "#contact" }, + { text: "Learn More", href: "#features" }, ]} />
@@ -197,30 +217,38 @@ export default function HomePage() { columns={[ { title: "Platform", items: [ - { label: "Student Portal", href: "/student-portal" }, - { label: "Teacher Dashboard", href: "/teacher-dashboard" }, - { label: "Admin Panel", href: "/admin-panel" }, + { label: "Student Portal", href: "#hero" }, { label: "Features", href: "#features" }, + { label: "Pricing", href: "#contact" }, + { label: "About", href: "#about" }, ], }, { title: "Resources", items: [ - { label: "Documentation", href: "/docs" }, - { label: "API Reference", href: "/api" }, - { label: "Support Center", href: "/support" }, - { label: "Community", href: "/community" }, + { label: "Documentation", href: "#faq" }, + { label: "Support Center", href: "#contact" }, + { label: "Community", href: "#contact" }, + { label: "Help & FAQs", href: "#faq" }, ], }, { title: "Company", items: [ - { label: "About Us", href: "/about" }, - { label: "Careers", href: "/careers" }, - { label: "Blog", href: "/blog" }, + { label: "About Us", href: "#about" }, { label: "Contact", href: "#contact" }, + { label: "Privacy Policy", href: "#footer" }, + { label: "Terms of Service", href: "#footer" }, + ], + }, + { + title: "Languages", items: [ + { label: "English", href: "#nav" }, + { label: "Yoruba", href: "#nav" }, + { label: "Igbo", href: "#nav" }, + { label: "Hausa", href: "#nav" }, ], }, ]} - copyrightText="© 2025 EduPortal. All rights reserved. Transforming Education Through Technology." + copyrightText="© 2025 EduPortal. All rights reserved. Transforming Education Through Technology | Bilingual Support | Nigerian Educational Standards Compliant" /> From 5117afbffcb6611021596e2069535bb80fb8e626 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 06:26:20 +0000 Subject: [PATCH 3/3] Add src/i18n/translations.ts --- src/i18n/translations.ts | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/i18n/translations.ts diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts new file mode 100644 index 0000000..5e75242 --- /dev/null +++ b/src/i18n/translations.ts @@ -0,0 +1,49 @@ +export const translations = { + en: { + brand: "EduPortal", nav: { + home: "Home", about: "About", features: "Features", academics: "Academics", contact: "Contact"}, + buttons: { + studentLogin: "Student Login", teacherAccess: "Teacher Access", subscribe: "Subscribe"}, + hero: { + title: "Welcome to EduPortal - Your Complete School Management Solution", description: "Streamlined education platform for students, teachers, and administrators. Access grades, assignments, attendance, and more from one unified portal.", tag: "Educational Platform", mediaAlt1: "Student Dashboard Interface", mediaAlt2: "Online Learning Environment", mediaAlt3: "Academic Analytics Dashboard", mediaAlt4: "Secure Portal Access", mediaAlt5: "Teacher-Student Communication"}, + about: { + title: "EduPortal transforms educational management with technology designed for modern schools and institutions", metric1Label: "Active Students", metric1Value: "5,000+", metric2Label: "Courses Offered", metric2Value: "150+", metric3Label: "Pass Rate", metric3Value: "98%", metric4Label: "Awards Won", metric4Value: "25+"}, + features: { + title: "Comprehensive Educational Features", description: "All the tools needed for seamless school management and academic excellence", feature1Title: "Digital Learning Platform", feature1Description: "Access course materials, submit assignments, and collaborate with classmates in real-time", feature1Alt: "Learning Platform", feature2Title: "Academic Analytics", feature2Description: "Track grades, performance metrics, and progress reports with detailed insights", feature2Alt: "Analytics Dashboard", feature3Title: "Enhanced Security", feature3Description: "Secure authentication, data encryption, and role-based access controls", feature3Alt: "Security Features", feature4Title: "Communication Hub", feature4Description: "Direct messaging between teachers, students, and parents for seamless collaboration", feature4Alt: "Communication Tools"}, + metrics: { + title: "Impact by the Numbers", description: "Measurable results from our integrated school management system", metric1Value: "99.2%", metric1Title: "System Uptime", metric1Item1: "24/7 monitoring", metric1Item2: "Instant support team", metric1Item3: "Zero data loss guarantee", metric2Value: "10K+", metric2Title: "Institutions Using EduPortal", metric2Item1: "30+ countries", metric2Item2: "Multi-language support", metric2Item3: "Enterprise solutions", metric3Value: "500K+", metric3Title: "Active Daily Users", metric3Item1: "Students worldwide", metric3Item2: "Teachers and staff", metric3Item3: "Parents and guardians"}, + testimonials: { + title: "Student & Parent Testimonials", description: "Real experiences from our EduPortal community members", testimonial1Name: "Aisha Kumar", testimonial1Role: "Class 12 Student", testimonial1Company: "Central High School", testimonial2Name: "James Wilson", testimonial2Role: "Parent", testimonial2Company: "Brighton Academy", testimonial3Name: "Marco Santos", testimonial3Role: "Class 10 Student", testimonial3Company: "Riverside School", testimonial4Name: "Mrs. Priya Kapoor", testimonial4Role: "Parent", testimonial4Company: "Lakeside International", kpi1Value: "9.8/10", kpi1Label: "Average Rating", kpi2Value: "97%", kpi2Label: "Recommend Rate", kpi3Value: "50K+", kpi3Label: "Positive Reviews"}, + faq: { + title: "Frequently Asked Questions", description: "Get answers to common questions about EduPortal and our features", question1: "How do I access my student portal?", answer1: "Visit www.eduportal.edu and click on 'Student Login'. Use your student ID and password. New users can reset their password on the login page.", question2: "Can parents monitor their child's progress?", answer2: "Yes! Parents receive a separate login with access to their child's grades, attendance, and communication from teachers. Create a parent account during registration.", question3: "How often are grades updated?", answer3: "Teachers update grades within 48 hours of assessment. Real-time notifications are sent to students and parents whenever new grades are posted.", question4: "Is EduPortal secure for student data?", answer4: "Absolutely. We use enterprise-grade encryption, SSL certificates, and comply with FERPA regulations. Regular security audits ensure data protection.", question5: "Can I download my academic transcript?", answer5: "Yes, students can download their complete transcript, progress reports, and certificates directly from their portal in PDF format."}, + contact: { + tag: "Get In Touch", title: "Have Questions? We're Here to Help", description: "Reach out to our support team for assistance with login, technical issues, or general inquiries about EduPortal.", imageAlt: "Contact Us", emailPlaceholder: "your.email@school.edu", termsText: "We'll send you important updates about EduPortal features and system maintenance. You can unsubscribe anytime."}, + footer: { + section1Title: "Platform", section1Item1: "Student Portal", section1Item2: "Teacher Dashboard", section1Item3: "Admin Panel", section1Item4: "Features", section2Title: "Resources", section2Item1: "Documentation", section2Item2: "API Reference", section2Item3: "Support Center", section2Item4: "Community", section3Title: "Company", section3Item1: "About Us", section3Item2: "Careers", section3Item3: "Blog", section3Item4: "Contact", copyright: "© 2025 EduPortal. All rights reserved. Transforming Education Through Technology."}, + }, + yo: { + brand: "EduPortal", nav: { + home: "Ilé", about: "Nipa", features: "Àwọn Ẹya", academics: "Ẹkọ", contact: "Ṣe Pẹ̀lú Wa"}, + buttons: { + studentLogin: "Wọlé Ọmọ-Iwe", teacherAccess: "Wọlé Olùkọ́", subscribe: "Ṣàtúnṣe"}, + hero: { + title: "Kaabo si EduPortal - Ọ̀rọ̀ Ibadandun Iṣakojú Ẹkọ", description: "Àpò ẹkọ tó ṣe ṣiṣẹ́ fún ọmọ-iwe, olùkọ́, àti àwọn alákòósa. Ṣàkíyèsi àwọn onímọ̀ràn, àwọn iṣẹ́ ní ilé iwe, àwọn àkójú àti ọ̀pọ̀lọpọ̀ láti ákan kan.", tag: "Àpò Ẹkọ", mediaAlt1: "Àwòrán Ibon ti Ọmọ-Iwe", mediaAlt2: "Àyíka Ẹkọ Orí Ìntánẹ́ṭì", mediaAlt3: "Àwòrán Ìṣiro Ẹkọ", mediaAlt4: "Wọlé Ààbò", mediaAlt5: "Ìkipá Olùkọ́ àti Ọmọ-Iwe"}, + about: { + title: "EduPortal ń gbé ìgbésẹ̀ ti iṣakojú ẹkọ nípa ìmọ̀ kìkọ̀ ti a ṣàpẹ̀rẹ̀ fún àwọn ṣíṣú oní àkókò", metric1Label: "Ọmọ-Iwe Tó Ń Ẹkọ", metric1Value: "5,000+", metric2Label: "Àwọn Iṣẹ́ Ẹkọ", metric2Value: "150+", metric3Label: "Oríire Ẹkọ", metric3Value: "98%", metric4Label: "Àwọn Ẹbùn", metric4Value: "25+"}, + features: { + title: "Àwọn Ẹya Gbànṣẹ Ẹkọ", description: "Gbogbo àwọn irinṣẹ́ ti a nílò fún iṣakojú ẹkọ tó dára àti ìyàkítíyàkítì ẹkọ", feature1Title: "Àpò Ẹkọ Orí Ìntánẹ́ṭì", feature1Description: "Ní ìwé ẹkọ, fi iṣẹ́ nípa àpò, àti ṣàro pẹ̀lú àwọn ọmọ-iwe míìràn", feature1Alt: "Àpò Ẹkọ", feature2Title: "Ìṣiro Ẹkọ", feature2Description: "Ṣàkíyèsi àwọn onímọ̀ràn, àwọn àbá àti ìròyìn ìgbésẹ̀ nípa àwọn ìkóónì", feature2Alt: "Àwòrán Ìṣiro", feature3Title: "Ààbò Gídìga", feature3Description: "Ààbò wọlé, àlàpò àlàyé, àti àwọn àkójú tó ṣe ní ilé ẹkọ", feature3Alt: "Àwọn Ẹya Ààbò", feature4Title: "Ilé Ìkipá", feature4Description: "Àwọn ìròyìn àkarí láàrín olùkọ́, ọmọ-iwe, àti àwọn màgbà", feature4Alt: "Àwọn Irinṣẹ́ Ìkipá"}, + metrics: { + title: "Àbá Nípa Àwọn Nómìbà", description: "Àwọn àbá tó ṣe ìjáde láti àpò iṣakojú ẹkọ", metric1Value: "99.2%", metric1Title: "Àkókò Ṣiṣẹ́ ti Àpò", metric1Item1: "Ṣiṣẹ́ òru àti ọ̀sán", metric1Item2: "Tím ìrànlöwö kìí", metric1Item3: "Ní ìbajẹ́ àlàyé", metric2Value: "10K+", metric2Title: "Àwọn Ẹkọ Tó Ń Lò EduPortal", metric2Item1: "Ilé 30+", metric2Item2: "Aṣàtúnṣe òpó ede", metric2Item3: "Àwọn ojúlùmọ̀ agbaye", metric3Value: "500K+", metric3Title: "Àwọn Olùlò Ní Ọjọ́", metric3Item1: "Ọmọ-iwe agbaye", metric3Item2: "Olùkọ́ àti àwọn ọ̀rẹ́ ṣiṣẹ́", metric3Item3: "Àwọn màgbà àti àwọn ifamọ́ra"}, + testimonials: { + title: "Àwọn Ọ̀rọ̀ Tí Ọmọ-Iwe àti Àwọn Màgbà Sọ", description: "Àwọn àkọní gidi láti àwọn ènìyàn tó ń lò EduPortal", testimonial1Name: "Aisha Kumar", testimonial1Role: "Ọmọ-Iwe Ìgbà 12", testimonial1Company: "Ìlé Iwe Giga Central", testimonial2Name: "James Wilson", testimonial2Role: "Òbí", testimonial2Company: "Ìlé Iwe Brighton", testimonial3Name: "Marco Santos", testimonial3Role: "Ọmọ-Iwe Ìgbà 10", testimonial3Company: "Ìlé Iwe Riverside", testimonial4Name: "Mrs. Priya Kapoor", testimonial4Role: "Òbí", testimonial4Company: "Lakeside International", kpi1Value: "9.8/10", kpi1Label: "Idáropọ̀ Gbogbo", kpi2Value: "97%", kpi2Label: "Àbá Ìran", kpi3Value: "50K+", kpi3Label: "Àwọn Ọ̀rọ̀ Rere"}, + faq: { + title: "Àwọn Ìbéèrè Tí a Ń Béèrè Nígbagbogbo", description: "Ṣe àwọn ìbéèrè nípa EduPortal àti àwọn ẹya rẹ̀", question1: "Báwo ni mo ṣe le wọlé sí ìbón ọmọ-iwe?", answer1: "Lọ sí www.eduportal.edu àti tẹ 'Wọlé Ọmọ-Iwe'. Lo nómìbà ọmọ-iwe ati ọ̀rọ̀ ìdáhùn rẹ. Àwọn tuntun le túnṣe ọ̀rọ̀ ìdáhùn wọn lórí ìwé wọlé.", question2: "Ǹjẹ́ àwọn màgbà le ṣàkíyèsi ìgbésẹ̀ àwọn ọmọ wọn?", answer2: "Bẹ́ẹ̀ni! Àwọn màgbà gba wọlé ìkan pẹ́ pẹ́ nípa onímọ̀ràn, àkójú àti ìròyìn lá ó olùkọ́. Ṣè àkàwun màgbà lórí àkójú ìbérèjẹ́.", question3: "Àlokò mélòó ni a ń tún onímọ̀ràn?", answer3: "Olùkọ́ n tún onímọ̀ràn nínu ọjọ́ méjì. Àkédé kìí ni a ń ránṣẹ́ sí ọmọ-iwe àti àwọn màgbà.", question4: "Ǹjẹ́ EduPortal wúu fún àlàyé ọmọ-iwe?", answer4: "Bẹ́ẹ̀ni! A ń lò àlàpò àlàyé ti agbaye àti FERPA ìfúnni. A ń ṣàkíyèsi ààbò kìí.", question5: "Àbo le fa ìròyìn ẹkọ lóun?", answer5: "Bẹ́ẹ̀ni, ọmọ-iwe le fá ìròyìn, àwọn ìgbésẹ̀ àti àwọn àǹtítóè ni PDF fọ́ọ̀má."}, + contact: { + tag: "Ṣe Pẹ̀lú Wa", title: "Ǹjẹ́ O Ní Ìbéèrè? A Wà Níhìn-ù", description: "Ṣe pẹ̀lú tím ìrànlöwö wa fún ìrànwọ́ nípa wọlé, àwọn ìsoro kòmpútà, tàbí àwọn ìbéèrè nípa EduPortal.", imageAlt: "Ṣe Pẹ̀lú Wa", emailPlaceholder: "rẹ.imeèlì@ìlé-iwe.edu", termsText: "A ó ránṣẹ́ àwọn ìròyìn gidi nípa àwọn ẹya EduPortal àti àkójú àpò. O le yọkúrò ànyí."}, + footer: { + section1Title: "Àpò", section1Item1: "Ìbón Ọmọ-Iwe", section1Item2: "Àwòrán Olùkọ́", section1Item3: "Àwòrán Alákòósa", section1Item4: "Àwọn Ẹya", section2Title: "Àwọn Ìmọ̀", section2Item1: "Àwọn Ìtúkọ", section2Item2: "Ìkéde API", section2Item3: "Ilé Ìrànlöwö", section2Item4: "Àwọn Èyí", section3Title: "Ilé Aje", section3Item1: "Nípa Wa", section3Item2: "Àwọn Iṣẹ́", section3Item3: "Blog", section3Item4: "Ṣe Pẹ̀lú Wa", copyright: "© 2025 EduPortal. Gbogbo ẹtọ́ gba. N gbé ìgbésẹ̀ ẹkọ nípa ìmọ̀ kìkọ̀."}, + }, +} as const; + +export type Language = keyof typeof translations; +export type Translations = typeof translations.en;