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() { 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;