Update src/app/page.tsx
This commit is contained in:
@@ -11,9 +11,13 @@ import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
|
||||
import FaqBase from "@/components/sections/faq/FaqBase";
|
||||
import ContactText from "@/components/sections/contact/ContactText";
|
||||
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
import { Camera, Heart, HelpCircle, MessageCircle, ShoppingCart, Sparkles, Zap, Crown, Shield, Zap as Lightning } from "lucide-react";
|
||||
import { Camera, Heart, HelpCircle, MessageCircle, ShoppingCart, Sparkles, Zap, Crown, Shield, Zap as Lightning, Phone } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const phoneNumber = "+923299462929";
|
||||
const whatsappLink = `https://wa.me/${phoneNumber.replace(/[^0-9]/g, '')}?text=Hi%20Crown%20Fragrance%2C%20I%20would%20like%20to%20know%20more%20about%20your%20fragrances.`;
|
||||
const callLink = `tel:${phoneNumber}`;
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-bubble"
|
||||
@@ -37,7 +41,7 @@ export default function LandingPage() {
|
||||
{ name: "Contact", id: "contact" }
|
||||
]}
|
||||
button={{
|
||||
text: "WhatsApp Now", href: "https://wa.me/923001234567?text=Hi%20Crown%20Fragrance%2C%20I%20would%20like%20to%20know%20more%20about%20your%20fragrances."
|
||||
text: "WhatsApp Now", href: whatsappLink
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
@@ -68,7 +72,7 @@ export default function LandingPage() {
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Shop Now & Get 20% Off", href: "#products" },
|
||||
{ text: "WhatsApp Now", href: "https://wa.me/923001234567?text=Hi%20Crown%20Fragrance%2C%20I%20would%20like%20to%20browse%20your%20collection." }
|
||||
{ text: "WhatsApp Now", href: whatsappLink }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
carouselPosition="right"
|
||||
@@ -155,7 +159,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
title: "24/7 WhatsApp Support", description: "Direct communication channel for product inquiries, order tracking, and customer support anytime.", buttonIcon: MessageCircle,
|
||||
buttonHref: "https://wa.me/923001234567"
|
||||
buttonHref: whatsappLink
|
||||
}
|
||||
]}
|
||||
ariaLabel="Features Section"
|
||||
@@ -258,13 +262,13 @@ export default function LandingPage() {
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactText
|
||||
text="Ready to experience luxury? Connect with us on WhatsApp for personalized recommendations, exclusive deals, and instant support. Your perfect fragrance is just a message away."
|
||||
text="Ready to experience luxury? Connect with us on WhatsApp for personalized recommendations, exclusive deals, and instant support. Your perfect fragrance is just a message away. You can also call us directly at +923299462929 for immediate assistance."
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={true}
|
||||
animationType="entrance-slide"
|
||||
buttons={[
|
||||
{ text: "Chat on WhatsApp", href: "https://wa.me/923001234567?text=Hi%20Crown%20Fragrance%2C%20I%20would%20like%20to%20chat%20with%20you." },
|
||||
{ text: "Call Us", href: "tel:+923001234567" }
|
||||
{ text: "Chat on WhatsApp", href: whatsappLink },
|
||||
{ text: "Call Us", href: callLink }
|
||||
]}
|
||||
ariaLabel="Contact Section"
|
||||
/>
|
||||
@@ -274,10 +278,10 @@ export default function LandingPage() {
|
||||
<FooterLogoReveal
|
||||
logoText="Crown Fragrance"
|
||||
leftLink={{ text: "Privacy Policy", href: "#" }}
|
||||
rightLink={{ text: "WhatsApp Support", href: "https://wa.me/923001234567" }}
|
||||
rightLink={{ text: "WhatsApp: +923299462929", href: whatsappLink }}
|
||||
ariaLabel="Site Footer"
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user