diff --git a/src/app/page.tsx b/src/app/page.tsx index d7f250d..54c6fbf 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="medium" sizing="medium" - background="blurBottom" + background="circleGradient" cardStyle="outline" primaryButtonStyle="primary-glow" secondaryButtonStyle="radial-glow" @@ -48,7 +48,7 @@ export default function LandingPage() { { text: "Browse Catalog", href: "#products" }, { text: "Request Quote" } ]} - background={{ variant: "blurBottom" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/factory-workers-work-wear-yellow-helmets-walking-through-industrial-production-hall-discussing-about-improving-efficiency_342744-231.jpg" imageAlt="construction materials warehouse industrial" frameStyle="card" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b8ca685 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); - +export const SvgTextLogo: React.FC = ({ text, className = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file