diff --git a/src/app/order-now/page.tsx b/src/app/order-now/page.tsx index 915384c..f94d7e9 100644 --- a/src/app/order-now/page.tsx +++ b/src/app/order-now/page.tsx @@ -4,40 +4,22 @@ import Link from "next/link"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; import HeroSplit from "@/components/sections/hero/HeroSplit"; -import FeatureCardTen from "@/components/sections/feature/FeatureCardTen"; +import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven"; import FooterMedia from "@/components/sections/footer/FooterMedia"; import { Award, - Zap, - TrendingUp, - Facebook, + Truck, Phone, ShoppingCart, - ExternalLink, + MapPin, Clock, + Facebook, } from "lucide-react"; import { useState, useEffect } from "react"; export default function OrderNowPage() { const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); const [isDesktopButtonsVisible, setIsDesktopButtonsVisible] = useState(true); - const [showCookiePreferences, setShowCookiePreferences] = useState(false); - const [cookiesAccepted, setCookiesAccepted] = useState(false); - - useEffect(() => { - const cookieConsent = localStorage.getItem("cookie-consent"); - if (!cookieConsent) { - setShowCookiePreferences(true); - } else { - setCookiesAccepted(true); - } - }, []); - - const handleCookieAccept = () => { - localStorage.setItem("cookie-consent", "accepted"); - setCookiesAccepted(true); - setShowCookiePreferences(false); - }; const navItems = [ { name: "Home", id: "home" }, @@ -52,17 +34,17 @@ export default function OrderNowPage() { { title: "Quick Links", items: [ { label: "Home", href: "/" }, - { label: "Order Now", href: "/order-now" }, + { label: "Menu", href: "/#signature-dishes" }, { label: "Gallery", href: "/#featured-gallery" }, { label: "Reviews", href: "/#testimonials" }, ], }, { title: "Order & Contact", items: [ - { label: "Uber Eats", href: "https://www.ubereats.com/search?q=caribbean%20flair&location=Lehigh%20Acres%2C%20FL" }, - { label: "DoorDash", href: "https://www.doordash.com/search?q=caribbean%20flair&location=Lehigh%20Acres%2C%20FL" }, - { label: "Grubhub", href: "https://www.grubhub.com/search?q=caribbean%20flair&location=Lehigh%20Acres%2C%20FL" }, + { label: "Order Online", href: "/order-now" }, { label: "Call Us", href: "tel:2397850423" }, + { label: "Locations & Hours", href: "/#footer" }, + { label: "Contact", href: "/#footer" }, ], }, { @@ -127,18 +109,6 @@ export default function OrderNowPage() { } } - @keyframes glowHover { - 0% { - box-shadow: 0 0 0px rgba(227, 68, 0, 0.4); - } - 50% { - box-shadow: 0 0 20px rgba(227, 68, 0, 0.6); - } - 100% { - box-shadow: 0 0 30px rgba(227, 68, 0, 0.8); - } - } - html { scroll-behavior: smooth; } @@ -156,44 +126,13 @@ export default function OrderNowPage() { animation-delay: 0.1s; } - #order-providers { + #delivery-options { animation-delay: 0.2s; } - #final-cta { - animation-delay: 0.3s; - } - #footer { - animation-delay: 0.4s; - } - - img { - animation: slideInFromRight 1s ease-out forwards; - opacity: 0; - } - - #hero img { animation-delay: 0.3s; } - - button, [role="button"], a[href*="#"], a[href*="/"] { - position: relative; - transition: all 0.3s ease; - } - - button:hover, [role="button"]:hover, a[href*="#"]:hover, a[href*="/"]:hover { - animation: glowHover 0.6s ease-in-out; - } - - .bg-gradient-to-r, .bg-primary-cta, [class*="bg-blue"], [class*="bg-orange"], [class*="bg-red"] { - transition: all 0.3s ease; - } - - .bg-gradient-to-r:hover, .bg-primary-cta:hover, [class*="bg-blue"]:hover, [class*="bg-orange"]:hover, [class*="bg-red"]:hover { - filter: brightness(1.1); - animation: glowHover 0.6s ease-in-out; - } `} {/* Persistent Top Navigation Bar */} @@ -202,224 +141,88 @@ export default function OrderNowPage() { brandName="Caribbean Flair" navItems={navItems} button={{ - text: "See Full Menu", href: "/" + text: "Order Now", href: "/order-now" }} /> - {/* Floating Mobile Sidebar Menu */} - {isMobileMenuOpen && ( -
-
setIsMobileMenuOpen(false)} - /> -
-
- {navItems.map((item) => ( - setIsMobileMenuOpen(false)} - > - {item.name} - - ))} - - Back to Home - -
-
-
- )} - - {/* Floating Desktop Action Buttons */} - {isDesktopButtonsVisible && ( -
- - - - - - -
- )} - - {/* Cookie Preferences Popup */} - {showCookiePreferences && !cookiesAccepted && ( -
-
-

Cookie Preferences

-

- We use cookies to enhance your experience, personalize content, and analyze site traffic. -

-
- - -
-
-
- )} - {/* Hero Section */}
- {/* Delivery Providers Section */} -
- +
- {/* Direct Ordering CTA Section */} -
- -
- - {/* Footer */} + {/* Footer with Local Map Info and Social Links */} ); -} +} \ No newline at end of file