diff --git a/src/app/page.tsx b/src/app/page.tsx index a28d7bc..553f43e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="compact" sizing="large" - background="aurora" + background="circleGradient" cardStyle="glass-depth" primaryButtonStyle="double-inset" secondaryButtonStyle="radial-glow" @@ -46,7 +46,7 @@ export default function LandingPage() { tag="Artisan Excellence" title="Fresh Baked Happiness Every Morning" description="Artisan donuts, warm cinnamon rolls, and specialty coffee made with love. Experience the warmth and kindness of Eats Bakery & Coffee." - background={{ variant: "aurora" }} + background={{ variant: "plain" }} imageSrc="http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg" imageAlt="Fresh baked pastries and specialty coffee at Eats Bakery & Coffee" tagAnimation="slide-up" @@ -85,7 +85,7 @@ export default function LandingPage() { id: "5", name: "Iced Matcha Latte", price: "$6.00", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23337.jpg", imageAlt: "Iced matcha latte with vanilla and premium presentation" }, { - id: "6", name: "Chocolate Croissant", price: "$4.75", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg?_wi=1", imageAlt: "Buttery chocolate croissant with artisan touch" + id: "6", name: "Chocolate Croissant", price: "$4.75", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg", imageAlt: "Buttery chocolate croissant with artisan touch" } ]} /> @@ -141,11 +141,11 @@ export default function LandingPage() { features={[ { id: 1, - title: "Incredible Quality", description: "Every item is crafted with premium ingredients and artisan techniques. Freshness and excellence in every bite.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg?_wi=2" + title: "Incredible Quality", description: "Every item is crafted with premium ingredients and artisan techniques. Freshness and excellence in every bite.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg" }, { id: 2, - title: "Friendly Service", description: "Our team treats every guest like family. Genuine hospitality and warm welcomes are our specialty.", imageSrc: "http://img.b2bpic.net/free-photo/croissants-tray_23-2147985149.jpg?_wi=1" + title: "Friendly Service", description: "Our team treats every guest like family. Genuine hospitality and warm welcomes are our specialty.", imageSrc: "http://img.b2bpic.net/free-photo/croissants-tray_23-2147985149.jpg" }, { id: 3, @@ -190,13 +190,13 @@ export default function LandingPage() { animationType="slide-up" blogs={[ { - id: "1", category: "Pastries", title: "Our Signature Donuts", excerpt: "Handcrafted glazes and fresh flavors that define our collection.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg?_wi=3", imageAlt: "Artisan donut display", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" + id: "1", category: "Pastries", title: "Our Signature Donuts", excerpt: "Handcrafted glazes and fresh flavors that define our collection.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sweets-are-served-gold-tray_8353-10483.jpg", imageAlt: "Artisan donut display", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" }, { id: "2", category: "Beverages", title: "Specialty Coffee Moments", excerpt: "Expertly crafted drinks that elevate your coffee experience.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-human-hand-holding-latte-coffee-cup-wooden-surface_23-2148209304.jpg", imageAlt: "Latte art and specialty coffee", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" }, { - id: "3", category: "Ambiance", title: "Cozy Café Space", excerpt: "Your perfect place to relax, connect, and savor the moment.", imageSrc: "http://img.b2bpic.net/free-photo/croissants-tray_23-2147985149.jpg?_wi=2", imageAlt: "Interior seating area", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" + id: "3", category: "Ambiance", title: "Cozy Café Space", excerpt: "Your perfect place to relax, connect, and savor the moment.", imageSrc: "http://img.b2bpic.net/free-photo/croissants-tray_23-2147985149.jpg", imageAlt: "Interior seating area", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" }, { id: "4", category: "Fresh Baked", title: "Morning Fresh Arrivals", excerpt: "Daily selections prepared with passion and expertise.", imageSrc: "http://img.b2bpic.net/free-photo/sweet-tasty-pastry-black-board_114579-83365.jpg", imageAlt: "Fresh pastries display", authorName: "Eats Team", authorAvatar: "http://img.b2bpic.net/free-photo/delicious-donuts-arrangement_23-2148536870.jpg", date: "Today" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..182cb9a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,42 @@ -"use client"; +import { 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"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; + letterSpacing?: number; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export default function SvgTextLogo({ + text, + fontSize = 48, + fontFamily = 'inherit', + fontWeight = 'bold', + fill = 'currentColor', + letterSpacing = 0, + ...props +}: SvgTextLogoProps) { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +} \ No newline at end of file