diff --git a/src/app/page.tsx b/src/app/page.tsx
index 3d22baf..fa04efb 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="small"
sizing="mediumLargeSizeMediumTitles"
- background="circleGradient"
+ background="plain"
cardStyle="subtle-shadow"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -43,7 +43,7 @@ export default function LandingPage() {
@@ -172,7 +172,7 @@ export default function LandingPage() {
title="Order Your Cake Today"
description="Don't wait for the perfect cake to come to you. Subscribe to our newsletter for exclusive offers, new flavors, and cake decorating tips!"
tagIcon={Mail}
- tagAnimation="entrance-slide"
+ tagAnimation="slide-up"
background={{ variant: "radial-gradient" }}
useInvertedBackground={false}
inputPlaceholder="Enter your email"
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..3696a87 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?: number | string;
+ fill?: string;
+ textAnchor?: 'start' | 'middle' | 'end';
+ dominantBaseline?: 'auto' | 'middle' | '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 = 700,
+ fill = 'currentColor',
+ textAnchor = 'middle',
+ dominantBaseline = 'middle',
+}) => {
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;