diff --git a/src/app/page.tsx b/src/app/page.tsx index 43dd337..350ba20 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="smallMedium" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="layered" @@ -43,14 +43,14 @@ export default function LandingPage() { @@ -63,15 +63,15 @@ export default function LandingPage() { features={[ { id: "1", title: "Fresh, Flavorful Dishes", tags: ["Daily Sourced", "Artisan Prepared"], - imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg?_wi=1", imageAlt: "Fresh, flavorful dishes" + imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg", imageAlt: "Fresh, flavorful dishes" }, { id: "2", title: "Warm, Attentive Service", tags: ["Hospitable Staff", "Guest First"], - imageSrc: "http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg?_wi=1", imageAlt: "Warm, attentive service" + imageSrc: "http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg", imageAlt: "Warm, attentive service" }, { id: "3", title: "Calm Luxe Ambience", tags: ["Elegant Design", "Relaxing Space"], - imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg?_wi=1", imageAlt: "Calm luxe ambience" + imageSrc: "http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg", imageAlt: "Calm luxe ambience" } ]} animationType="slide-up" @@ -87,11 +87,11 @@ export default function LandingPage() { products={[ { id: "1", brand: "Specialty", name: "Hyderabadi Chicken Biryani", price: "₾20", rating: 5, - reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg?_wi=2", imageAlt: "Hyderabadi chicken biryani with aromatic saffron rice" + reviewCount: "487", imageSrc: "http://img.b2bpic.net/free-photo/chicken-salad-with-vegetables-potato-chips-plate_140725-9207.jpg", imageAlt: "Hyderabadi chicken biryani with aromatic saffron rice" }, { id: "2", brand: "Specialty", name: "Slow-Cooked Beef Curry", price: "₾18", rating: 5, - reviewCount: "342", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg?_wi=2", imageAlt: "Tender slow-cooked beef curry perfectly spiced" + reviewCount: "342", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pilaf-cooked-rice-with-meat-slices-salt-dark-surface_179666-34443.jpg", imageAlt: "Tender slow-cooked beef curry perfectly spiced" }, { id: "3", brand: "Specialty", name: "Hyderabadi Beef Biryani", price: "₾22", rating: 5, @@ -133,7 +133,7 @@ export default function LandingPage() { description="Chef's Vision" subdescription="Elakka Restaurant, Tbilisi" icon={Heart} - imageSrc="http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/antique-ceiling-lamp_1203-804.jpg" imageAlt="Elakka Restaurant interior showing calm luxe ambience" mediaAnimation="slide-up" useInvertedBackground={false} @@ -151,7 +151,7 @@ export default function LandingPage() { { name: "date", type: "date", placeholder: "Preferred Date", required: true } ]} textarea={{ name: "notes", placeholder: "Dietary preferences or special requests...", rows: 4, required: false }} - imageSrc="http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/girl-enjoying-christmas-dinner-with-her-family_23-2149144963.jpg" imageAlt="Group dining at Elakka Restaurant" mediaAnimation="slide-up" mediaPosition="right" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e6358f2 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,31 @@ -"use client"; +import React, { 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; 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, className = '', ...props }) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;