From c11c2d9e251ea4bb0ae4b5fb3f1ab231a1b90b3f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:30:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f7e002c..ac6aa91 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -85,8 +85,8 @@ export default function LandingPage() { animationType="blur-reveal" useInvertedBackground={false} containerClassName="py-12 md:py-20" - titleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" - descriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" + cardTitleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" + textBoxDescriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" /> @@ -113,8 +113,8 @@ export default function LandingPage() { animationType="slide-up" useInvertedBackground={false} containerClassName="py-12 md:py-20" - titleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" - descriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" + cardTitleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" + textBoxDescriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" /> @@ -149,8 +149,8 @@ export default function LandingPage() { animationType="scale-rotate" useInvertedBackground={false} containerClassName="py-12 md:py-20" - titleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" - descriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" + cardTitleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" + textBoxDescriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" /> @@ -168,8 +168,8 @@ export default function LandingPage() { animationType="slide-up" useInvertedBackground={false} containerClassName="py-12 md:py-20" - titleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" - descriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" + textBoxTitleClassName="text-3xl md:text-5xl text-[#25190c] font-manrope font-bold" + textBoxDescriptionClassName="text-base md:text-lg text-[#25190c] font-dm-sans mt-4" /> -- 2.49.1 From dde9e34a22bf49d8acacd3e904086ebd2a525fb9 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:30:54 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 50 ++++++------------- 1 file changed, 15 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7479be7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,31 @@ -"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; } -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 = "", textClassName = ""}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1