From dd341e4f2857117c28e36a15d88ef3d0e2f49a7a Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:24:41 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index a67fc8a..8edd58e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -4,7 +4,6 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; import HeroSplit from "@/components/sections/hero/HeroSplit"; import TextAbout from "@/components/sections/about/TextAbout"; -import ProjectShowcase from "@/components/sections/product/ProjectShowcase"; import FeatureCardSix from "@/components/sections/feature/FeatureCardSix"; import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo"; import ContactSplit from "@/components/sections/contact/ContactSplit"; @@ -75,7 +74,7 @@ export default function LandingPage() {
- -- 2.49.1 From 8c5ea4eb39847af3de2521447d703fff6fbd064b Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 10 Mar 2026 22:24:41 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 60 ++++++++----------- 1 file changed, 24 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..f7816ee 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + fontSize?: number; + fontWeight?: number | string; + dominantBaseline?: 'auto' | 'text-top' | 'text-bottom' | 'middle' | 'central' | 'hanging' | 'mathematical' | 'inherit'; } -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, + fontSize = 24, + fontWeight = 'bold', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1