From c7dbc530ec4b3143348e2a26fdfb117aee3e5ac5 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 8 Jun 2026 18:31:35 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 97 ++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 53 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2d0be76..541de84 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,6 +14,46 @@ import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCa import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import { GraduationCap } from "lucide-react"; +// Define navigation items and footer columns once for consistency across pages +const navItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "/#about" }, + { name: "Services", id: "/services" }, // Link to the new Services page + { name: "Instructors", id: "/#instructors" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "FAQ", id: "/#faq" } +]; + +const navbarButton = { + text: "Enroll Now", href: "/services#enroll-now" // Link to the enrollment section on the Services page +}; + +const footerColumns = [ + { + title: "Quick Links", items: [ + { label: "About Us", href: "/#about" }, + { label: "Services", href: "/services" }, // Updated link + { label: "Instructors", href: "/#instructors" }, + { label: "Testimonials", href: "/#testimonials" } + ] + }, + { + title: "Support", items: [ + { label: "FAQ", href: "/#faq" }, + { label: "Contact Us", href: "/#contact" }, + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" } + ] + }, + { + title: "Location", items: [ + { label: "Termiz, Uzbekistan", href: "#" }, + { label: "info@mathcenter.uz", href: "mailto:info@mathcenter.uz" }, + { label: "+998 90 123 4567", href: "tel:+998901234567" } + ] + } +]; + export default function LandingPage() { return ( @@ -59,7 +85,7 @@ export default function LandingPage() { description="Expert-led courses in Termiz designed to strengthen fundamentals and prepare students for academic excellence." buttons={[ { - text: "Explore Our Courses", href: "#courses"}, + text: "Explore Our Courses", href: "/services#services-courses"}, // Link to courses section on the Services page ]} imageSrc="http://img.b2bpic.net/free-photo/multiethnic-scholars-library-engaged-remote-learning-with-their-mentor_482257-119542.jpg" imageAlt="Diverse group of students happily studying mathematics in a bright classroom." @@ -241,42 +267,7 @@ export default function LandingPage() { -- 2.49.1