diff --git a/src/app/page.tsx b/src/app/page.tsx
index 435b09d..3bd54e5 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -9,7 +9,7 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
-import { Anchor, Award, Boat, BookOpen, ChefHat, Check, Flame, Gauge, Heart, Shield, Star, Users, Utensils, Wine, Waves, Zap } from 'lucide-react';
+import { Anchor, Award, Bot, BookOpen, ChefHat, Check, Flame, Gauge, Heart, Shield, Star, Users, Utensils, Wine, Waves, Zap } from 'lucide-react';
export default function LandingPage() {
return (
@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="rounded"
contentWidth="compact"
sizing="largeSizeMediumTitles"
- background="aurora"
+ background="circleGradient"
cardStyle="outline"
primaryButtonStyle="flat"
secondaryButtonStyle="layered"
@@ -44,7 +44,7 @@ export default function LandingPage() {
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..70dceb2 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,52 @@
-"use client";
-
-import { memo } from "react";
-import useSvgTextLogo from "./useSvgTextLogo";
-import { cls } from "@/lib/utils";
+import React, { useRef, useEffect } from 'react';
interface SvgTextLogoProps {
- logoText: string;
- adjustHeightFactor?: number;
- verticalAlign?: "top" | "center";
+ text: string;
+ fontSize?: number;
+ fontFamily?: string;
+ fill?: 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,
+ fontSize = 48,
+ fontFamily = 'Arial, sans-serif',
+ fill = 'currentColor',
+ className = '',
+}) => {
+ const svgRef = useRef(null);
+
+ useEffect(() => {
+ if (svgRef.current) {
+ const textElement = svgRef.current.querySelector('text');
+ if (textElement) {
+ const bbox = textElement.getBBox();
+ svgRef.current.setAttribute('viewBox', `${bbox.x} ${bbox.y} ${bbox.width} ${bbox.height}`);
+ }
+ }
+ }, [text]);
return (
);
-});
+};
-SvgTextLogo.displayName = "SvgTextLogo";
-
-export default SvgTextLogo;
+export default SvgTextLogo;
\ No newline at end of file