diff --git a/src/app/page.tsx b/src/app/page.tsx index cfc1dc7..74aac5b 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="largeSizeMediumTitles" - background="floatingGradient" + background="circleGradient" cardStyle="solid" primaryButtonStyle="primary-glow" secondaryButtonStyle="layered" @@ -46,18 +46,18 @@ export default function LandingPage() { tagAnimation="slide-up" title="Discover Your Style" description="Curated fashion for those who dare to be different. Explore our premium collection of contemporary clothing designed for confidence and elegance." - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} leftCarouselItems={[ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=z8wg2p&_wi=1", imageAlt: "Fashion collection display 1" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y0w95o&_wi=1", imageAlt: "Fashion collection display 2" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=74h42o&_wi=1", imageAlt: "Fashion collection display 3" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=bu89hj&_wi=1", imageAlt: "Fashion collection display 4" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=z8wg2p", imageAlt: "Fashion collection display 1" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y0w95o", imageAlt: "Fashion collection display 2" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=74h42o", imageAlt: "Fashion collection display 3" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=bu89hj", imageAlt: "Fashion collection display 4" } ]} rightCarouselItems={[ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y0w95o&_wi=2", imageAlt: "Fashion showcase 1" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=74h42o&_wi=2", imageAlt: "Fashion showcase 2" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=bu89hj&_wi=2", imageAlt: "Fashion showcase 3" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=z8wg2p&_wi=2", imageAlt: "Fashion showcase 4" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y0w95o", imageAlt: "Fashion showcase 1" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=74h42o", imageAlt: "Fashion showcase 2" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=bu89hj", imageAlt: "Fashion showcase 3" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=z8wg2p", imageAlt: "Fashion showcase 4" } ]} buttons={[ { text: "Shop Collection", href: "products" }, @@ -150,7 +150,7 @@ export default function LandingPage() { tagAnimation="slide-up" title="Stay Updated with Latest Collections" description="Subscribe to our newsletter for exclusive launches, style tips, and special offers delivered straight to your inbox" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} useInvertedBackground={false} inputPlaceholder="Enter your email" buttonText="Subscribe" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..7b5e137 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,43 @@ -"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; + 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); - +export const SvgTextLogo: React.FC = ({ + text, + className = '', + fontSize = 24, + fontFamily = 'system-ui, -apple-system, sans-serif', + fill = 'currentColor', + textAnchor = 'middle', + dominantBaseline = 'central', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;