Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 04:12:52 +00:00
2 changed files with 48 additions and 59 deletions

View File

@@ -10,7 +10,7 @@ import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCar
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, Wine2, Star, Leaf, Users, CheckCircle } from "lucide-react";
import { Sparkles, Wine, Star, Leaf, Users, CheckCircle } from "lucide-react";
export default function LandingPage() {
return (
@@ -52,30 +52,30 @@ export default function LandingPage() {
background={{ variant: "glowing-orb" }}
leftCarouselItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg?_wi=1", imageAlt: "Premium Red Wine Selection"
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg", imageAlt: "Premium Red Wine Selection"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg?_wi=1", imageAlt: "Elegant Rosé Wine"
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg", imageAlt: "Elegant Rosé Wine"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg?_wi=1", imageAlt: "Crisp White Wine"
imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg", imageAlt: "Crisp White Wine"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg?_wi=1", imageAlt: "Wine Cellar Storage"
imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg", imageAlt: "Wine Cellar Storage"
}
]}
rightCarouselItems={[
{
imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg?_wi=2", imageAlt: "Premium White Wine"
imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg", imageAlt: "Premium White Wine"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg?_wi=2", imageAlt: "Fine Wine Aging"
imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg", imageAlt: "Fine Wine Aging"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg?_wi=2", imageAlt: "Bold Red Wine"
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg", imageAlt: "Bold Red Wine"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg?_wi=2", imageAlt: "Elegant Rosé Collection"
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg", imageAlt: "Elegant Rosé Collection"
}
]}
buttons={[
@@ -92,7 +92,7 @@ export default function LandingPage() {
title="Our Wine Heritage"
description="With over 20 years of passion for fine wines, Vinique has become a trusted destination for wine enthusiasts. We partner with premier vineyards across France, Italy, Spain, and California to bring you the finest selections."
tag="Our Story"
tagIcon={Wine2}
tagIcon={Wine}
tagAnimation="slide-up"
bulletPoints={[
{
@@ -150,26 +150,22 @@ export default function LandingPage() {
{
id: "1", title: "Expert Sommelier Service", descriptions: [
"Our certified sommeliers provide personalized wine recommendations", "Free tasting consultations to find your perfect match", "Professional guidance for wine pairings and selection"
],
imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg?_wi=3", imageAlt: "Wine tasting experience"
], imageSrc: "http://img.b2bpic.net/free-photo/top-view-wine-bottles-arrangement_23-2149552383.jpg", imageAlt: "Wine tasting experience"
},
{
id: "2", title: "Guaranteed Freshness", descriptions: [
"Climate-controlled storage and shipping", "Direct from vineyard partnerships ensure authenticity", "Every bottle inspected for quality and integrity"
],
imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg?_wi=3", imageAlt: "Wine storage facility"
], imageSrc: "http://img.b2bpic.net/free-photo/barrels-old-winery_1398-4735.jpg", imageAlt: "Wine storage facility"
},
{
id: "3", title: "Competitive Pricing", descriptions: [
"Best prices on premium wines in the region", "Exclusive deals for wine club members", "Volume discounts for corporate orders"
],
imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg?_wi=3", imageAlt: "Wine collection variety"
], imageSrc: "http://img.b2bpic.net/free-photo/glass-water-flowers-table_23-2148863471.jpg", imageAlt: "Wine collection variety"
},
{
id: "4", title: "Fast Delivery", descriptions: [
"Same-day delivery available in select areas", "Secure, temperature-controlled packaging", "Track your wine shipment in real-time"
],
imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg?_wi=3", imageAlt: "Delivery service"
], imageSrc: "http://img.b2bpic.net/free-photo/side-view-fresh-grape-small-postcard-bottle-screw-with-wine-corks-wine-glass-lying-white-table_141793-8650.jpg", imageAlt: "Delivery service"
}
]}
gridVariant="four-items-2x2-equal-grid"
@@ -185,10 +181,10 @@ export default function LandingPage() {
description="Join thousands of satisfied customers who trust Vinique for their wine selection"
testimonials={[
{
id: "1", name: "Sarah Mitchell", handle: "@wine_lover_sarah", testimonial: "Vinique helped me discover wines I never knew existed. The sommelier consultation was invaluable for understanding my palate preferences.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg?_wi=1", imageAlt: "Sarah Mitchell"
id: "1", name: "Sarah Mitchell", handle: "@wine_lover_sarah", testimonial: "Vinique helped me discover wines I never knew existed. The sommelier consultation was invaluable for understanding my palate preferences.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg", imageAlt: "Sarah Mitchell"
},
{
id: "2", name: "James Chen", handle: "@culinary_james", testimonial: "The quality of wines and the expertise of their team is unmatched. Every recommendation has been spot-on for my dinner parties.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-suit-looking-camera_23-2148112202.jpg?_wi=1", imageAlt: "James Chen"
id: "2", name: "James Chen", handle: "@culinary_james", testimonial: "The quality of wines and the expertise of their team is unmatched. Every recommendation has been spot-on for my dinner parties.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-suit-looking-camera_23-2148112202.jpg", imageAlt: "James Chen"
},
{
id: "3", name: "Emma Rodriguez", handle: "@food_and_wine", testimonial: "Fast shipping, perfect condition, and incredible customer service. This is my go-to wine shop now.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-hispanic-female-executive-wearing-eyeglasses-standing-studio_662251-664.jpg", imageAlt: "Emma Rodriguez"
@@ -197,10 +193,10 @@ export default function LandingPage() {
id: "4", name: "Michael Thompson", handle: "@wine_connoisseur", testimonial: "The wine club membership is outstanding. I've tried rare bottles I couldn't find anywhere else.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-wearing-glasses_23-2148815602.jpg", imageAlt: "Michael Thompson"
},
{
id: "5", name: "Lisa Anderson", handle: "@sunday_sommelier", testimonial: "Outstanding selection and competitive pricing. Vinique makes wine shopping both accessible and exciting.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg?_wi=2", imageAlt: "Lisa Anderson"
id: "5", name: "Lisa Anderson", handle: "@sunday_sommelier", testimonial: "Outstanding selection and competitive pricing. Vinique makes wine shopping both accessible and exciting.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg", imageAlt: "Lisa Anderson"
},
{
id: "6", name: "David Park", handle: "@wine_collector_david", testimonial: "The customer service team truly cares about matching you with the perfect wine. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-suit-looking-camera_23-2148112202.jpg?_wi=2", imageAlt: "David Park"
id: "6", name: "David Park", handle: "@wine_collector_david", testimonial: "The customer service team truly cares about matching you with the perfect wine. Highly recommended!", imageSrc: "http://img.b2bpic.net/free-photo/smiling-man-suit-looking-camera_23-2148112202.jpg", imageAlt: "David Park"
}
]}
animationType="slide-up"

View File

@@ -1,51 +1,44 @@
"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;
className?: string;
fontSize?: number;
fontWeight?: number | string;
fill?: string;
dominantBaseline?: 'auto' | 'text-top' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'mathematical' | 'hanging';
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
fontSize = 24,
fontWeight = 700,
fill = 'currentColor',
dominantBaseline = 'middle'
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width="100"
height="100"
viewBox="0 0 100 100"
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"
textAnchor="middle"
dominantBaseline={dominantBaseline}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
fontFamily="Arial, sans-serif"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;