5 Commits

Author SHA1 Message Date
c7dbc530ec Update src/app/page.tsx 2026-06-08 18:31:35 +00:00
433037ffad Merge version_2 into main
Merge version_2 into main
2026-06-08 18:25:05 +00:00
aded6cf6f8 Update src/app/styles/variables.css 2026-06-08 18:25:02 +00:00
84f4281ffe Merge version_1 into main
Merge version_1 into main
2026-06-08 10:43:59 +00:00
5f2449ddf9 Merge version_1 into main
Merge version_1 into main
2026-06-08 10:42:51 +00:00
2 changed files with 53 additions and 62 deletions

View File

@@ -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>

View File

@@ -10,15 +10,15 @@
--accent: #ffffff;
--background-accent: #ffffff; */
--background: #ffffff;
--card: #f9f9f9;
--foreground: #120006e6;
--primary-cta: #e63946;
--primary-cta-text: #ffffff;
--secondary-cta: #f9f9f9;
--secondary-cta-text: #120006e6;
--accent: #e2e2e2;
--background-accent: #c4c4c4;
--background: #0F172A;
--card: #1E293B;
--foreground: #E2E8F0;
--primary-cta: #FACC15;
--primary-cta-text: #0F172A;
--secondary-cta: #334155;
--secondary-cta-text: #E2E8F0;
--accent: #FACC15;
--background-accent: #334155;
/* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);