From cc155fea63e0f5cce8cb86f7cb4b892aaa8d7ddc Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 24 Apr 2026 14:54:43 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 429 ++++++++--------------------------------------- 1 file changed, 67 insertions(+), 362 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 5d85fe4..467431b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,6 +2,7 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import ReactLenis from "lenis/react"; +import { useState } from "react"; import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; import ContactCenter from '@/components/sections/contact/ContactCenter'; import FaqBase from '@/components/sections/faq/FaqBase'; @@ -13,9 +14,11 @@ import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleAp import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo'; import ProductCardFour from '@/components/sections/product/ProductCardFour'; import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne'; -import { Award, Globe, Users } from "lucide-react"; +import { Award, Globe, Users, Utensils } from "lucide-react"; export default function LandingPage() { + const [activeTab, setActiveTab] = useState<'cuisines' | 'countries'>('cuisines'); + return ( @@ -56,134 +47,72 @@ export default function LandingPage() {
+
+
+
+ + +
+ + {activeTab === 'cuisines' ? ( + + ) : ( +
+
+

Best World Foods

+
    +
  • Neapolitan Pizza (Italy)
  • +
  • Massaman Curry (Thailand)
  • +
  • Sushi (Japan)
  • +
  • Peking Duck (China)
  • +
  • Croissant (France)
  • +
+
+
+ )} +
+
+
-
- -
-
@@ -194,208 +123,22 @@ export default function LandingPage() { gridVariant="uniform-all-items-equal" useInvertedBackground={true} metrics={[ - { - id: "m1", - value: "150+", - title: "Countries Covered", - description: "Global culinary map", - icon: Globe, - }, - { - id: "m2", - value: "5k+", - title: "Top Dishes", - description: "Highest rated recipes", - icon: Award, - }, - { - id: "m3", - value: "1M+", - title: "Food Enthusiasts", - description: "Global community", - icon: Users, - }, + { id: "m1", value: "150+", title: "Countries Covered", description: "Global map", icon: Globe }, + { id: "m2", value: "5k+", title: "Top Dishes", description: "Highest rated", icon: Award }, + { id: "m3", value: "1M+", title: "Food Enthusiasts", description: "Community", icon: Users }, ]} title="Our Global Footprint" - description="The scale of culinary wonder we bring to your table." - /> - - -
- -
- -
- -
- -
- -
- -
-
@@ -404,47 +147,9 @@ export default function LandingPage() { imageSrc="http://img.b2bpic.net/free-photo/top-view-frame-with-toast-copy-space_23-2148329205.jpg" logoText="EatingFresh" columns={[ - { - title: "Product", - items: [ - { - label: "Explore", - href: "#products", - }, - { - label: "Pricing", - href: "#pricing", - }, - ], - }, - { - title: "Company", - items: [ - { - label: "About", - href: "#about", - }, - { - label: "Contact", - href: "#contact", - }, - ], - }, - { - title: "Legal", - items: [ - { - label: "Privacy", - href: "#", - }, - { - label: "Terms", - href: "#", - }, - ], - }, + { title: "Product", items: [{ label: "Explore", href: "#products" }] }, + { title: "Company", items: [{ label: "About", href: "#about" }] } ]} - copyrightText="© 2025 | EatingFresh" />