From 0baf7276cbcba876f553a04865d64a2e0404a0f6 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 17:36:46 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 187 +++++++++++------------------------------------ 1 file changed, 41 insertions(+), 146 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0692033..3cc1fe8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function HomePage() { borderRadius="rounded" contentWidth="small" sizing="medium" - background="fluid" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="diagonal-gradient" secondaryButtonStyle="glass" @@ -35,9 +35,7 @@ export default function HomePage() { { name: "Contact", id: "contact" }, ]} button={{ - text: "Call Now", - href: "tel:+1-479-824-3724", - }} + text: "Call Now", href: "tel:+1-479-824-3724"}} /> @@ -45,20 +43,16 @@ export default function HomePage() { Date: Wed, 11 Mar 2026 17:36:46 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 81 +++++++++---------- 1 file changed, 39 insertions(+), 42 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..bf0bba4 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,50 +1,47 @@ -"use client"; +import React from "react"; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps { + text: string; className?: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: string | number; + fill?: string; + textAnchor?: "start" | "middle" | "end"; + dominantBaseline?: "hanging" | "middle" | "auto"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text, + className = "", fontSize = 48, + fontFamily = "system-ui, -apple-system, sans-serif", fontWeight = "bold", fill = "currentColor", textAnchor = "middle", dominantBaseline = "middle"}, + ref + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); SvgTextLogo.displayName = "SvgTextLogo"; -- 2.49.1