Update src/app/blog/page.tsx

This commit is contained in:
2026-01-29 16:40:08 +00:00
parent 98062cc122
commit dcd23268d1

View File

@@ -56,7 +56,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) {
@@ -104,6 +105,7 @@ export default function BlogPage() {
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Menu", id: "products" },
{ name: "Products", id: "/products" },
{ name: "Testimonials", id: "testimonials" },
{ name: "Contact", id: "contact" }
]}