Switch to version 2: modified src/app/page.tsx

This commit is contained in:
2026-05-08 14:18:22 +00:00
parent c59a69b5c2
commit 5d6dd508fd

View File

@@ -4,7 +4,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboardTestimonial from '@/components/sections/hero/HeroBillboardTestimonial';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
@@ -28,28 +28,35 @@ export default function LandingPage() {
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Courses", id: "/courses" },
{ name: "Contact", id: "/contact" },
{
name: "Home", id: "/"},
{
name: "About", id: "/about"},
{
name: "Courses", id: "/courses"},
{
name: "Contact", id: "/contact"},
]}
brandName="Academy Excellence"
brandName="Wisdom Science & Maths"
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardTestimonial
title="Unlock Your Potential with Elite Coaching"
description="Master Science and Mathematics with our proven curriculum. Empowering students from Grade 6 to O/L in both English and Sinhala mediums."
background={{ variant: "sparkles-gradient" }}
testimonials={[
{ name: "Aravinda P.", handle: "@top_scorer", testimonial: "The personalized attention helped me secure an A in Maths.", rating: 5 },
{ name: "Samadhi K.", handle: "@science_wiz", testimonial: "The science concepts are finally crystal clear!", rating: 5 }
<HeroSplitKpi
title="Build Your Future with Excellence in Science & Mathematics"
description="English Medium & Sinhala Medium Classes for Grade 6 to O/L. Enroll today for top-tier academic coaching."
background={{ variant: "gradient-bars" }}
kpis={[
{ value: "95%", label: "Pass Rate" },
{ value: "500+", label: "Enrolled" },
{ value: "15+", label: "Expert Tutors" }
]}
enableKpiAnimation={true}
buttons={[
{ text: "Enroll Now", href: "/contact" }
{ text: "Enroll Now", href: "/contact" },
{ text: "Contact Us", href: "/contact" }
]}
imageSrc="http://img.b2bpic.net/free-photo/young-students-brainstorming-with-teacher_23-2147864634.jpg"
imageSrc="http://img.b2bpic.net/free-photo/creative-students-brainstorming-new-project_23-2147664141.jpg"
/>
</div>
@@ -59,10 +66,28 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={true}
features={[
{ id: "f1", title: "Experienced Faculty", author: "Top Educators", description: "Teachers with a decade of proven success.", tags: ["Qualified"], imageSrc: "http://img.b2bpic.net/free-photo/light-bulb-near-back-school-writing_23-2147864634.jpg" },
{ id: "f2", title: "Small Group Focus", author: "Personalized", description: "Individual guidance for every student.", tags: ["Focused"], imageSrc: "http://img.b2bpic.net/free-photo/abstract-creation-made-from-3d-geometric-shapes_23-2150829267.jpg" }
{
id: "f1", title: "Experienced Teachers", author: "Expert Faculty", description: "Subject masters dedicated to your success.", tags: [
"Experienced", "Qualified"],
imageSrc: "http://img.b2bpic.net/free-photo/light-bulb-near-back-school-writing_23-2147864634.jpg"},
{
id: "f2", title: "Small Group Classes", author: "Individual Focus", description: "Personalized learning paths for everyone.", tags: [
"Personalized", "Small Groups"],
imageSrc: "http://img.b2bpic.net/free-photo/abstract-creation-made-from-3d-geometric-shapes_23-2150829267.jpg"},
{
id: "f3", title: "Exam-Focused", author: "Results Driven", description: "Strategy-based revision for O/Ls.", tags: [
"Focused", "Revision"],
imageSrc: "http://img.b2bpic.net/free-vector/modern-education-elements-background_23-2147748628.jpg"},
{
id: "f4", title: "Modern Resources", author: "Smart Learning", description: "Latest study materials and tools.", tags: [
"Resourceful", "Tech-Enabled"],
imageSrc: "http://img.b2bpic.net/free-photo/creative-composition-with-pins_23-2147654566.jpg"},
{
id: "f5", title: "Flexible Scheduling", author: "Convenient", description: "Classes arranged to suit your busy day.", tags: [
"Flexible", "Accessible"],
imageSrc: "http://img.b2bpic.net/free-photo/man-with-magnifying-glass-with-risograph-effect-remixed-media_53876-126906.jpg"},
]}
title="Why Choose Us?"
title="Why Wisdom Tuition Centre?"
description="Excellence in every lesson."
/>
</div>
@@ -70,11 +95,15 @@ export default function LandingPage() {
<div id="metrics" data-section="metrics">
<MetricCardFourteen
useInvertedBackground={false}
title="Proven Results"
tag="Achievements"
title="Proven Track Record"
tag="Excellence"
metrics={[
{ id: "m1", value: "95%", description: "Success Rate" },
{ id: "m2", value: "500+", description: "Happy Students" }
{
id: "m1", value: "95%", description: "Pass Rate"},
{
id: "m2", value: "500+", description: "Students Enrolled"},
{
id: "m3", value: "15+", description: "Expert Tutors"},
]}
metricsAnimation="slide-up"
/>
@@ -85,7 +114,9 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={false}
title="Trusted by Families"
names={["Top Island Ranks", "Math Olympians", "O/L Success Achievers"]}
description="We are proud to serve the community for over a decade."
names={[
"Island Toppers", "Math Olympians", "Academic Excellence Award", "Science Fair Winners", "High Achievers Hub"]}
/>
</div>
@@ -95,18 +126,32 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={false}
testimonials={[]}
title="Student Success"
description="Real stories from our students."
title="Testimonials"
description="What our students say."
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoEmphasis
columns={[
{ items: [{ label: "About", href: "/about" }, { label: "Courses", href: "/courses" }] },
{ items: [{ label: "Contact Us", href: "/contact" }] }
{
items: [
{
label: "About", href: "/about"},
{
label: "Courses", href: "/courses"},
],
},
{
items: [
{
label: "Contact Us", href: "/contact"},
{
label: "Schedule", href: "#"},
],
},
]}
logoText="Academy Excellence"
logoText="Wisdom Science & Maths"
/>
</div>
</ReactLenis>