diff --git a/src/app/page.tsx b/src/app/page.tsx index 0716c09..e7b38ea 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,7 +51,7 @@ export default function LandingPage() { { text: "Explore Our Blends", href: "blends" }, { text: "Our Story", href: "about" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="slide-up" /> @@ -63,7 +63,7 @@ export default function LandingPage() { description="Founded in 2019 by Aryan Mehta, a former software engineer" subdescription="From Shimla garage to 500+ daily cups across India" icon={Heart} - imageSrc="http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg" imageAlt="Cozy premium café interior with warm lighting" mediaAnimation="blur-reveal" useInvertedBackground={false} @@ -106,15 +106,15 @@ export default function LandingPage() { features={[ { id: "1", title: "Premium Coffee Machines", tags: ["Italian Espresso", "Precision Brewing"], - imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg?_wi=2", imageAlt: "Premium espresso machine" + imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg", imageAlt: "Premium espresso machine" }, { id: "2", title: "Freshly Baked Sides", tags: ["Artisan Pastries", "Daily Baked"], - imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg?_wi=3", imageAlt: "Freshly baked pastries and sides" + imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg", imageAlt: "Freshly baked pastries and sides" }, { id: "3", title: "Cozy Seating for 40 Guests", tags: ["Intimate Space", "Perfect Ambiance"], - imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg?_wi=4", imageAlt: "Warm and cozy café seating area" + imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-with-old-grinder_1204-105.jpg", imageAlt: "Warm and cozy café seating area" } ]} animationType="slide-up" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..86659ce 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; + fontWeight?: number | 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 = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file