From 595600b289c903751a35da7a9c095a520b3d45d0 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 10:23:42 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 78e0a84..b2c5a03 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="compact" sizing="mediumLargeSizeLargeTitles" - background="noiseDiagonalGradient" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="radial-glow" secondaryButtonStyle="radial-glow" @@ -45,7 +45,7 @@ export default function LandingPage() { tag="1 Year Experience" tagIcon={Zap} tagAnimation="slide-up" - background={{ variant: "noiseDiagonalGradient" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/corporate-employee-posing-office_23-2148804484.jpg" imageAlt="Alex Chen - Full Stack Developer" buttons={[ -- 2.49.1 From 91e70497328d6135b2c938c4ce772bc8cd2ea8bf Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 10:23:42 +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..e000a88 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; + dominantBaseline?: 'auto' | 'baseline' | 'ideographic' | 'mathematical' | 'central' | 'middle' | 'hanging'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1