diff --git a/src/app/page.tsx b/src/app/page.tsx index 8ef676b..8f350eb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,7 +51,7 @@ export default function LandingPage() { { text: "Order Online", href: "https://order.example.com" } ]} layoutOrder="default" - imageSrc="http://img.b2bpic.net/free-photo/elevated-view-fish-ball-soup-with-rice-sauces-noodles_23-2148093236.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/elevated-view-fish-ball-soup-with-rice-sauces-noodles_23-2148093236.jpg" imageAlt="Steaming bowl of authentic Japanese ramen" mediaAnimation="slide-up" frameStyle="card" @@ -71,7 +71,7 @@ export default function LandingPage() { products={[ { id: "1", brand: "JINYA", name: "Tonkotsu Black", price: "$16.95", rating: 5, - reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/japanese-food-bowls-arrangement_23-2148809847.jpg?_wi=1", imageAlt: "Tonkotsu Black Ramen with rich pork broth" + reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/japanese-food-bowls-arrangement_23-2148809847.jpg", imageAlt: "Tonkotsu Black Ramen with rich pork broth" }, { id: "2", brand: "JINYA", name: "Spicy Chicken Ramen", price: "$15.95", rating: 5, @@ -79,7 +79,7 @@ export default function LandingPage() { }, { id: "3", brand: "JINYA", name: "Vegan Ramen", price: "$14.95", rating: 5, - reviewCount: "328", imageSrc: "http://img.b2bpic.net/free-photo/homemade-asian-japanese-food-with-sauce-wooden-spoon-sesame-seeds-white-backdrop_23-2148123709.jpg?_wi=1", imageAlt: "Plant-based Vegan Ramen with vegetable broth" + reviewCount: "328", imageSrc: "http://img.b2bpic.net/free-photo/homemade-asian-japanese-food-with-sauce-wooden-spoon-sesame-seeds-white-backdrop_23-2148123709.jpg", imageAlt: "Plant-based Vegan Ramen with vegetable broth" } ]} /> @@ -129,19 +129,19 @@ export default function LandingPage() { animationType="slide-up" plans={[ { - id: "ramen-bowls", title: "Ramen Bowls", price: "From $12.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/japanese-food-bowls-arrangement_23-2148809847.jpg?_wi=2", imageAlt: "Ramen bowls special pricing", button: { text: "See Menu", href: "#menu" }, + id: "ramen-bowls", title: "Ramen Bowls", price: "From $12.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/japanese-food-bowls-arrangement_23-2148809847.jpg", imageAlt: "Ramen bowls special pricing", button: { text: "See Menu", href: "#menu" }, features: [ "All signature ramen included", "Rich authentic broths", "Premium noodle quality", "Fresh ingredient toppings" ] }, { - id: "japanese-beer", title: "Japanese Beer & Drinks", price: "From $4.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/elevated-view-fish-ball-soup-with-rice-sauces-noodles_23-2148093236.jpg?_wi=2", imageAlt: "Japanese beverage selection", button: { text: "See Drinks", href: "#menu" }, + id: "japanese-beer", title: "Japanese Beer & Drinks", price: "From $4.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/elevated-view-fish-ball-soup-with-rice-sauces-noodles_23-2148093236.jpg", imageAlt: "Japanese beverage selection", button: { text: "See Drinks", href: "#menu" }, features: [ "Premium Japanese imports", "Craft beer selection", "Traditional sake", "House specialty cocktails" ] }, { - id: "small-plates", title: "Small Plates & Appetizers", price: "From $6.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/homemade-asian-japanese-food-with-sauce-wooden-spoon-sesame-seeds-white-backdrop_23-2148123709.jpg?_wi=2", imageAlt: "Small plates appetizers", button: { text: "See Appetizers", href: "#menu" }, + id: "small-plates", title: "Small Plates & Appetizers", price: "From $6.95", period: "Happy Hour Price", imageSrc: "http://img.b2bpic.net/free-photo/homemade-asian-japanese-food-with-sauce-wooden-spoon-sesame-seeds-white-backdrop_23-2148123709.jpg", imageAlt: "Small plates appetizers", button: { text: "See Appetizers", href: "#menu" }, features: [ "Gyoza dumplings", "Edamame", "Spring rolls", "Seasonal vegetables" ] @@ -200,4 +200,4 @@ 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..d12a164 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + 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); - +const SvgTextLogo: React.FC = ({ + text, + fontSize = 48, + fontWeight = 'bold', + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;