diff --git a/src/app/page.tsx b/src/app/page.tsx index b3703bd..e67307c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -42,7 +42,7 @@ export default function LandingPage() { tag="NBC Café Since 2017" tagIcon={Coffee} tagAnimation="slide-up" - background={{ variant: "glowing-orb" }} + background={{ variant: "fluid" }} useInvertedBackground={false} imageSrc="http://img.b2bpic.net/free-photo/coffee-preparation-concept-still-life_23-2150354593.jpg" imageAlt="Coffee being poured with latte art" @@ -56,15 +56,15 @@ export default function LandingPage() { testimonials={[ { name: "Priya Kumar", handle: "Student", testimonial: "Best coffee spot in Basavanagudi! Affordable and absolutely delicious.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-gorgeous-woman-home_329181-1186.jpg?_wi=1", imageAlt: "Priya Kumar" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-gorgeous-woman-home_329181-1186.jpg", imageAlt: "Priya Kumar" }, { name: "Arjun Singh", handle: "Working Professional", testimonial: "Cold coffee here is perfect for hot Bangalore days. My daily favorite!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-looking-camera_23-2148130371.jpg?_wi=1", imageAlt: "Arjun Singh" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-looking-camera_23-2148130371.jpg", imageAlt: "Arjun Singh" }, { name: "Ananya Desai", handle: "Freelancer", testimonial: "Great place to work, amazing coffee, and super friendly staff.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-businesswoman_23-2148204386.jpg?_wi=1", imageAlt: "Ananya Desai" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-businesswoman_23-2148204386.jpg", imageAlt: "Ananya Desai" } ]} testimonialRotationInterval={5000} @@ -97,7 +97,7 @@ export default function LandingPage() { gridVariant="three-columns-all-equal-width" products={[ { - id: "1", name: "Cold Coffee", price: "₹80", imageSrc: "http://img.b2bpic.net/free-photo/bartender-mixing-tasty-drink_23-2148209392.jpg?_wi=1", imageAlt: "Cold Coffee" + id: "1", name: "Cold Coffee", price: "₹80", imageSrc: "http://img.b2bpic.net/free-photo/bartender-mixing-tasty-drink_23-2148209392.jpg", imageAlt: "Cold Coffee" }, { id: "2", name: "Caramel Latte", price: "₹120", imageSrc: "http://img.b2bpic.net/free-photo/hot-caramel-macchiato_1339-6105.jpg", imageAlt: "Caramel Latte" @@ -112,7 +112,7 @@ export default function LandingPage() { id: "5", name: "Iced Americano", price: "₹70", imageSrc: "http://img.b2bpic.net/free-photo/ice-tea-drink-refreshing-hot-summer-weather_185193-111768.jpg", imageAlt: "Iced Americano" }, { - id: "6", name: "Espresso", price: "₹50", imageSrc: "http://img.b2bpic.net/free-photo/bartender-mixing-tasty-drink_23-2148209392.jpg?_wi=2", imageAlt: "Espresso" + id: "6", name: "Espresso", price: "₹50", imageSrc: "http://img.b2bpic.net/free-photo/bartender-mixing-tasty-drink_23-2148209392.jpg", imageAlt: "Espresso" } ]} carouselMode="buttons" @@ -134,15 +134,15 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Priya Kumar", role: "Student", company: "Bangalore", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-gorgeous-woman-home_329181-1186.jpg?_wi=2", imageAlt: "Priya Kumar" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-gorgeous-woman-home_329181-1186.jpg", imageAlt: "Priya Kumar" }, { id: "2", name: "Arjun Singh", role: "Software Developer", company: "Tech Company", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-looking-camera_23-2148130371.jpg?_wi=2", imageAlt: "Arjun Singh" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-looking-camera_23-2148130371.jpg", imageAlt: "Arjun Singh" }, { id: "3", name: "Ananya Desai", role: "Freelancer", company: "Creative Studio", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-businesswoman_23-2148204386.jpg?_wi=2", imageAlt: "Ananya Desai" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-middle-aged-businesswoman_23-2148204386.jpg", imageAlt: "Ananya Desai" }, { id: "4", name: "Vikram Menon", role: "Marketing Manager", company: "Digital Agency", rating: 5, @@ -162,7 +162,7 @@ export default function LandingPage() { tag="Get in Touch" title="Visit Nothing Before Coffee" description="Stop by our café on DVG Road in Basavanagudi. We're open daily from 7:30 AM to 11:30 PM. Call us at +91 63601 90874 for any queries." - background={{ variant: "glowing-orb" }} + background={{ variant: "fluid" }} useInvertedBackground={false} inputPlaceholder="Enter your email" buttonText="Subscribe" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..82f6d28 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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?: string | number; + fill?: string; + letterSpacing?: number; 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 = 'currentColor', + letterSpacing = 0, + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file