Update src/app/blog/page.tsx

This commit is contained in:
2026-01-28 00:33:57 +00:00
parent f20090cda6
commit 0e18adcb71

View File

@@ -54,7 +54,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) {
@@ -85,7 +86,7 @@ export default function BlogPage() {
<ThemeProvider <ThemeProvider
defaultButtonVariant="shift-hover" defaultButtonVariant="shift-hover"
defaultTextAnimation="entrance-slide" defaultTextAnimation="entrance-slide"
borderRadius="soft" borderRadius="pill"
contentWidth="mediumSmall" contentWidth="mediumSmall"
sizing="largeSmallSizeMediumTitles" sizing="largeSmallSizeMediumTitles"
background="floatingGradient" background="floatingGradient"