From fef6b3933a44c882ddc87c78c3f96724ae48e42d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 13:29:43 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index d458d2f..6cf145b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -16,11 +16,11 @@ export default function LandingPage() { return ( @@ -141,13 +141,13 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", name: "Luxury Downtown Penthouse", price: "$2,450,000", imageSrc: "http://img.b2bpic.net/free-photo/positive-calm-woman-light-summer-dress-straw-hat-tropical-location_343596-3151.jpg?_wi=2", imageAlt: "Luxury Downtown Penthouse" + id: "1", name: "Luxury Downtown Penthouse", price: "$2,450,000", imageSrc: "http://img.b2bpic.net/free-photo/positive-calm-woman-light-summer-dress-straw-hat-tropical-location_343596-3151.jpg", imageAlt: "Luxury Downtown Penthouse" }, { - id: "2", name: "Modern Urban Loft", price: "$1,875,000", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-green-gold-field_23-2150978181.jpg?_wi=2", imageAlt: "Modern Urban Loft" + id: "2", name: "Modern Urban Loft", price: "$1,875,000", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-green-gold-field_23-2150978181.jpg", imageAlt: "Modern Urban Loft" }, { - id: "3", name: "Premium Waterfront Estate", price: "$3,200,000", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-young-traveler-visiting_23-2148328873.jpg?_wi=2", imageAlt: "Premium Waterfront Estate" + id: "3", name: "Premium Waterfront Estate", price: "$3,200,000", imageSrc: "http://img.b2bpic.net/free-photo/full-shot-young-traveler-visiting_23-2148328873.jpg", imageAlt: "Premium Waterfront Estate" } ]} /> @@ -181,7 +181,6 @@ export default function LandingPage() { Date: Thu, 12 Mar 2026 13:29:43 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..048e39d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1