Update src/app/learn/page.tsx

This commit is contained in:
2026-04-17 11:48:39 +00:00
parent 05e5a65aee
commit de960dfd4a

View File

@@ -2,11 +2,9 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import { DollarSign, PieChart, ShieldCheck } from "lucide-react";
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
export default function LearnPage() {
return (
@@ -34,41 +32,20 @@ export default function LearnPage() {
/>
</div>
<div id="learn-modules" data-section="learn-modules">
<FeatureBorderGlow
<div id="blog" data-section="blog">
<BlogCardOne
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
features={[
{
icon: DollarSign,
title: "Foundations", description: "Master budgeting and basic financial health."},
{
icon: PieChart,
title: "Investments 101", description: "Understanding stocks, bonds, and asset allocation."},
{
icon: ShieldCheck,
title: "Risk Management", description: "Protecting your assets and planning for long-term security."},
]}
title="Educational Tracks"
description="Progressive learning paths designed to take you from beginner to confident investor."
/>
</div>
<div id="blog-section" data-section="blog-section">
<BlogCardTwo
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
title="Recent Insights"
description="Latest updates and deep-dive analysis into the evolving world of finance."
title="Educational Resources & Weekly Analysis"
description="Stay informed with our latest financial analysis posts and structured learning modules."
blogs={[
{
id: "1", category: "Market Trends", title: "The Impact of Interest Rate Shifts", excerpt: "How current monetary policies are affecting long-term retail investments.", imageSrc: "http://img.b2bpic.net/free-photo/note-book-laptop-glasses-mouse-vintage-compass-coffee-cup-pen-graph-paper-document-office-desk-table_1423-161.jpg", authorName: "Jane Doe", authorAvatar: "http://img.b2bpic.net/free-photo/business-woman-with-crossed-arms-smiling_23-2148095677.jpg", date: "Oct 24, 2024"},
id: "1", category: "Analysis", title: "Weekly Market Pulse: Q3 Trends", excerpt: "An in-depth look at the latest movements in global markets and what they mean for retail investors.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-digital-tablet-with-bar-graph_1098-3523.jpg?_wi=1", authorName: "Sarah Chen", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-beautiful-businesswoman_329181-11722.jpg", date: "Oct 24, 2024"
},
{
id: "2", category: "Wealth Management", title: "Diversification Basics", excerpt: "Building a resilient portfolio in volatile market conditions.", imageSrc: "http://img.b2bpic.net/free-photo/minimalistic-home-desk-design_23-2148991426.jpg", authorName: "John Smith", authorAvatar: "http://img.b2bpic.net/free-photo/portrait-happy-businessman-standing-front-business-center_1150-3039.jpg", date: "Oct 21, 2024"},
{
id: "3", category: "Economy", title: "Global Market Outlook 2025", excerpt: "Predicting the major economic forces for the upcoming fiscal year.", imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461349.jpg", authorName: "Alex Reed", authorAvatar: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg", date: "Oct 18, 2024"},
id: "2", category: "Education", title: "Foundations of Personal Finance", excerpt: "A beginner's guide to managing personal cash flow and establishing a sustainable savings plan.", imageSrc: "http://img.b2bpic.net/free-vector/project-management-research-lab-investments-bank-account-icons-set_126523-293.jpg", authorName: "Mark D.", authorAvatar: "http://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg", date: "Oct 20, 2024"
}
]}
/>
</div>
@@ -77,25 +54,9 @@ export default function LearnPage() {
<FooterBaseReveal
logoText="FinLearn"
columns={[
{
title: "Platform", items: [
{ label: "Home", href: "/" },
{ label: "Learn", href: "/learn" },
{ label: "About", href: "/about" },
],
},
{
title: "Resources", items: [
{ label: "Market Blog", href: "#" },
{ label: "Guides", href: "#" },
],
},
{
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
],
},
{ title: "Platform", items: [{ label: "Home", href: "/" }, { label: "Learn", href: "/learn" }, { label: "About", href: "/about" }] },
{ title: "Resources", items: [{ label: "Market Blog", href: "#" }, { label: "Guides", href: "#" }] },
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }] },
]}
copyrightText="© 2024 FinLearn Education. All rights reserved."
/>
@@ -103,4 +64,4 @@ export default function LearnPage() {
</ReactLenis>
</ThemeProvider>
);
}
}