Update src/app/blog/page.tsx

This commit is contained in:
2026-02-04 16:06:23 +00:00
parent d3f9a882bb
commit 4a719ec7a3

View File

@@ -55,7 +55,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) {
@@ -103,6 +104,7 @@ export default function BlogPage() {
{ name: "Home", id: "home" },
{ name: "About", id: "about" },
{ name: "Achievements", id: "achievements" },
{ name: "Services", id: "services" },
{ name: "Philosophy", id: "philosophy" },
{ name: "Contact", id: "contact" }
]}