diff --git a/src/app/page.tsx b/src/app/page.tsx index 5048fdc..be9bceb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -57,13 +57,12 @@ export default function LandingPage() { imageSrc: "http://img.b2bpic.net/free-photo/top-view-dining-tables-without-food_23-2150157783.jpg", imageAlt: "Modern kitchen utensils and cookware collection" }, { - imageSrc: "http://img.b2bpic.net/free-photo/owner-getting-ready-reopening_23-2149142180.jpg?_wi=1", imageAlt: "Spacious and organized retail store interior" + imageSrc: "http://img.b2bpic.net/free-photo/owner-getting-ready-reopening_23-2149142180.jpg", imageAlt: "Spacious and organized retail store interior" } ]} mediaAnimation="slide-up" rating={5} ratingText="Trusted by thousands of Agra families" - useInvertedBackground={false} /> @@ -90,7 +89,7 @@ export default function LandingPage() { description="V.K Bartan Bhandar is one of the most well-known utensil stores in Agra. For years, customers have trusted us for our extensive collection of kitchen products, stainless steel utensils, cookware, appliances, and storage solutions." subdescription="Whether you are setting up a new home kitchen, upgrading your cookware, or purchasing supplies for restaurants or hotels, you will find everything you need under one roof. Our store offers products across multiple price ranges while maintaining quality and reliability." icon={CheckCircle} - imageSrc="http://img.b2bpic.net/free-photo/owner-getting-ready-reopening_23-2149142180.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/owner-getting-ready-reopening_23-2149142180.jpg" imageAlt="V.K Bartan Bhandar retail store interior" mediaAnimation="slide-up" useInvertedBackground={false} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..a280bf3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,39 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: 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, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;