Update src/app/blog/page.tsx

This commit is contained in:
2026-01-29 15:08:35 +00:00
parent 2be5db6edf
commit cb99716717

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,10 +100,11 @@ export default function BlogPage() {
<NavbarStyleFullscreen <NavbarStyleFullscreen
navItems={[ navItems={[
{ name: "Home", id: "/" }, { name: "Home", id: "/" },
{ name: "Products", id: "products" }, { name: "Products", id: "#products" },
{ name: "About", id: "about" }, { name: "Shop", id: "/shop" },
{ name: "Testimonials", id: "testimonials" }, { name: "About", id: "#about" },
{ name: "Contact", id: "contact" } { name: "Testimonials", id: "#testimonials" },
{ name: "Contact", id: "#contact" }
]} ]}
brandName="Kvitok" brandName="Kvitok"
bottomLeftText="Fresh Flowers Daily" bottomLeftText="Fresh Flowers Daily"
@@ -132,23 +134,23 @@ export default function BlogPage() {
columns={[ columns={[
{ {
title: "Shop", items: [ title: "Shop", items: [
{ label: "All Arrangements", href: "#products" }, { label: "All Arrangements", href: "/shop" },
{ label: "Collections", href: "#feature" }, { label: "Collections", href: "/#feature" },
{ label: "Custom Orders", href: "#contact" } { label: "Custom Orders", href: "/#contact" }
] ]
}, },
{ {
title: "Company", items: [ title: "Company", items: [
{ label: "About Us", href: "#about" }, { label: "About Us", href: "/#about" },
{ label: "Contact Us", href: "#contact" }, { label: "Contact Us", href: "/#contact" },
{ label: "Testimonials", href: "#testimonials" } { label: "Testimonials", href: "/#testimonials" }
] ]
}, },
{ {
title: "Support", items: [ title: "Support", items: [
{ label: "FAQ", href: "#faq" }, { label: "FAQ", href: "/#faq" },
{ label: "Delivery Info", href: "#faq" }, { label: "Delivery Info", href: "/#faq" },
{ label: "Care Guide", href: "#faq" } { label: "Care Guide", href: "/#faq" }
] ]
} }
]} ]}