Update src/app/blog/page.tsx

This commit is contained in:
2026-01-22 20:03:28 +00:00
parent 54bfbc46bc
commit f72840b748

View File

@@ -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) {
@@ -152,7 +153,7 @@ export default function BlogPage() {
)} )}
<FooterMedia <FooterMedia
imageSrc="asset://bakery-storefront" imageSrc="https://img.b2bpic.net/free-photo/delicious-donut-shop-ai-generated_23-2150694732.jpg"
imageAlt="Artisan Bakery storefront" imageAlt="Artisan Bakery storefront"
logoText="Artisan Bakery" logoText="Artisan Bakery"
copyrightText="© 2025 Artisan Bakery. All rights reserved." copyrightText="© 2025 Artisan Bakery. All rights reserved."
@@ -184,4 +185,4 @@ export default function BlogPage() {
</ReactLenis> </ReactLenis>
</ThemeProvider> </ThemeProvider>
); );
} }