1 Commits

Author SHA1 Message Date
000e5ce256 Update src/app/blog/page.tsx 2026-01-22 20:07:51 +00:00

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) {
@@ -99,14 +100,13 @@ export default function BlogPage() {
<NavbarLayoutFloatingOverlay <NavbarLayoutFloatingOverlay
brandName="LuxeGlow" brandName="LuxeGlow"
navItems={[ navItems={[
{ name: "Home", id: "/home" }, { name: "Home", id: "/" },
{ name: "Home", id: "hero" }, { name: "Products", id: "/products" },
{ name: "Products", id: "products" }, { name: "About", id: "/about" },
{ name: "About", id: "about" }, { name: "Pricing", id: "/pricing" },
{ name: "Pricing", id: "pricing" }, { name: "FAQ", id: "/faq" }
{ name: "FAQ", id: "faq" }
]} ]}
button={{ text: "Shop Now", href: "products" }} button={{ text: "Shop Now", href: "/products" }}
/> />
{isLoading ? ( {isLoading ? (