From 651de53fad6c2db515fda7e5af3430fcfddceefb Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 24 Feb 2026 08:15:35 +0000 Subject: [PATCH 1/6] Update src/app/blog/page.tsx --- src/app/blog/page.tsx | 64 ++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 35 deletions(-) diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index a2f5b1b..7ce2b84 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -1,20 +1,17 @@ "use client"; -import ReactLenis from "lenis/react"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import { useBlogPosts } from "@/hooks/useBlogPosts"; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; -import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; +import BlogCardThree from '@/components/sections/blog/BlogCardThree'; -// Define common navigation items for sub-pages to maintain consistency -const ALL_NAV_ITEMS_SUB_PAGES = [ +const navItemsForSubPages = [ { name: "Home", id: "/" }, { name: "Products", id: "/products" }, - { name: "Shop", id: "/shop" }, - { name: "Blog", id: "/blog" }, { name: "About", id: "/#about" }, { name: "Testimonials", id: "/#testimonials" }, - { name: "FAQs", id: "/#faqs" } + { name: "FAQs", id: "/#faqs" }, + { name: "Contact", id: "/#contact" }, ]; export default function BlogPage() { @@ -33,36 +30,33 @@ export default function BlogPage() { secondaryButtonStyle="solid" headingFontWeight="light" > - - + + {isLoading ? ( +
+

Loading posts...

+
+ ) : ( +
+ ({ ...post, onBlogClick: () => {} }))} + title="Latest Articles" + description="Insights and updates from our team" + animationType="slide-up" + textboxLayout="default" + useInvertedBackground={false} />
- - {isLoading ? ( -
-

Loading posts...

-
- ) : ( -
- -
- )} - -
+ )} ); } From 022e94b5432d2feb3649a68cb078e8112245db3d Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 24 Feb 2026 08:15:37 +0000 Subject: [PATCH 2/6] Update src/app/layout.tsx --- src/app/layout.tsx | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 269b51d..a1b796a 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -15,11 +15,11 @@ export const metadata: Metadata = { openGraph: { title: "Nano Mango - Unique & Sustainable Cups Store", description: "Discover Nano Mango's exquisite collection of unique and sustainable cups for every beverage. Elevate your sipping experience with our beautifully crafted designs.", url: "https://nanomango.com", siteName: "Nano Mango", images: [ { - url: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770649506170-pxkn8ubj.mp4", alt: "Assortment of stylish cups and mugs from Nano Mango"}, + url: "/og-image.jpg", alt: "Assortment of stylish cups and mugs from Nano Mango"}, ], type: "website"}, twitter: { - card: "summary_large_image", title: "Nano Mango - Unique & Sustainable Cups Store", description: "Discover Nano Mango's exquisite collection of unique and sustainable cups for every beverage. Elevate your sipping experience with our beautifully crafted designs.", images: ["https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770649506170-pxkn8ubj.mp4"], + card: "summary_large_image", title: "Nano Mango - Unique & Sustainable Cups Store", description: "Discover Nano Mango's exquisite collection of unique and sustainable cups for every beverage. Elevate your sipping experience with our beautifully crafted designs.", images: ["/twitter-image.jpg"], }, robots: { index: true, @@ -35,15 +35,12 @@ export default function RootLayout({ return ( - + {children} - -