diff --git a/src/app/page.tsx b/src/app/page.tsx index 7db94d6..14b5989 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,7 +14,7 @@ export default function LandingPage() { return ( @@ -132,7 +132,7 @@ export default function LandingPage() { { title: 'Pulsating Holographic Sphere', description: 'Watch the glowing 3D sphere respond to your voice with real-time visual feedback. Cyan pulses for recognition, purple accents for emphasis.', - imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsRdiuN0cWhrc4IdHRMVZViIon/a-large-centered-glassmorphic-glass-card-1773379451197-c4a915e8.png?_wi=2', + imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsRdiuN0cWhrc4IdHRMVZViIon/a-large-centered-glassmorphic-glass-card-1773379451197-c4a915e8.png', imageAlt: 'Holographic Coach Sphere' }, { @@ -182,8 +182,7 @@ export default function LandingPage() { id: '4', name: 'Elena Rossi', handle: '@elenrossi_design', - testimonial: 'The glassmorphic UI is breathtaking. Not just beautiful—it\'s functional and intuitive. Learning English has never felt this elegant and professional.', - rating: 5, + testimonial: "The glassmorphic UI is breathtaking. Not just beautiful—it's functional and intuitive. Learning English has never felt this elegant and professional.", rating: 5, imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsRdiuN0cWhrc4IdHRMVZViIon/professional-headshot-of-a-diverse-profe-1773379453011-8dfae02d.png', imageAlt: 'Elena Rossi' } diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..2a6be30 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; + fontWeight?: string | number; + fill?: string; + 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, + fontWeight = 600, + fill = 'currentColor', + dominantBaseline = 'middle', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file