diff --git a/src/app/page.tsx b/src/app/page.tsx index 6a3b897..5b5cd3b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="soft" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="layered" @@ -46,7 +46,7 @@ export default function LandingPage() { title="Manage Your Bakery with Ease" description="A powerful platform to organize, track, and manage all your bakery items. From fresh pastries to artisan breads, keep everything organized in one place." tag="Bakery Management" - background={{ variant: "aurora" }} + background={{ variant: "canvas-reveal" }} imageSrc="http://img.b2bpic.net/free-photo/laptop-other-objects-ready-father-s-day_23-2147632063.jpg" imageAlt="BakeHub Dashboard" buttons={[ @@ -86,13 +86,13 @@ export default function LandingPage() { features={[ { id: 1, - title: "Inventory Management", description: "Track all your bakery items in real-time. Monitor stock levels, expiration dates, and quantities with ease.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-vector/banking-app-interface-concept_23-2148592792.jpg?_wi=1" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461356.jpg?_wi=1" } + title: "Inventory Management", description: "Track all your bakery items in real-time. Monitor stock levels, expiration dates, and quantities with ease.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-vector/banking-app-interface-concept_23-2148592792.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461356.jpg" } }, { id: 2, - title: "Sales Analytics", description: "Visualize your sales performance with detailed charts and metrics. Understand customer preferences and optimize your offerings.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461356.jpg?_wi=2" }, - phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/banking-app-interface-concept_23-2148592792.jpg?_wi=2" } + title: "Sales Analytics", description: "Visualize your sales performance with detailed charts and metrics. Understand customer preferences and optimize your offerings.", phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/business-person-looking-finance-graphs_23-2150461356.jpg" }, + phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/banking-app-interface-concept_23-2148592792.jpg" } } ]} showStepNumbers={true} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b34bbcc 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging'; } -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 = 24, + fontFamily = 'sans-serif', + fontWeight = 'bold', + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file