Update src/app/page.tsx

This commit is contained in:
2026-02-24 07:45:59 +00:00
parent 46c7adaf16
commit af06b6e687

View File

@@ -10,6 +10,27 @@ import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import { Handshake, HeartHandshake, MessageSquareText, Sparkles } from "lucide-react";
// Define common navigation items for sub-pages to maintain consistency
const ALL_NAV_ITEMS_SUB_PAGES = [
{ 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" }
];
// Define navigation items specifically for the homepage (no 'Home' link here)
const navItemsForHomePage = [
{ name: "Products", id: "/products" },
{ name: "About", id: "about" },
{ name: "Testimonials", id: "testimonials" },
{ name: "FAQs", id: "faqs" },
{ name: "Shop", id: "/shop" },
{ name: "Blog", id: "/blog" }
];
export default function SitePage() {
return (
<ThemeProvider
@@ -27,13 +48,8 @@ export default function SitePage() {
<div id="nav" data-section="nav">
<NavbarLayoutFloatingInline
brandName="Nano Mango"
navItems={[
{ name: "Products", id: "products" },
{ name: "About", id: "about" },
{ name: "Testimonials", id: "testimonials" },
{ name: "FAQs", id: "faqs" },
]}
button={{ text: "Shop Now", href: "#products" }}
navItems={navItemsForHomePage}
button={{ text: "Shop Now", href: "/products" }}
buttonClassName="shadow-lg"
navItemClassName="text-foreground/80 hover:text-foreground"
className="backdrop-blur-sm bg-card/70"
@@ -51,8 +67,8 @@ export default function SitePage() {
]}
enableKpiAnimation={true}
buttons={[
{ text: "Explore Collection", href: "#products" },
{ text: "Our Story", href: "#about" },
{ text: "Explore Collection", href: "/products" },
{ text: "Our Story", href: "/#about" },
]}
imageSrc="https://img.b2bpic.net/free-photo/variety-bowls-cups-modern-household-shop_169016-43469.jpg"
imageAlt="Assortment of stylish cups and mugs from Nano Mango"