4 Commits

Author SHA1 Message Date
kudinDmitriyUp
417ecd5fc4 Bob AI: Enhanced testimonials with specific details and photos 2026-06-03 04:07:11 +00:00
a7a6de5a28 Merge version_4_1780459096389 into main
Merge version_4_1780459096389 into main
2026-06-03 03:59:40 +00:00
kudinDmitriyUp
1d9c6377e5 Bob AI: Replaced contact CTA with a contact form 2026-06-03 03:58:57 +00:00
9b910659c8 Merge version_3_1780456645084 into main
Merge version_3_1780456645084 into main
2026-06-03 03:19:12 +00:00
2 changed files with 79 additions and 31 deletions

View File

@@ -4,24 +4,72 @@
import React from 'react';
import ContactCta from '@/components/sections/contact/ContactCta';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
import Tag from "@/components/ui/Tag";
export default function ContactSection(): React.JSX.Element {
return (
<div id="contact" data-section="contact">
<SectionErrorBoundary name="contact">
<ContactCta
tag="Connect With Us"
text="Ready for your perfect cup or want to learn more? Visit Joes Coffee and experience the difference, or reach out to our friendly team."
primaryButton={{
text: "Get Directions",
href: "https://www.google.com/maps/search/joes+coffee",
}}
secondaryButton={{
text: "Call Us Now",
href: "tel:+1234567890",
}}
/>
</SectionErrorBoundary>
</div>
<div id="contact" data-webild-section="contact" className="py-24 bg-background">
<SectionErrorBoundary name="contact">
<div className="container mx-auto px-4 max-w-3xl">
<div className="text-center mb-12">
<Tag text="Get in Touch" className="mb-4" />
<h2 className="text-4xl md:text-5xl font-bold tracking-tight text-foreground mb-4">Contact Us</h2>
<p className="text-lg text-muted-foreground">
Have a question or want to learn more? Fill out the form below and our team will get back to you as soon as possible.
</p>
</div>
<form className="space-y-6 bg-card p-8 rounded-2xl border border-border shadow-sm" onSubmit={(e) => e.preventDefault()}>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div className="space-y-2">
<label htmlFor="firstName" className="text-sm font-medium text-foreground">First Name</label>
<input
type="text"
id="firstName"
className="w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-foreground/20 transition-colors"
placeholder="John"
/>
</div>
<div className="space-y-2">
<label htmlFor="lastName" className="text-sm font-medium text-foreground">Last Name</label>
<input
type="text"
id="lastName"
className="w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-foreground/20 transition-colors"
placeholder="Doe"
/>
</div>
</div>
<div className="space-y-2">
<label htmlFor="email" className="text-sm font-medium text-foreground">Email Address</label>
<input
type="email"
id="email"
className="w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-foreground/20 transition-colors"
placeholder="john@example.com"
/>
</div>
<div className="space-y-2">
<label htmlFor="message" className="text-sm font-medium text-foreground">Message</label>
<textarea
id="message"
rows={5}
className="w-full px-4 py-3 rounded-lg border border-border bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-foreground/20 transition-colors resize-none"
placeholder="How can we help you?"
></textarea>
</div>
<button
type="submit"
className="w-full py-4 px-6 rounded-full bg-foreground text-background font-medium hover:opacity-90 transition-opacity"
>
Send Message
</button>
</form>
</div>
</SectionErrorBoundary>
</div>
);
}

View File

@@ -15,34 +15,34 @@ export default function TestimonialsSection(): React.JSX.Element {
description="Don't just take our word for it hear from our beloved patrons about their experiences and why Joes Coffee is their favorite spot."
testimonials={[
{
name: "Sarah J.",
role: "Local Artist",
name: "Mark Jenkins",
role: "Local Artist, Seattle",
quote: "Joes Coffee is my daily escape. The latte art is always beautiful, and the cozy atmosphere inspires my work. It's truly a hidden gem!",
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-curly-redhead-bearded-man-tasting-coffee-cup_171337-9999.jpg",
imageSrc: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&q=80&w=800",
},
{
name: "Michael L.",
role: "Small Business Owner",
name: "Sarah Lawson",
role: "Small Business Owner, Portland",
quote: "The best coffee in town, hands down. I appreciate the quality and consistency, and the staff are always incredibly welcoming. My go-to spot for meetings.",
imageSrc: "http://img.b2bpic.net/free-photo/pretty-dreaming-young-woman-sitting-cafe-table_171337-17088.jpg",
imageSrc: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&q=80&w=800",
},
{
name: "Emily R.",
role: "Student",
name: "Emily Roberts",
role: "Graduate Student, Austin",
quote: "I love coming here to study. The quiet corners and endless coffee keep me going. Plus, their sandwiches are amazing when I need a break!",
imageSrc: "http://img.b2bpic.net/free-photo/carefree-friends_1098-15889.jpg",
imageSrc: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&q=80&w=800",
},
{
name: "David K.",
role: "Neighborhood Resident",
name: "David Kim",
role: "Software Engineer, Chicago",
quote: "It feels like home here. The baristas know my order, and there's always a friendly face. Joes Coffee is more than just a cafe; it's a community.",
imageSrc: "http://img.b2bpic.net/free-photo/people-drinking-coffee-spacious-cafeteria_23-2150423990.jpg",
imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&q=80&w=800",
},
{
name: "Olivia M.",
role: "Food Blogger",
name: "Olivia Martinez",
role: "Food Blogger, New York",
quote: "From the first sip to the last bite of their pastries, Joes Coffee consistently delivers excellence. A must-visit for any coffee enthusiast!",
imageSrc: "http://img.b2bpic.net/free-photo/lovely-asian-woman-with-ponytail-dressed-red-oversized-sweater-sits-co-working-space-takes-notes-notebook_197531-16913.jpg",
imageSrc: "https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&q=80&w=800",
},
]}
/>