Update src/app/blog/page.tsx
This commit is contained in:
@@ -54,7 +54,8 @@ export default function BlogPage() {
|
||||
const url = `${apiUrl}/posts/${projectId}?status=published`;
|
||||
const response = await fetch(url, {
|
||||
method: "GET", headers: {
|
||||
"Content-Type": "application/json"},
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
});
|
||||
|
||||
if (response.ok) {
|
||||
@@ -99,10 +100,11 @@ export default function BlogPage() {
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Testimonials", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
{ name: "Products", id: "#products" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Testimonials", id: "#testimonials" },
|
||||
{ name: "Contact", id: "#contact" }
|
||||
]}
|
||||
brandName="Kvitok"
|
||||
bottomLeftText="Fresh Flowers Daily"
|
||||
@@ -132,23 +134,23 @@ export default function BlogPage() {
|
||||
columns={[
|
||||
{
|
||||
title: "Shop", items: [
|
||||
{ label: "All Arrangements", href: "#products" },
|
||||
{ label: "Collections", href: "#feature" },
|
||||
{ label: "Custom Orders", href: "#contact" }
|
||||
{ label: "All Arrangements", href: "/shop" },
|
||||
{ label: "Collections", href: "/#feature" },
|
||||
{ label: "Custom Orders", href: "/#contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Contact Us", href: "#contact" },
|
||||
{ label: "Testimonials", href: "#testimonials" }
|
||||
{ label: "About Us", href: "/#about" },
|
||||
{ label: "Contact Us", href: "/#contact" },
|
||||
{ label: "Testimonials", href: "/#testimonials" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Delivery Info", href: "#faq" },
|
||||
{ label: "Care Guide", href: "#faq" }
|
||||
{ label: "FAQ", href: "/#faq" },
|
||||
{ label: "Delivery Info", href: "/#faq" },
|
||||
{ label: "Care Guide", href: "/#faq" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
@@ -159,4 +161,4 @@ export default function BlogPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user