diff --git a/src/app/page.tsx b/src/app/page.tsx index b3e3975..a18a32d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function SculptGlamPage() { borderRadius="rounded" contentWidth="mediumSmall" sizing="large" - background="aurora" + background="circleGradient" cardStyle="outline" primaryButtonStyle="flat" secondaryButtonStyle="glass" @@ -47,7 +47,7 @@ export default function SculptGlamPage() { { text: "Call Now: 09686623559", href: "tel:09686623559" }, { text: "Book Appointment", href: "#contact" } ]} - background={{ variant: "aurora" }} + background={{ variant: "sparkles-gradient" }} imageSrc="http://img.b2bpic.net/free-photo/cafe-with-coffee-tables-cosy-sofas-plants-shelves_140725-7785.jpg" imageAlt="Sculpt Glam Studio modern salon interior" frameStyle="card" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..1648b36 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,37 @@ -"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; } -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 = '' }) => { return ( + + + + + + - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file