Update src/app/page.tsx
This commit is contained in:
@@ -10,25 +10,12 @@ 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" }
|
||||
{ name: "Contact", id: "contact" },
|
||||
];
|
||||
|
||||
export default function SitePage() {
|
||||
@@ -49,7 +36,7 @@ export default function SitePage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
brandName="Nano Mango"
|
||||
navItems={navItemsForHomePage}
|
||||
button={{ text: "Shop Now", href: "/products" }}
|
||||
button={{ text: "Shop Now", href: "/shop" }}
|
||||
buttonClassName="shadow-lg"
|
||||
navItemClassName="text-foreground/80 hover:text-foreground"
|
||||
className="backdrop-blur-sm bg-card/70"
|
||||
@@ -68,7 +55,7 @@ export default function SitePage() {
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{ text: "Explore Collection", href: "/products" },
|
||||
{ text: "Our Story", href: "/#about" },
|
||||
{ text: "Our Story", href: "#about" },
|
||||
]}
|
||||
videoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_34my1kGeblbsCcwUUCcjBY9WFkg/uploaded-1770649506170-pxkn8ubj.mp4"
|
||||
imageAlt="Assortment of stylish cups and mugs from Nano Mango"
|
||||
@@ -81,8 +68,6 @@ export default function SitePage() {
|
||||
titleClassName="font-light text-foreground"
|
||||
descriptionClassName="text-foreground/70"
|
||||
kpiClassName="bg-card/70 backdrop-blur-md border border-accent/20"
|
||||
buttonClassName="shadow-md"
|
||||
buttonContainerClassName="flex-col sm:flex-row"
|
||||
/>
|
||||
</div>
|
||||
<div id="about" data-section="about">
|
||||
@@ -187,7 +172,6 @@ export default function SitePage() {
|
||||
ctaPanelClassName="bg-card shadow-lg"
|
||||
ctaTitleClassName="font-light"
|
||||
ctaDescriptionClassName="text-foreground/80"
|
||||
ctaButtonClassName="shadow-md"
|
||||
faqsPanelClassName="bg-card shadow-lg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user