Update src/app/blog/page.tsx
This commit is contained in:
@@ -7,7 +7,7 @@ import { useBlogPosts } from "@/hooks/useBlogPosts";
|
||||
// New imports based on requirements
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
|
||||
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
|
||||
|
||||
export default function BlogPage() {
|
||||
const { posts, isLoading } = useBlogPosts();
|
||||
@@ -30,15 +30,13 @@ export default function BlogPage() {
|
||||
<NavbarStyleApple
|
||||
brandName="MyCo"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "Testimonials", id: "/#testimonials" },
|
||||
{ name: "FAQ", id: "/#faq" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Blog", id: "/blog" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
{name: "Home", id: "/"},
|
||||
{name: "About", id: "/#about"},
|
||||
{name: "Features", id: "/#features"},
|
||||
{name: "Products", id: "/#products"},
|
||||
{name: "Testimonials", id: "/#testimonials"},
|
||||
{name: "FAQ", id: "/#faq"},
|
||||
{name: "Contact", id: "/#contact"}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -49,7 +47,7 @@ export default function BlogPage() {
|
||||
</div>
|
||||
) : (
|
||||
<div id="blog" data-section="blog">
|
||||
<BlogCardTwo
|
||||
<BlogCardThree
|
||||
blogs={posts}
|
||||
title="Latest Insights & Updates"
|
||||
description="Stay informed with our articles and news."
|
||||
|
||||
Reference in New Issue
Block a user