Update src/app/blog/page.tsx

This commit is contained in:
2026-01-29 12:37:46 +00:00
parent 71760b2286
commit aa94fde68e

View File

@@ -54,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) {
@@ -101,6 +102,7 @@ export default function BlogPage() {
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Books", id: "books" },
{ name: "Shop", id: "shop" },
{ name: "Reviews", id: "testimonials" },
{ name: "Contact", id: "contact" }
]}
@@ -163,4 +165,4 @@ export default function BlogPage() {
</ReactLenis>
</ThemeProvider>
);
}
}