Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 11:19:33 +00:00
2 changed files with 33 additions and 56 deletions

View File

@@ -9,7 +9,7 @@ import FeatureCardThree from '@/components/sections/feature/featureCardThree/Fea
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Star, Users, Chef, Award } from 'lucide-react';
import { Star, Users, Award } from 'lucide-react';
export default function LandingPage() {
return (
@@ -54,19 +54,19 @@ export default function LandingPage() {
testimonials={[
{
name: "Sarah Mitchell", handle: "Regular Guest", testimonial: "Exceptional cuisine and impeccable service. A truly unforgettable dining experience.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg?_wi=1", imageAlt: "Sarah Mitchell"
imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg", imageAlt: "Sarah Mitchell"
},
{
name: "Michael Chen", handle: "Food Critic", testimonial: "The perfect blend of tradition and innovation. Tour d'Argent sets the standard for fine dining.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg?_wi=1", imageAlt: "Michael Chen"
imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg", imageAlt: "Michael Chen"
},
{
name: "Emma Laurent", handle: "Restaurant Enthusiast", testimonial: "Every detail is perfected. The ambiance, the food, the service - absolutely remarkable.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg?_wi=1", imageAlt: "Emma Laurent"
imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg", imageAlt: "Emma Laurent"
},
{
name: "David Romano", handle: "Sommelier", testimonial: "The wine selection and culinary pairings are exceptional. Highly recommended.", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg?_wi=1", imageAlt: "David Romano"
imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg", imageAlt: "David Romano"
}
]}
/>
@@ -80,7 +80,7 @@ export default function LandingPage() {
metrics={[
{ icon: Star, label: "Guest Rating", value: "5.0" },
{ icon: Users, label: "Satisfied Guests", value: "10,000+" },
{ icon: Chef, label: "Years of Excellence", value: "25+" },
{ icon: Award, label: "Years of Excellence", value: "25+" },
{ icon: Award, label: "Michelin Stars", value: "2" }
]}
/>
@@ -97,22 +97,22 @@ export default function LandingPage() {
gridVariant="three-columns-all-equal-width"
products={[
{
id: "starter-1", name: "Foie Gras Terrine", price: "$48", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=1", imageAlt: "Foie Gras Terrine appetizer"
id: "starter-1", name: "Foie Gras Terrine", price: "$48", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Foie Gras Terrine appetizer"
},
{
id: "starter-2", name: "Oyster Selection", price: "$42", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=1", imageAlt: "Fresh oyster selection"
id: "starter-2", name: "Oyster Selection", price: "$42", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Fresh oyster selection"
},
{
id: "main-1", name: "Duck Confit", price: "$68", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=1", imageAlt: "Pan-seared duck confit"
id: "main-1", name: "Duck Confit", price: "$68", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Pan-seared duck confit"
},
{
id: "main-2", name: "Sole Meunière", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=2", imageAlt: "Sole meunière with brown butter"
id: "main-2", name: "Sole Meunière", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Sole meunière with brown butter"
},
{
id: "main-3", name: "Beef Wellington", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=2", imageAlt: "Beef Wellington with truffle"
id: "main-3", name: "Beef Wellington", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Beef Wellington with truffle"
},
{
id: "dessert-1", name: "Chocolate Soufflé", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=2", imageAlt: "Warm chocolate soufflé"
id: "dessert-1", name: "Chocolate Soufflé", price: "$18", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Warm chocolate soufflé"
}
]}
/>
@@ -129,13 +129,13 @@ export default function LandingPage() {
gridVariant="three-columns-all-equal-width"
features={[
{
id: "01", title: "Duck à l'Orange", description: "Our legendary signature dish, prepared with meticulous attention to detail and served with an exquisite orange gastrique.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg?_wi=3", imageAlt: "Duck à l'Orange signature dish"
id: "01", title: "Duck à l'Orange", description: "Our legendary signature dish, prepared with meticulous attention to detail and served with an exquisite orange gastrique.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-eggplant-dish-arrangement_23-2150410424.jpg", imageAlt: "Duck à l'Orange signature dish"
},
{
id: "02", title: "Lobster Thermidor", description: "A classic French delicacy featuring tender lobster meat in a creamy béchamel sauce with Gruyère cheese.", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg?_wi=3", imageAlt: "Lobster Thermidor"
id: "02", title: "Lobster Thermidor", description: "A classic French delicacy featuring tender lobster meat in a creamy béchamel sauce with Gruyère cheese.", imageSrc: "http://img.b2bpic.net/free-photo/professional-food-decoration-restaurant-kitchen-cook-doing-great-job_482257-10351.jpg", imageAlt: "Lobster Thermidor"
},
{
id: "03", title: "Crêpes Suzette", description: "The ultimate French dessert experience with thin crêpes in a citrus butter sauce, tableside flambé preparation.", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg?_wi=3", imageAlt: "Crêpes Suzette dessert"
id: "03", title: "Crêpes Suzette", description: "The ultimate French dessert experience with thin crêpes in a citrus butter sauce, tableside flambé preparation.", imageSrc: "http://img.b2bpic.net/free-photo/white-fruit-platter-isolated-black-surface-with-herbs_114579-12173.jpg", imageAlt: "Crêpes Suzette dessert"
}
]}
/>
@@ -176,16 +176,16 @@ export default function LandingPage() {
useInvertedBackground={false}
testimonials={[
{
id: "1", title: "An Unforgettable Evening", quote: "Every aspect was perfect - from the warm welcome to the expertly prepared dishes. Tour d'Argent exceeded all our expectations and we can't wait to return.", name: "Sarah Mitchell", role: "Food & Wine Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg?_wi=2", imageAlt: "Sarah Mitchell"
id: "1", title: "An Unforgettable Evening", quote: "Every aspect was perfect - from the warm welcome to the expertly prepared dishes. Tour d'Argent exceeded all our expectations and we can't wait to return.", name: "Sarah Mitchell", role: "Food & Wine Enthusiast", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-businesswoman-looking-camera-with-arms-crossed-portrait_1163-4337.jpg", imageAlt: "Sarah Mitchell"
},
{
id: "2", title: "Culinary Mastery", quote: "The chef's attention to detail is remarkable. Each dish was a work of art, beautifully presented and absolutely delicious. The service was impeccable.", name: "Michael Chen", role: "Restaurant Critic", imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg?_wi=2", imageAlt: "Michael Chen"
id: "2", title: "Culinary Mastery", quote: "The chef's attention to detail is remarkable. Each dish was a work of art, beautifully presented and absolutely delicious. The service was impeccable.", name: "Michael Chen", role: "Restaurant Critic", imageSrc: "http://img.b2bpic.net/free-photo/confident-outline-business-side-face-male_1194-3839.jpg", imageAlt: "Michael Chen"
},
{
id: "3", title: "Perfect for Special Occasions", quote: "We celebrated our anniversary here and it was magical. The ambiance, the food, the wine pairings - everything was absolutely perfect. Highly recommended!", name: "Emma Laurent", role: "Frequent Diner", imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg?_wi=2", imageAlt: "Emma Laurent"
id: "3", title: "Perfect for Special Occasions", quote: "We celebrated our anniversary here and it was magical. The ambiance, the food, the wine pairings - everything was absolutely perfect. Highly recommended!", name: "Emma Laurent", role: "Frequent Diner", imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-young-businesswoman_329181-15813.jpg", imageAlt: "Emma Laurent"
},
{
id: "4", title: "Wine Selection Excellence", quote: "The sommelier was incredibly knowledgeable and helped us choose the perfect wines to complement each course. A truly exceptional dining experience.", name: "David Romano", role: "Sommelier & Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg?_wi=2", imageAlt: "David Romano"
id: "4", title: "Wine Selection Excellence", quote: "The sommelier was incredibly knowledgeable and helped us choose the perfect wines to complement each course. A truly exceptional dining experience.", name: "David Romano", role: "Sommelier & Connoisseur", imageSrc: "http://img.b2bpic.net/free-photo/african-american-young-man-wearing-jacket-checkered-shirt-looking-camera-studio_613910-21142.jpg", imageAlt: "David Romano"
}
]}
/>

View File

@@ -1,51 +1,28 @@
"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;
}
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, 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 * 60} 100`}
className={className}
aria-label={text}
>
<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="central"
className="fill-current"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;