// File: /data/html/HouseOfCoffee/resources/js/Pages/CoffeeHouseLanding.jsx import React, { useEffect } from 'react'; import { Head, Link } from '@inertiajs/react'; import { motion } from 'framer-motion'; // Using react-icons for FontAwesome icons instead of lucide-react for proper exports. import { FaCoffee, FaMapMarkerAlt, FaPhone, FaInstagram, FaFacebook, FaTwitter } from 'react-icons/fa'; export default function CoffeeHouseLanding() { // Animation variants for staggered animations const containerVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.2, delayChildren: 0.3, }, }, }; const itemVariants = { hidden: { y: 20, opacity: 0 }, visible: { y: 0, opacity: 1, transition: { type: 'spring', stiffness: 100 }, }, }; const featureCardVariants = { hidden: { scale: 0.8, opacity: 0 }, visible: { scale: 1, opacity: 1, transition: { type: 'spring', damping: 12 }, }, hover: { scale: 1.05, boxShadow: "0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)", transition: { type: 'spring', stiffness: 400, damping: 10 }, }, }; // Parallax effect for background useEffect(() => { const handleScroll = () => { const scrollValue = window.scrollY; const parallaxBg = document.querySelector('.parallax-bg'); if (parallaxBg) { parallaxBg.style.transform = `translateY(${scrollValue * 0.4}px)`; } }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); return ( <>
{/* Parallax Background */}
Coffee background
{/* Overlay tint with gradient */}
{/* Header with glass effect */}

House of Coffee

{/* Hero Section */}
Artisanal Coffee Expertly Crafted Experience the perfect blend of tradition and innovation in every cup. Our carefully sourced beans and skilled baristas create moments worth savoring. {/* Updated "View Our Menu" button to use the 'pricemenu' route */} View Our Menu Find Our Location
{/* Stats Section */} {[ { value: '12+', label: 'Bean Varieties' }, { value: '20', label: 'Years Experience' }, { value: '3', label: 'Locations' }, { value: '1000+', label: 'Happy Customers' } ].map((stat, index) => (
{stat.value}
{stat.label}
))}
{/* Featured Products Section */} {/* Testimonials Section */}

What Our Customers Say

{[ { quote: "The atmosphere is perfect for both casual get-togethers and focused work sessions. Their signature blend is my daily essential.", author: "Sarah Johnson", role: "Freelance Designer" }, { quote: "As a coffee enthusiast, I've tried cafés all over the city. House of Coffee consistently serves the most flavorful, perfectly prepared cups.", author: "Michael Chen", role: "Coffee Blogger" } ].map((testimonial, index) => (
"

{testimonial.quote}

{testimonial.author}

{testimonial.role}

))}
{/* Location Section */}

Visit Us

We're conveniently located in the heart of downtown

Our Location

123 Coffee Street, Downtown
(555) 123-4567

Hours

Monday - Friday 7:00 AM - 7:00 PM
Saturday - Sunday 8:00 AM - 6:00 PM
{/* This would be a map in a real implementation */}

Interactive map would be displayed here.
(Requires Google Maps API or similar)

{/* Footer */}
); }