Merge version_1 into main #2
@@ -12,7 +12,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia
|
||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import { Sparkles, Award, Zap, Heart, Gift, MapPin, Mail, Phone, MessageCircle, Globe } from 'lucide-react';
|
||||
import { Sparkles, Award, Zap, Heart, Gift, MapPin, Mail, Phone, MessageCircle, Globe, HelpCircle, Package, Star, Crown } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleNewsletterSubmit = (email: string) => {
|
||||
@@ -26,7 +26,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="floatingGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -56,11 +56,11 @@ export default function LandingPage() {
|
||||
{ text: "Call Now", href: "tel:+919999999999" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "floatingGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
carouselItems={[
|
||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-park_1303-28938.jpg?_wi=1", imageAlt: "Premium watches collection" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-accessory-wooden-background_1203-7652.jpg?_wi=1", imageAlt: "Designer wallets and fashion accessories" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/wooden-toy-soldiers-nutcrackers-shop-window_169016-54970.jpg?_wi=1", imageAlt: "Luxury decorative items" },
|
||||
{ id: "1", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-park_1303-28938.jpg", imageAlt: "Premium watches collection" },
|
||||
{ id: "2", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-accessory-wooden-background_1203-7652.jpg", imageAlt: "Designer wallets and fashion accessories" },
|
||||
{ id: "3", imageSrc: "http://img.b2bpic.net/free-photo/wooden-toy-soldiers-nutcrackers-shop-window_169016-54970.jpg", imageAlt: "Luxury decorative items" },
|
||||
{ id: "4", imageSrc: "http://img.b2bpic.net/free-photo/view-women-s-purse-tiles-with-mediterranean-aesthetics_23-2150916725.jpg", imageAlt: "Premium fashion accessories" },
|
||||
{ id: "5", imageSrc: "http://img.b2bpic.net/free-photo/top-view-christmas-gifts-with-copy-space_23-2148343306.jpg", imageAlt: "Curated gift collection showcase" },
|
||||
{ id: "6", imageSrc: "http://img.b2bpic.net/free-photo/scissors-near-bows-ribbons-white-table_23-2147961646.jpg", imageAlt: "Luxury gift wrapping service" }
|
||||
@@ -129,15 +129,15 @@ export default function LandingPage() {
|
||||
products={[
|
||||
{
|
||||
id: "1", brand: "CLASSIO Exclusive", name: "Premium Swiss-Inspired Watch Collection", price: "₹15,999 - ₹45,999", rating: 5,
|
||||
reviewCount: "234", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-park_1303-28938.jpg?_wi=2", imageAlt: "Premium watches collection"
|
||||
reviewCount: "234", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-business-woman-park_1303-28938.jpg", imageAlt: "Premium watches collection"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "Fashion Forward", name: "Italian Leather Wallet Collection", price: "₹4,999 - ₹12,999", rating: 5,
|
||||
reviewCount: "189", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-accessory-wooden-background_1203-7652.jpg?_wi=2", imageAlt: "Designer wallets"
|
||||
reviewCount: "189", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-accessory-wooden-background_1203-7652.jpg", imageAlt: "Designer wallets"
|
||||
},
|
||||
{
|
||||
id: "3", brand: "CLASSIO Home", name: "Luxury Decorative Home Accessories", price: "₹3,999 - ₹18,999", rating: 5,
|
||||
reviewCount: "156", imageSrc: "http://img.b2bpic.net/free-photo/wooden-toy-soldiers-nutcrackers-shop-window_169016-54970.jpg?_wi=2", imageAlt: "Decorative items"
|
||||
reviewCount: "156", imageSrc: "http://img.b2bpic.net/free-photo/wooden-toy-soldiers-nutcrackers-shop-window_169016-54970.jpg", imageAlt: "Decorative items"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -160,21 +160,21 @@ export default function LandingPage() {
|
||||
animationType="scale-rotate"
|
||||
plans={[
|
||||
{
|
||||
id: "essential", tag: "Starter Gift Set", tagIcon: Gift,
|
||||
id: "essential", tag: "Starter Gift Set", tagIcon: Package,
|
||||
price: "₹2,999", period: "per set", description: "Perfect for casual gifting. Includes one premium item with elegant packaging.", button: { text: "Select Package", href: "#contact" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
"One premium accessory", "Premium gift wrapping", "Personalized thank you card", "Free delivery in Patna"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "premium", tag: "Premium Gift Collection", tagIcon: Heart,
|
||||
id: "premium", tag: "Premium Gift Collection", tagIcon: Star,
|
||||
price: "₹7,999", period: "per set", description: "Our most popular choice. Curated collection for special occasions with premium presentation.", button: { text: "Select Package", href: "#contact" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
"Three premium items", "Luxury gift box presentation", "Personalized gift message", "Free same-day delivery", "Gift consultation service"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "luxury", tag: "Luxury Signature Collection", tagIcon: Award,
|
||||
id: "luxury", tag: "Luxury Signature Collection", tagIcon: Crown,
|
||||
price: "₹16,999", period: "per set", description: "Our flagship collection. Exclusive curated items with white-glove service and premium everything.", button: { text: "Select Package", href: "#contact" },
|
||||
featuresTitle: "What's Included:", features: [
|
||||
"Five luxury items", "Bespoke luxury packaging", "Personalized styling consultation", "Priority concierge service", "Lifetime customer support", "VIP member benefits"
|
||||
@@ -247,7 +247,7 @@ export default function LandingPage() {
|
||||
title="Frequently Asked Questions"
|
||||
description="Find answers to common questions about our products, services, delivery, and gift options."
|
||||
tag="Help & Support"
|
||||
tagIcon={Mail}
|
||||
tagIcon={HelpCircle}
|
||||
tagAnimation="blur-reveal"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
|
||||
@@ -1,51 +1,37 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text?: string;
|
||||
fontSize?: number;
|
||||
fill?: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text = 'Webild',
|
||||
fontSize = 28,
|
||||
fill = 'currentColor',
|
||||
className = '',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${text.length * fontSize} ${fontSize * 1.5}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
fontSize={fontSize}
|
||||
fontWeight="bold"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fill={fill}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user