Update src/app/blog/page.tsx

This commit is contained in:
2026-01-23 16:14:02 +00:00
parent 617d4b988e
commit e2abb6fb49

View File

@@ -55,7 +55,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) {
@@ -89,7 +90,7 @@ export default function BlogPage() {
borderRadius="rounded" borderRadius="rounded"
contentWidth="medium" contentWidth="medium"
sizing="mediumLargeSizeLargeTitles" sizing="mediumLargeSizeLargeTitles"
background="floatingGradient" background="none"
cardStyle="gradient-mesh" cardStyle="gradient-mesh"
primaryButtonStyle="inset-glow" primaryButtonStyle="inset-glow"
secondaryButtonStyle="glass" secondaryButtonStyle="glass"
@@ -154,4 +155,4 @@ export default function BlogPage() {
</ReactLenis> </ReactLenis>
</ThemeProvider> </ThemeProvider>
); );
} }