diff --git a/src/app/page.tsx b/src/app/page.tsx index 94eda82..1a31b6e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="smallMedium" sizing="medium" - background="aurora" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="flat" secondaryButtonStyle="glass" @@ -47,7 +47,7 @@ export default function LandingPage() { @@ -118,8 +119,7 @@ export default function LandingPage() { title: "Acrylic Extensions", description: "Professional sculpting for dramatic length, strength, and endless design possibilities.", bentoComponent: "map" }, { - title: "Nail Art", description: "Creative, hand-painted designs tailored to your vision and style.", bentoComponent: "marquee", centerIcon: Palette, - variant: "text", texts: ["Custom Designs", "Artistic Expression", "Seasonal Trends", "Personal Style"] + title: "Nail Art", description: "Creative, hand-painted designs tailored to your vision and style.", bentoComponent: "marquee", centerIcon: Palette, variant: "text", texts: ["Custom Designs", "Artistic Expression", "Seasonal Trends", "Personal Style"] } ]} ariaLabel="Services section" @@ -143,13 +143,13 @@ export default function LandingPage() { id: "2", name: "Toks", role: "Specialist Nail Technician", imageSrc: "http://img.b2bpic.net/free-photo/lovely-art-composition-with-happy-female-model_23-2147868249.jpg", imageAlt: "Toks, specialist nail technician" }, { - id: "3", name: "Elena", role: "Nail Design Expert", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-orange-dough-fingers_1208-321.jpg?_wi=1", imageAlt: "Elena, nail design expert" + id: "3", name: "Elena", role: "Nail Design Expert", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-orange-dough-fingers_1208-321.jpg", imageAlt: "Elena, nail design expert" }, { id: "4", name: "Sepid", role: "Luxury Nail Technician", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-posing-cv_23-2149927554.jpg", imageAlt: "Sepid, luxury nail technician" }, { - id: "5", name: "Afro", role: "Master Nail Artist", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-orange-dough-fingers_1208-321.jpg?_wi=2", imageAlt: "Afro, master nail artist" + id: "5", name: "Afro", role: "Master Nail Artist", imageSrc: "http://img.b2bpic.net/free-photo/woman-with-orange-dough-fingers_1208-321.jpg", imageAlt: "Afro, master nail artist" } ]} ariaLabel="Team section" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6a076f7 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"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; + dominantBaseline?: 'auto' | 'text-top' | 'middle' | 'central' | 'text-bottom' | 'ideographic' | 'hanging' | 'mathematical' | 'baseline'; } -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 = '', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file