Merge version_4 into main
Merge version_4 into main
This commit was merged in pull request #3.
This commit is contained in:
@@ -12,6 +12,10 @@ import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Cake, Coffee, Leaf, Sparkles, Star } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handlePhoneCall = () => {
|
||||
window.location.href = 'tel:+40123456789';
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
@@ -34,7 +38,7 @@ export default function LandingPage() {
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Contact", id: "contact" }
|
||||
]}
|
||||
button={{ text: "Reserve", href: "#contact" }}
|
||||
button={{ text: "Reserve", onClick: handlePhoneCall }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +48,7 @@ export default function LandingPage() {
|
||||
description="Unde cafeaua devine seducție. Un spațiu sofisticat unde fiecare detaliu te atrage — de la aroma intensă a cafelei până la atmosfera care te face să rămâi."
|
||||
buttons={[
|
||||
{ text: "Descoperă Sufra", href: "#features" },
|
||||
{ text: "Rezervă o masă", href: "#contact" }
|
||||
{ text: "Rezervă o masă", onClick: handlePhoneCall }
|
||||
]}
|
||||
background={{ variant: "plain" }}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AzNj4WP27ifyceNzVV09XKCG3K/uploaded-1773772494044-rw8ack8i.png"
|
||||
@@ -144,7 +148,7 @@ export default function LandingPage() {
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Contactează-ne", href: "tel:+40123456789" },
|
||||
{ text: "Contactează-ne", onClick: handlePhoneCall },
|
||||
{ text: "Urmărește-ne pe Instagram", href: "https://instagram.com" }
|
||||
]}
|
||||
animationType="entrance-slide"
|
||||
@@ -177,7 +181,7 @@ export default function LandingPage() {
|
||||
{ label: "Instagram", href: "https://instagram.com" },
|
||||
{ label: "Facebook", href: "https://facebook.com" },
|
||||
{ label: "Email", href: "mailto:info@sufracoffee.ro" },
|
||||
{ label: "Phone", href: "tel:+40123456789" }
|
||||
{ label: "Phone", onClick: handlePhoneCall }
|
||||
]
|
||||
}
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user