Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -47,8 +47,8 @@ export default function LandingPage() {
|
||||
tag="Luxury Collection"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "grid" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/white-coupe-sport-car-standing-road-front-view_114579-4005.jpg?_wi=1"
|
||||
background={{ variant: "glowing-orb" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/white-coupe-sport-car-standing-road-front-view_114579-4005.jpg"
|
||||
imageAlt="Luxury Lamborghini Supercar"
|
||||
imagePosition="right"
|
||||
mediaAnimation="blur-reveal"
|
||||
@@ -61,19 +61,19 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Michael Chen", handle: "CEO, Luxury Holdings", testimonial: "The selection and customer service at Prestige Motors is unmatched. My experience was exceptional.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg"
|
||||
},
|
||||
{
|
||||
name: "Sofia Rodriguez", handle: "Entrepreneur", testimonial: "Finally found a dealership that understands the luxury market. Absolutely impressed with their expertise.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg"
|
||||
},
|
||||
{
|
||||
name: "James Morrison", handle: "Investment Manager", testimonial: "Professional, knowledgeable, and dedicated. They found me the perfect vehicle.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg"
|
||||
},
|
||||
{
|
||||
name: "Alexandra Park", handle: "Fashion Executive", testimonial: "Prestige Motors delivers luxury in every aspect. Highly recommended for discerning buyers.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-red-haired-man_158595-3781.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-red-haired-man_158595-3781.jpg"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -83,7 +83,7 @@ export default function LandingPage() {
|
||||
<ProductCardThree
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "2024 Lamborghini Revuelto", price: "$645,000", imageSrc: "http://img.b2bpic.net/free-photo/white-coupe-sport-car-standing-road-front-view_114579-4005.jpg?_wi=2", imageAlt: "Lamborghini Revuelto"
|
||||
id: "1", name: "2024 Lamborghini Revuelto", price: "$645,000", imageSrc: "http://img.b2bpic.net/free-photo/white-coupe-sport-car-standing-road-front-view_114579-4005.jpg", imageAlt: "Lamborghini Revuelto"
|
||||
},
|
||||
{
|
||||
id: "2", name: "2024 Ferrari SF90 Stradale", price: "$525,000", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-guitar-poising-car_23-2147769184.jpg", imageAlt: "Ferrari SF90 Stradale"
|
||||
@@ -167,27 +167,27 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Michael Chen", role: "CEO, Luxury Holdings", testimonial: "The selection and customer service at Prestige Motors is unmatched. My experience was exceptional from start to finish.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Sofia Rodriguez", role: "Entrepreneur", testimonial: "Finally found a dealership that understands the luxury market. Absolutely impressed with their expertise and professionalism.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "James Morrison", role: "Investment Manager", testimonial: "Professional, knowledgeable, and dedicated. They found me the perfect vehicle that exceeded all my expectations.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Alexandra Park", role: "Fashion Executive", testimonial: "Prestige Motors delivers luxury in every aspect. Highly recommended for any discerning buyer seeking premium vehicles.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-red-haired-man_158595-3781.jpg?_wi=2"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-red-haired-man_158595-3781.jpg"
|
||||
},
|
||||
{
|
||||
id: "5", name: "David Laurent", role: "Real Estate Developer", testimonial: "The attention to detail and commitment to excellence sets Prestige Motors apart. A truly premium dealership experience.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg?_wi=3"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-working-office-couch-putting-long-hours-work-businessperson-professional-environment_482257-32780.jpg"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Isabella Santos", role: "Corporate Executive", testimonial: "Outstanding service from beginning to end. They truly understand what luxury clients expect and deliver consistently.", icon: Quote,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg?_wi=3"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20364.jpg"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -201,7 +201,7 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
text="Ready to experience the pinnacle of automotive luxury? Contact our team of specialists today to schedule your private consultation and test drive."
|
||||
animationType="entrance-slide"
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={true}
|
||||
buttons={[
|
||||
{ text: "Get in Touch", href: "tel:+13055551234" },
|
||||
|
||||
@@ -1,51 +1,36 @@
|
||||
"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;
|
||||
textClassName?: string;
|
||||
fillColor?: 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 = '',
|
||||
textClassName = '',
|
||||
fillColor = 'currentColor',
|
||||
}) => {
|
||||
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 300 100"
|
||||
className={`w-full h-auto ${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%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
className={`text-4xl font-bold ${textClassName}`}
|
||||
fill={fillColor}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user