diff --git a/src/app/page.tsx b/src/app/page.tsx index 9223a2f..09bff75 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -18,7 +18,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="medium" sizing="mediumLargeSizeLargeTitles" - background="blurBottom" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="radial-glow" secondaryButtonStyle="glass" @@ -44,7 +44,7 @@ export default function LandingPage() { description="Fresh kebabs, handmade pide, gozleme and legendary HSPs — made with passion and served late." tag="Hidden Gem. Real Food. Made Fresh." tagAnimation="slide-up" - background={{ variant: "blurBottom" }} + background={{ variant: "canvas-reveal" }} imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=j28a7y" imageAlt="Freshly grilled Turkish kebab with vibrant vegetables" buttons={[ @@ -196,7 +196,7 @@ export default function LandingPage() { { text: "Visit Us Tonight", href: "contact" } ]} buttonAnimation="slide-up" - background={{ variant: "blurBottom" }} + background={{ variant: "canvas-reveal" }} useInvertedBackground={false} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3b84af8 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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); - +export default function SvgTextLogo({ text, className = '' }: SvgTextLogoProps) { return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}