From 5225f131943070695c9aa1a55113ad1f3cee3872 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:32:51 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 72878cc..4e0b766 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -96,30 +96,30 @@ export default function LandingPage() { { title: "Proven Results", description: "Average 12% above market price. Consistent track record across 200+ properties sold.", icon: TrendingUp, mediaItems: [ - { imageSrc: "/placeholders/placeholder1.webp?_wi=1", imageAlt: "Sales results chart" }, - { imageSrc: "/placeholders/placeholder1.webp?_wi=2", imageAlt: "Client testimonials" } + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Sales results chart" }, + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Client testimonials" } ] }, { title: "Selective Approach", description: "We represent only 15 properties per year. Your sale gets undivided attention and premium positioning.", icon: Target, mediaItems: [ - { imageSrc: "/placeholders/placeholder1.webp?_wi=3", imageAlt: "Premium properties" }, - { imageSrc: "/placeholders/placeholder1.webp?_wi=4", imageAlt: "Curated selection" } + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Premium properties" }, + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Curated selection" } ] }, { title: "Total Dedication", description: "Direct access to decision makers. No assistants. Personal guidance every step until closing.", icon: Users, mediaItems: [ - { imageSrc: "/placeholders/placeholder1.webp?_wi=5", imageAlt: "Expert team" }, - { imageSrc: "/placeholders/placeholder1.webp?_wi=6", imageAlt: "Personalized service" } + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Expert team" }, + { imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Personalized service" } ] } ]} animationType="none" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-4xl md:text-5xl font-bold leading-tight" - descriptionClassName="text-lg font-light" + cardTitleClassName="text-4xl md:text-5xl font-bold leading-tight" + cardDescriptionClassName="text-lg font-light" /> @@ -129,18 +129,18 @@ export default function LandingPage() { description="Value added at no extra cost." products={[ { - id: "bonus-1", name: "Home Staging Strategy", price: "Included", imageSrc: "/placeholders/placeholder1.webp?_wi=7", imageAlt: "Professional home staging guide" + id: "bonus-1", name: "Home Staging Strategy", price: "Included", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Professional home staging guide" }, { - id: "bonus-2", name: "Market Analysis Report", price: "Included", imageSrc: "/placeholders/placeholder1.webp?_wi=8", imageAlt: "Detailed market analysis" + id: "bonus-2", name: "Market Analysis Report", price: "Included", imageSrc: "/placeholders/placeholder1.webp", imageAlt: "Detailed market analysis" } ]} gridVariant="two-columns-alternating-heights" animationType="none" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-4xl md:text-5xl font-bold leading-tight" - descriptionClassName="text-lg font-light" + textBoxTitleClassName="text-4xl md:text-5xl font-bold leading-tight" + textBoxDescriptionClassName="text-lg font-light" /> -- 2.49.1 From 2aa77abc689507b58d0a2336016cb7bcd12f0ea3 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 19:32:52 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 70 +++++++++---------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a7e3bb4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + size?: number; + color?: string; + fontFamily?: string; + fontWeight?: string | number; className?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ + text, + size = 48, + color = 'currentColor', + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 'bold', + className = '', +}) => { + const padding = size * 0.2; + const textLength = text.length; + const charWidth = size * 0.6; + const width = textLength * charWidth + padding * 2; + const height = size + padding * 2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1