diff --git a/src/app/page.tsx b/src/app/page.tsx index c82b31e..73649d7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -49,7 +49,7 @@ export default function LandingPage() { { text: "Learn More", href: "about" } ]} buttonAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/natural-jojoba-oil-composition_23-2149047761.jpg" imageAlt="Premium skincare products" mediaAnimation="slide-up" @@ -84,7 +84,7 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "1", name: "Radiant Hydration Moisturizer", price: "$58", imageSrc: "http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242136.jpg?_wi=1", imageAlt: "Hydration moisturizer jar" + id: "1", name: "Radiant Hydration Moisturizer", price: "$58", imageSrc: "http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242136.jpg", imageAlt: "Hydration moisturizer jar" }, { id: "2", name: "Luminous Repair Serum", price: "$72", imageSrc: "http://img.b2bpic.net/free-photo/natural-jojoba-oil-composition_23-2149047769.jpg", imageAlt: "Repair serum bottle" @@ -178,7 +178,7 @@ export default function LandingPage() { id: "4", title: "What is your return policy?", content: "We offer a 60-day money-back guarantee on all products. If you're not completely satisfied, simply return the product for a full refund." } ]} - imageSrc="http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242136.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/close-up-skin-regeneration-products_23-2151242136.jpg" imageAlt="Premium skincare products" mediaAnimation="slide-up" mediaPosition="left" @@ -197,7 +197,7 @@ export default function LandingPage() { description="Subscribe to our newsletter for weekly skincare tips, ingredient spotlights, and exclusive discounts on new product launches." tagIcon={Mail} tagAnimation="slide-up" - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} inputPlaceholder="Enter your email address" buttonText="Subscribe" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e7880ac 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; className?: string; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + strokeWidth?: number; + stroke?: 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 = '', + fontSize = 24, + fontWeight = 700, + fill = 'currentColor', + strokeWidth = 0, + stroke = 'none', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file