diff --git a/src/app/page.tsx b/src/app/page.tsx index 30b4dfb..5109ed9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -49,7 +49,7 @@ export default function LandingPage() { ]} buttonAnimation="slide-up" background={{ variant: "sparkles-gradient" }} - imageSrc="http://img.b2bpic.net/free-photo/old-vase-with-stone-angels_53876-18208.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/old-vase-with-stone-angels_53876-18208.jpg" imageAlt="KOIVU Café cozy Nordic interior with warm lighting" mediaAnimation="opacity" frameStyle="card" @@ -65,7 +65,7 @@ export default function LandingPage() { buttons={[ { text: "Our Story", href: "#menu-highlights" } ]} - imageSrc="http://img.b2bpic.net/free-photo/beautiful-side-transparent-chrome-drip-coffee-maker-with-roasted-filtered-coffee-isolated-thick-wooden-table-cafe-shop-white-weights-steam-brutal_346278-1398.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/beautiful-side-transparent-chrome-drip-coffee-maker-with-roasted-filtered-coffee-isolated-thick-wooden-table-cafe-shop-white-weights-steam-brutal_346278-1398.jpg" imageAlt="Skilled barista hand-pouring specialty coffee" useInvertedBackground={true} /> @@ -76,7 +76,7 @@ export default function LandingPage() { features={[ { id: "1", title: "Specialty Coffees", author: "Hand-Poured by Barista", description: "Single-origin beans, pour-overs, and traditional espresso drinks crafted with precision and passion. Each cup tells a story of origin and expertise.", tags: ["Coffee", "Specialty"], - imageSrc: "http://img.b2bpic.net/free-photo/fresh-coffee-table_140725-9523.jpg?_wi=1", imageAlt: "Specialty coffee with latte art" + imageSrc: "http://img.b2bpic.net/free-photo/fresh-coffee-table_140725-9523.jpg", imageAlt: "Specialty coffee with latte art" }, { id: "2", title: "Homemade Cakes & Pastries", author: "Daily Baked", description: "Nordic and Eastern European classics baked fresh each morning. From delicate cardamom buns to rich berry tarts, pure comfort in every bite.", tags: ["Pastry", "Homemade"], @@ -96,7 +96,7 @@ export default function LandingPage() { }, { id: "6", title: "Weekly Lunch Menus", author: "Chef's Selection", description: "Rotating daily specials showcasing seasonal ingredients and hidden Nordic-Eastern European treasures. Always something new to discover.", tags: ["Lunch", "Daily"], - imageSrc: "http://img.b2bpic.net/free-photo/fresh-coffee-table_140725-9523.jpg?_wi=2", imageAlt: "Weekly lunch menu special" + imageSrc: "http://img.b2bpic.net/free-photo/fresh-coffee-table_140725-9523.jpg", imageAlt: "Weekly lunch menu special" } ]} animationType="slide-up" @@ -138,13 +138,13 @@ 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..5d10002 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; className?: string; + fontSize?: number; + fontWeight?: string | number; + letterSpacing?: string; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 48, + fontWeight = 700, + letterSpacing = '0.05em', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;