diff --git a/src/app/page.tsx b/src/app/page.tsx index 01fa31c..885739d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -72,7 +72,7 @@ export default function LandingPage() { ]} testimonialRotationInterval={5000} useInvertedBackground={false} - background={{ variant: "circleGradient" }} + background={{ variant: "plain" }} /> @@ -153,13 +153,13 @@ export default function LandingPage() { useInvertedBackground={true} features={[ { - title: "Weddings", description: "Make your wedding day unforgettable with premium smoked BBQ that guests will love", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg?_wi=1", imageAlt: "Wedding catering setup" + title: "Weddings", description: "Make your wedding day unforgettable with premium smoked BBQ that guests will love", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg", imageAlt: "Wedding catering setup" }, { - title: "Corporate Events", description: "Impress clients and team members with authentic, high-quality BBQ catering", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg?_wi=2", imageAlt: "Corporate event catering" + title: "Corporate Events", description: "Impress clients and team members with authentic, high-quality BBQ catering", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg", imageAlt: "Corporate event catering" }, { - title: "Celebrations", description: "Birthdays, anniversaries, and family gatherings deserve exceptional food and service", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg?_wi=3", imageAlt: "Family celebration catering" + title: "Celebrations", description: "Birthdays, anniversaries, and family gatherings deserve exceptional food and service", imageSrc: "http://img.b2bpic.net/free-photo/men-cooking-barbecue-outdoors_23-2148733648.jpg", imageAlt: "Family celebration catering" }, { title: "Premium Service", description: "Slow smoked meats, fresh homemade sides, flexible menu packages, and reliable delivery", imageSrc: "http://img.b2bpic.net/free-photo/young-men-roasting-barbecue-grill-cottage-countryside_176420-1844.jpg", imageAlt: "Professional smoker setup" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..cf81424 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"use client"; +import { 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"; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontWeight?: number | string; + 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); - - return ( - ( + + - - {logoText} - - - ); -}); + {text} + + +); -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file