From 694a6ebca7f8962c8da715b686817b4f0e97401f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:11:14 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 14f21ad..0ea54b9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function CricketLivePage() { borderRadius="soft" contentWidth="smallMedium" sizing="large" - background="floatingGradient" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="shadow" secondaryButtonStyle="glass" @@ -46,7 +46,7 @@ export default function CricketLivePage() { @@ -132,7 +132,7 @@ export default function CricketLivePage() { id: "5", title: "Enhanced Loading States", content: "Professional skeleton loaders ensure smooth transitions while fetching data from cricket APIs. Prevents layout shift and provides visual feedback to users during data updates and API calls." } ]} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwBJykn0SQB4UD8MPtp85EhCD/a-modern-smartphone-displaying-the-crick-1773241782802-f1373174.png?_wi=2" + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwBJykn0SQB4UD8MPtp85EhCD/a-modern-smartphone-displaying-the-crick-1773241782802-f1373174.png" imageAlt="App Features Showcase" mediaAnimation="slide-up" useInvertedBackground={true} @@ -144,16 +144,16 @@ export default function CricketLivePage() { -- 2.49.1 From 98b3fd9c5dbf1516dd83419b04b35a9c1459fd1a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:11:14 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 ++++++------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a786ed2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1