Update src/app/blog/page.tsx
This commit is contained in:
@@ -5,6 +5,7 @@ import ReactLenis from "lenis/react";
|
||||
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import Link from 'next/link';
|
||||
|
||||
type BlogPost = {
|
||||
id: string;
|
||||
@@ -53,7 +54,8 @@ export default function BlogPage() {
|
||||
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
||||
const response = await fetch(url, {
|
||||
method: "GET", headers: {
|
||||
"Content-Type": "application/json"},
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
@@ -98,7 +100,6 @@ export default function BlogPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
brandName="Fiona"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/home" },
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "About", id: "/about" },
|
||||
|
||||
Reference in New Issue
Block a user