Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 22:02:13 +00:00
2 changed files with 21 additions and 45 deletions

View File

@@ -10,7 +10,7 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles, Hammer2, Sofa, Square, Palette, Armchair, Building2, Lightbulb, ImageSquare, Quote, Star, MessageSquare } from 'lucide-react';
import { Sparkles, Hammer, Sofa, Square, Palette, Armchair, Building2, Lightbulb, Image, Quote, Star, MessageSquare } from 'lucide-react';
export default function LandingPage() {
return (
@@ -48,7 +48,7 @@ export default function LandingPage() {
tagIcon={Sparkles}
background={{ variant: "plain" }}
mediaItems={[
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799486-n81zpsg1.png?_wi=1", imageAlt: "Modern custom L-shaped sofa in warm tones" },
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799486-n81zpsg1.png", imageAlt: "Modern custom L-shaped sofa in warm tones" },
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799488-m2c1v0u2.png", imageAlt: "Custom furniture design showcase" }
]}
rating={5}
@@ -78,7 +78,7 @@ export default function LandingPage() {
title="What We Design"
description="From intimate living spaces to complete home transformations, we craft furniture that tells your story."
tag="Our Services"
tagIcon={Hammer2}
tagIcon={Hammer}
features={[
{ icon: Sofa, title: "Custom Sofa Sets", description: "Modern L-shapes, classic configurations, and bespoke upholstery tailored to your home's unique aesthetic." },
{ icon: Square, title: "Bespoke Dining Solutions", description: "Handcrafted dining tables and seating with fine wood selection and artisan joinery." },
@@ -99,9 +99,9 @@ export default function LandingPage() {
title="Our Work in Your Homes"
description="Explore our portfolio of completed projects showcasing the quality and attention to detail in every piece."
tag="Portfolio"
tagIcon={ImageSquare}
tagIcon={Image}
products={[
{ id: "1", brand: "Vantage Madera Casa", name: "Contemporary L-Shaped Sofa", price: "Custom Quote", rating: 5, reviewCount: "71", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799486-n81zpsg1.png?_wi=2", imageAlt: "Modern L-shaped sofa with cushions" },
{ id: "1", brand: "Vantage Madera Casa", name: "Contemporary L-Shaped Sofa", price: "Custom Quote", rating: 5, reviewCount: "71", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799486-n81zpsg1.png", imageAlt: "Modern L-shaped sofa with cushions" },
{ id: "2", brand: "Vantage Madera Casa", name: "Custom Dining Set", price: "Custom Quote", rating: 5, reviewCount: "71", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799488-zji18jdk.png", imageAlt: "Bespoke dining table and chairs" },
{ id: "3", brand: "Vantage Madera Casa", name: "Neutral Tone Sofa Collection", price: "Custom Quote", rating: 5, reviewCount: "71", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799489-0vg0fz3v.png", imageAlt: "Elegant neutral sofa in living room setting" },
{ id: "4", brand: "Vantage Madera Casa", name: "Statement Accent Chair", price: "Custom Quote", rating: 5, reviewCount: "71", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ArZchIApxcVpfImnAbjJ0y3n5f/uploaded-1773352799489-33alvb0q.png", imageAlt: "Green accent chair with gold embellishments" }
@@ -158,7 +158,7 @@ export default function LandingPage() {
description="Schedule a free design consultation with our team. We'll discuss your vision, preferences, and create a customized solution that exceeds your expectations."
tagIcon={MessageSquare}
background={{ variant: "plain" }}
imageSrc="http://img.b2bpic.net/free-photo/cafe-with-coffee-tables-cosy-sofas-plants-shelves_140725-7785.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/cafe-with-coffee-tables-cosy-sofas-plants-shelves_140725-7785.jpg"
imageAlt="Vantage Madera Casa furniture showroom"
mediaAnimation="slide-up"
mediaPosition="right"
@@ -171,7 +171,7 @@ export default function LandingPage() {
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/cafe-with-coffee-tables-cosy-sofas-plants-shelves_140725-7785.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/cafe-with-coffee-tables-cosy-sofas-plants-shelves_140725-7785.jpg"
imageAlt="Vantage Madera Casa furniture workshop"
logoText="Vantage Madera Casa"
copyrightText="© 2025 Vantage Madera Casa. All rights reserved."

View File

@@ -1,51 +1,27 @@
"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);
export 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 50"
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="10"
y="35"
fontSize="24"
fontWeight="bold"
fill="currentColor"
dominantBaseline="auto"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
};