Merge version_4 into main #4
@@ -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 (
|
||||
<ThemeProvider
|
||||
@@ -31,23 +71,9 @@ export default function LandingPage() {
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "#home"},
|
||||
{
|
||||
name: "About", id: "#about"},
|
||||
{
|
||||
name: "Courses", id: "#courses"},
|
||||
{
|
||||
name: "Instructors", id: "#instructors"},
|
||||
{
|
||||
name: "Testimonials", id: "#testimonials"},
|
||||
{
|
||||
name: "FAQ", id: "#faq"},
|
||||
]}
|
||||
navItems={navItems}
|
||||
brandName="Mathematics Center"
|
||||
button={{
|
||||
text: "Enroll Now", href: "#contact"}}
|
||||
button={navbarButton}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -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() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseReveal
|
||||
logoText="Mathematics Center"
|
||||
columns={[
|
||||
{
|
||||
title: "Quick Links", items: [
|
||||
{
|
||||
label: "About Us", href: "#about"},
|
||||
{
|
||||
label: "Courses", href: "#courses"},
|
||||
{
|
||||
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"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
columns={footerColumns}
|
||||
copyrightText="© 2024 Mathematics Center. All rights reserved."
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user