Update src/app/blog/page.tsx
This commit is contained in:
@@ -79,7 +79,8 @@ export default function BlogPage() {
|
|||||||
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
method: "GET", headers: {
|
method: "GET", headers: {
|
||||||
"Content-Type": "application/json"},
|
"Content-Type": "application/json"
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
@@ -164,7 +165,7 @@ export default function BlogPage() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Company", items: [
|
title: "Company", items: [
|
||||||
{label: "About Us", href: "about"},
|
{label: "About Us", href: "/"},
|
||||||
{label: "Our Team", href: "team"},
|
{label: "Our Team", href: "team"},
|
||||||
{label: "Careers", href: "contact"}
|
{label: "Careers", href: "contact"}
|
||||||
]
|
]
|
||||||
@@ -182,4 +183,4 @@ export default function BlogPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user