diff --git a/src/app/page.tsx b/src/app/page.tsx index 5e511a8..1da9ff4 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="mediumSizeLargeTitles" - background="noise" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="double-inset" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { title="Reliable Hardware Supplies for Professionals" description="Quality products for construction, painting, and hardware needs. Trusted by local contractors, painters, and hardware shops across the region." tag="IJS Traders" - background={{ variant: "noise" }} + background={{ variant: "plain" }} buttons={[ { text: "Browse Products", href: "#products" }, { text: "Contact Us", href: "#contact" } @@ -192,4 +192,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c2bb7eb 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps extends SVGProps { + 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 = '', + ...props +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;