Update src/app/blog/page.tsx
This commit is contained in:
@@ -28,50 +28,56 @@ export default function BlogPage() {
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Services", id: "#features-detailed" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
]}
|
||||
brandName="Pro Studio"
|
||||
button={{ text: "Get a Quote", href: "/#contact" }}
|
||||
className="bg-card/90 backdrop-blur-sm shadow-lg"
|
||||
navItemClassName="text-foreground hover:text-primary-cta transition-colors duration-300"
|
||||
buttonClassName="bg-primary-cta text-secondary-cta px-6 py-2 rounded-pill hover:bg-accent hover:text-primary-cta transition-all duration-300"
|
||||
buttonTextClassName="font-medium text-base"
|
||||
/>
|
||||
|
||||
{isLoading ? (
|
||||
<div className="w-content-width mx-auto py-20 text-center">
|
||||
<p className="text-foreground">Loading posts...</p>
|
||||
</div>
|
||||
) : (
|
||||
<BlogCardThree
|
||||
blogs={posts}
|
||||
title="Featured Articles"
|
||||
description="Explore our latest insights"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Services", id: "/#features-detailed" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
]}
|
||||
brandName="Pro Studio"
|
||||
button={{ text: "Get a Quote", href: "/#contact" }}
|
||||
className="bg-card/90 backdrop-blur-sm shadow-lg"
|
||||
navItemClassName="text-foreground hover:text-primary-cta transition-colors duration-300"
|
||||
buttonClassName="bg-primary-cta text-secondary-cta px-6 py-2 rounded-pill hover:bg-accent hover:text-primary-cta transition-all duration-300"
|
||||
buttonTextClassName="font-medium text-base"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<FooterCard
|
||||
logoText="Pro Studio"
|
||||
copyrightText="© 2023 Pro Studio. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: Twitter, href: "https://twitter.com/prostudio", ariaLabel: "Twitter" },
|
||||
{ icon: Linkedin, href: "https://linkedin.com/company/prostudio", ariaLabel: "LinkedIn" },
|
||||
{ icon: Instagram, href: "https://instagram.com/prostudio", ariaLabel: "Instagram" },
|
||||
]}
|
||||
className="py-16 md:py-24 bg-background-accent"
|
||||
cardClassName="bg-card/70 backdrop-blur-md"
|
||||
logoClassName="text-2xl font-bold text-foreground"
|
||||
copyrightTextClassName="text-sm text-foreground/70"
|
||||
socialIconClassName="text-foreground/80 hover:text-primary-cta transition-colors duration-300"
|
||||
/>
|
||||
<div id="blog" data-section="blog">
|
||||
{isLoading ? (
|
||||
<div className="w-content-width mx-auto py-20 text-center">
|
||||
<p className="text-foreground">Loading posts...</p>
|
||||
</div>
|
||||
) : (
|
||||
<BlogCardThree
|
||||
blogs={posts}
|
||||
title="Featured Articles"
|
||||
description="Explore our latest insights"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterCard
|
||||
logoText="Pro Studio"
|
||||
copyrightText="© 2023 Pro Studio. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: Twitter, href: "https://twitter.com/prostudio", ariaLabel: "Twitter" },
|
||||
{ icon: Linkedin, href: "https://linkedin.com/company/prostudio", ariaLabel: "LinkedIn" },
|
||||
{ icon: Instagram, href: "https://instagram.com/prostudio", ariaLabel: "Instagram" },
|
||||
]}
|
||||
className="py-16 md:py-24 bg-background-accent"
|
||||
cardClassName="bg-card/70 backdrop-blur-md"
|
||||
logoClassName="text-2xl font-bold text-foreground"
|
||||
copyrightTextClassName="text-sm text-foreground/70"
|
||||
socialIconClassName="text-foreground/80 hover:text-primary-cta transition-colors duration-300"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user