Update src/app/blog/page.tsx

This commit is contained in:
2026-02-25 11:13:48 +00:00
parent c4102ba6fe
commit 8df5494059

View File

@@ -17,6 +17,15 @@ export default function BlogPage() {
// Preserved posts fetching logic // Preserved posts fetching logic
const { posts, isLoading } = useBlogPosts(); const { posts, isLoading } = useBlogPosts();
const navItems = [
{ name: "Home", id: "/" },
{ name: "About", id: "/#about" },
{ name: "Shop", id: "/shop" },
{ name: "Blog", id: "/blog" },
{ name: "Testimonials", id: "/#testimonials" },
{ name: "Contact", id: "/#contact" },
];
return ( return (
<ThemeProvider <ThemeProvider
defaultButtonVariant="expand-hover" defaultButtonVariant="expand-hover"
@@ -31,17 +40,12 @@ export default function BlogPage() {
headingFontWeight="light" headingFontWeight="light"
> >
<ReactLenis root> <ReactLenis root>
{/* Navbar from NAVBAR_INFO */} <div id="nav" data-section="nav">
<NavbarStyleApple <NavbarStyleApple
brandName="Olla" brandName="Olla"
navItems={[ navItems={navItems}
{ name: "Home", id: "/" }, />
{ name: "About", id: "about" }, </div>
{ name: "Shop", id: "shop" },
{ name: "Testimonials", id: "testimonials" },
{ name: "Contact", id: "contact" },
]}
/>
{/* Preserved loading state and posts logic */} {/* Preserved loading state and posts logic */}
{isLoading ? ( {isLoading ? (
@@ -90,7 +94,6 @@ export default function BlogPage() {
]} ]}
logoText="Olla" logoText="Olla"
copyrightText="© 2024 Olla Flowers Studio. All rights reserved." copyrightText="© 2024 Olla Flowers Studio. All rights reserved."
useInvertedBackground={false}
ariaLabel="Site footer" ariaLabel="Site footer"
/> />
</div> </div>