Merge version_1 into main #2
@@ -49,20 +49,20 @@ export default function LandingPage() {
|
||||
imageSrc="http://img.b2bpic.net/free-photo/luxurious-lifestyle-rich-woman_52683-97508.jpg"
|
||||
imageAlt="Modern luxury sofa minimalist design"
|
||||
mediaAnimation="slide-up"
|
||||
background={{ variant: "circleGradient" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah Mitchell", handle: "Interior Designer, Architectural Digest", testimonial: "LUXE's furniture collection redefines luxury with meticulous attention to detail and uncompromising quality.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-architectural-designer-enjoying-work-process_1262-18386.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cheerful-architectural-designer-enjoying-work-process_1262-18386.jpg"
|
||||
},
|
||||
{
|
||||
name: "James Chen", handle: "CEO, Design Studios International", testimonial: "Each piece is a masterpiece of craftsmanship and modern design. Truly exceptional.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-man-art-studio_23-2149705893.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-man-art-studio_23-2149705893.jpg"
|
||||
},
|
||||
{
|
||||
name: "Elena Rodriguez", handle: "Luxury Home Curator", testimonial: "The epitome of sophisticated taste. Every detail speaks to quality and refinement.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-blonde-young-businesswoman-with-crossed-arms-leaning-glass-wall_23-2148066805.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-blonde-young-businesswoman-with-crossed-arms-leaning-glass-wall_23-2148066805.jpg"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -158,13 +158,13 @@ export default function LandingPage() {
|
||||
tagIcon={MessageSquare}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Transformed Our Living Space", quote: "The quality and design of LUXE's furniture completely transformed our home. Every piece is a conversation starter, and the craftsmanship is absolutely exceptional.", name: "Victoria Sterling", role: "Luxury Home Owner, Manhattan", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-architectural-designer-enjoying-work-process_1262-18386.jpg?_wi=2", imageAlt: "Victoria Sterling"
|
||||
id: "1", title: "Transformed Our Living Space", quote: "The quality and design of LUXE's furniture completely transformed our home. Every piece is a conversation starter, and the craftsmanship is absolutely exceptional.", name: "Victoria Sterling", role: "Luxury Home Owner, Manhattan", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-architectural-designer-enjoying-work-process_1262-18386.jpg", imageAlt: "Victoria Sterling"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Timeless Investment", quote: "We've invested in LUXE pieces for our flagship store, and they've become signature elements of our interior design. Clients consistently compliment their elegance and quality.", name: "Marcus Williams", role: "Interior Design Director, Beverly Hills", imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-man-art-studio_23-2149705893.jpg?_wi=2", imageAlt: "Marcus Williams"
|
||||
id: "2", title: "Timeless Investment", quote: "We've invested in LUXE pieces for our flagship store, and they've become signature elements of our interior design. Clients consistently compliment their elegance and quality.", name: "Marcus Williams", role: "Interior Design Director, Beverly Hills", imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-man-art-studio_23-2149705893.jpg", imageAlt: "Marcus Williams"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Exceptional Service & Quality", quote: "From selection to delivery, LUXE's attention to detail is unmatched. The furniture isn't just beautiful—it's built to last generations.", name: "Caroline Dubois", role: "Design Curator, Paris", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-blonde-young-businesswoman-with-crossed-arms-leaning-glass-wall_23-2148066805.jpg?_wi=2", imageAlt: "Caroline Dubois"
|
||||
id: "3", title: "Exceptional Service & Quality", quote: "From selection to delivery, LUXE's attention to detail is unmatched. The furniture isn't just beautiful—it's built to last generations.", name: "Caroline Dubois", role: "Design Curator, Paris", imageSrc: "http://img.b2bpic.net/free-photo/portrait-confident-blonde-young-businesswoman-with-crossed-arms-leaning-glass-wall_23-2148066805.jpg", imageAlt: "Caroline Dubois"
|
||||
},
|
||||
{
|
||||
id: "4", title: "A Statement of Refined Taste", quote: "LUXE represents everything we value: sustainability, craftsmanship, and timeless design. Their collection is incomparable in today's market.", name: "David Yoshida", role: "Luxury Lifestyle Architect, Tokyo", imageSrc: "http://img.b2bpic.net/free-photo/smiley-man-standing-office-medium-shot_23-2148327019.jpg", imageAlt: "David Yoshida"
|
||||
|
||||
@@ -1,51 +1,29 @@
|
||||
"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 200 60"
|
||||
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%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
className="text-2xl font-bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user