diff --git a/src/app/page.tsx b/src/app/page.tsx index e1ed765..e43eaea 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="smallMedium" sizing="mediumSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="radial-glow" secondaryButtonStyle="glass" @@ -43,7 +43,7 @@ export default function LandingPage() { description="Specialty coffee, handcrafted surfboards, and natural wine in the heart of Lagos, Portugal. A hub where craft, community, and coastal living converge." tag="Lagos, Portugal" tagIcon={Coffee} - background={{ variant: "aurora" }} + background={{ variant: "glowing-orb" }} kpis={[ { value: "Since 2018", label: "Crafting Excellence" }, { value: "100%", label: "Sustainable Sourcing" }, diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e2e0e75 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,36 @@ -"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; + fillColor?: string; + fontSize?: number; } -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 = '', + fillColor = 'currentColor', + fontSize = 24, +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file