From 3f312e2c7745fac97a83a2f8ecede145a48ab7ec Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:11:17 +0000 Subject: [PATCH 1/2] Update src/app/styles/variables.css --- src/app/styles/variables.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/styles/variables.css b/src/app/styles/variables.css index 3d0e32c..15b4de2 100644 --- a/src/app/styles/variables.css +++ b/src/app/styles/variables.css @@ -10,15 +10,15 @@ --accent: #ffffff; --background-accent: #ffffff; */ - --background: #ffffff; - --card: #f9f9f9; - --foreground: #000f06e6; - --primary-cta: #0a7039; + --background: #e8f1f5; + --card: #d9e8f0; + --foreground: #1a3a4d; + --primary-cta: #8b6f47; --primary-cta-text: #ffffff; - --secondary-cta: #f9f9f9; + --secondary-cta: #d4e5ed; --secondary-cta-text: #000f06e6; - --accent: #e2e2e2; - --background-accent: #c4c4c4; + --accent: #a8c5d6; + --background-accent: #6b4423; /* text sizing - set by ThemeProvider */ /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); -- 2.49.1 From 0429087538d017ce5c29236f8f90ca4ba5bb2143 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 21:13:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 56 +++++++------------ 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..99d70da 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + textClassName = '', + dominantBaseline = 'middle' +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1