From b0c7a4659167738a593ed9e683b466ca69863696 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:19:13 +0000 Subject: [PATCH 1/4] Update src/app/about/page.tsx --- src/app/about/page.tsx | 75 ++++++++---------------------------------- 1 file changed, 13 insertions(+), 62 deletions(-) diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index d6a684a..50c4f46 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -80,10 +80,7 @@ export default function AboutPage() { Date: Tue, 10 Mar 2026 19:19:13 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 158 ++++++++--------------------------------------- 1 file changed, 25 insertions(+), 133 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0358d57..ff0fc25 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -84,12 +84,10 @@ export default function HomePage() { -- 2.49.1 From f2ccc8bbad749c33034f28a57b9248e8b6acbd1d Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 19:19:13 +0000 Subject: [PATCH 3/4] Update src/app/programs/page.tsx --- src/app/programs/page.tsx | 70 +++++++-------------------------------- 1 file changed, 12 insertions(+), 58 deletions(-) diff --git a/src/app/programs/page.tsx b/src/app/programs/page.tsx index 23b77fc..de89eee 100644 --- a/src/app/programs/page.tsx +++ b/src/app/programs/page.tsx @@ -75,38 +75,17 @@ export default function ProgramsPage() { Date: Tue, 10 Mar 2026 19:19:14 +0000 Subject: [PATCH 4/4] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 +++++++------------ 1 file changed, 23 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..5253591 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; + fontSize?: number; + fontWeight?: string | number; + dominantBaseline?: "auto" | "text-bottom" | "alphabetic" | "ideographic" | "middle" | "central" | "hanging" | "mathematical" | "inherit" | "initial" | "unset"; } -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 = "", fontSize = 32, + fontWeight = "bold", dominantBaseline = "middle"}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1