Update src/app/blog/page.tsx
This commit is contained in:
@@ -56,7 +56,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) {
|
||||||
@@ -123,7 +124,7 @@ export default function BlogPage() {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<FooterMedia
|
<FooterMedia
|
||||||
imageSrc="asset://footer-motion-bg"
|
imageSrc="https://img.b2bpic.net/free-vector/gradient-triangles-abstract-sport-background_52683-14013.jpg"
|
||||||
imageAlt="Motion graphics background"
|
imageAlt="Motion graphics background"
|
||||||
logoText="Alex Motion"
|
logoText="Alex Motion"
|
||||||
copyrightText="© 2024 Alex Motion. All rights reserved."
|
copyrightText="© 2024 Alex Motion. All rights reserved."
|
||||||
@@ -157,4 +158,4 @@ export default function BlogPage() {
|
|||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user