Update src/app/blog/page.tsx
This commit is contained in:
@@ -23,45 +23,51 @@ export default function BlogPage() {
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Activities", id: "activities" },
|
||||
{ name: "Team", id: "team" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
]}
|
||||
button={{ text: "Join Club", href: "faq" }}
|
||||
brandName="CodeWave"
|
||||
/>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Activities", id: "/#activities" },
|
||||
{ name: "Team", id: "/#team" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
]}
|
||||
button={{ text: "Join Club", href: "/#faq" }}
|
||||
brandName="CodeWave"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
{isLoading ? (
|
||||
<div className="w-content-width mx-auto py-20 text-center">
|
||||
<p className="text-foreground">Loading posts...</p>
|
||||
</div>
|
||||
) : (
|
||||
<BlogCardTwo
|
||||
blogs={posts}
|
||||
title="Latest Articles"
|
||||
description="Insights and updates from our team"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
carouselMode="buttons"
|
||||
/>
|
||||
)}
|
||||
<div id="blog-content" data-section="blog-content">
|
||||
{isLoading ? (
|
||||
<div className="w-content-width mx-auto py-20 text-center">
|
||||
<p className="text-foreground">Loading posts...</p>
|
||||
</div>
|
||||
) : (
|
||||
<BlogCardTwo
|
||||
blogs={posts}
|
||||
title="Latest Articles"
|
||||
description="Insights and updates from our team"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
carouselMode="buttons"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{ items: [{ label: "About Us", href: "about" }, { label: "Our Team", href: "team" }, { label: "Activities", href: "activities" }] },
|
||||
{ items: [{ label: "FAQ", href: "faq" }, { label: "Join Now", href: "faq" }] },
|
||||
{ items: [{ label: "Discord", href: "https://discord.gg/yourclub", onClick: () => {} }, { label: "GitHub", href: "https://github.com/yourclub", onClick: () => {} }] },
|
||||
]}
|
||||
logoText="CodeWave"
|
||||
/>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
columns={[
|
||||
{ items: [{ label: "About Us", href: "/#about" }, { label: "Our Team", href: "/#team" }, { label: "Activities", href: "/#activities" }] },
|
||||
{ items: [{ label: "FAQ", href: "/#faq" }, { label: "Join Now", href: "/#faq" }] },
|
||||
{ items: [{ label: "Discord", href: "https://discord.gg/yourclub", onClick: () => {} }, { label: "GitHub", href: "https://github.com/yourclub", onClick: () => {} }] },
|
||||
]}
|
||||
logoText="CodeWave"
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user