Merge version_2 into main #2

Merged
bender merged 2 commits from version_2 into main 2026-03-05 09:57:42 +00:00
2 changed files with 103 additions and 4 deletions

94
src/app/contact/page.tsx Normal file
View File

@@ -0,0 +1,94 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterBase from '@/components/sections/footer/FooterBase';
import { MessageCircle } from 'lucide-react';
export default function ContactPage() {
return (
<ThemeProvider
defaultButtonVariant="elastic-effect"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="medium"
background="aurora"
cardStyle="glass-depth"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
brandName="Ralph's Coffee"
navItems={[
{ name: "Home", id: "/" },
{ name: "Contact Us", id: "contact" }
]}
button={{
text: "Call Now", href: "tel:+1-212-434-8000"
}}
/>
</div>
<div id="contact" data-section="contact">
<FaqBase
title="Get in Touch"
description="Have questions? We'd love to hear from you. Fill out the form below and we'll respond shortly."
tag="Contact Us"
tagIcon={MessageCircle}
textboxLayout="default"
useInvertedBackground={false}
faqsAnimation="slide-up"
faqs={[
{
id: "contact-form", title: "Contact Form", content: "<form class='space-y-4'><div class='space-y-2'><label class='block text-sm font-medium'>Name</label><input type='text' class='w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2' placeholder='Your name' /></div><div class='space-y-2'><label class='block text-sm font-medium'>Phone</label><input type='tel' class='w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2' placeholder='+1 (555) 000-0000' /></div><div class='space-y-2'><label class='block text-sm font-medium'>Email</label><input type='email' class='w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2' placeholder='your@email.com' /></div><div class='space-y-2'><label class='block text-sm font-medium'>Message</label><textarea class='w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2' rows='4' placeholder='Tell us what you'd like to know...'></textarea></div><button type='submit' class='w-full py-3 bg-primary-cta text-white font-semibold rounded-lg hover:opacity-90'>Send Message</button></form><p class='text-sm text-gray-600 mt-2'>We'll respond shortly. Thank you!</p>"
}
]}
showCard={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterBase
logoText="Ralph's Coffee"
copyrightText="© 2025 Ralph's Coffee. All rights reserved."
columns={[
{
title: "Location", items: [
{
label: "888 Madison Ave, New York, NY 10021", href: "https://maps.google.com/?q=888+Madison+Ave+New+York+NY+10021"
},
{
label: "Call: +1 212-434-8000", href: "tel:+1-212-434-8000"
}
]
},
{
title: "Hours", items: [
{
label: "Open Daily 8:00 AM - 7:00 PM", href: "#"
},
{
label: "Sunday: 9:00 AM - 6:00 PM", href: "#"
}
]
},
{
title: "Connect", items: [
{
label: "Instagram", href: "https://instagram.com"
},
{
label: "Google Reviews", href: "https://www.google.com/search?q=Ralph's+Coffee+NYC"
}
]
}
]}
/>
</div>
</ThemeProvider>
);
}

View File

@@ -13,6 +13,13 @@ import FooterBase from '@/components/sections/footer/FooterBase';
import { Coffee, Star, Heart, MapPin, MessageCircle } from 'lucide-react';
export default function LandingPage() {
const handleContactClick = () => {
const contactSection = document.getElementById('contact');
if (contactSection) {
contactSection.scrollIntoView({ behavior: 'smooth' });
}
};
return (
<ThemeProvider
defaultButtonVariant="elastic-effect"
@@ -30,10 +37,8 @@ export default function LandingPage() {
<NavbarLayoutFloatingOverlay
brandName="Ralph's Coffee"
navItems={[
{ name: "Menu", id: "menu" },
{ name: "About", id: "about" },
{ name: "Visit", id: "visit" },
{ name: "Contact", id: "contact" }
{ name: "Home", id: "/" },
{ name: "Contact Us", id: "contact" }
]}
button={{
text: "Call Now", href: "tel:+1-212-434-8000"