diff --git a/src/app/page.tsx b/src/app/page.tsx
index 2021f42..83d9abe 100644
--- a/src/app/page.tsx
+++ b/src/app/page.tsx
@@ -1,6 +1,6 @@
"use client";
-import { Building2, CheckCircle, Leaf, Shield, Sparkles, Wind, Zap } from "lucide-react";
+import { Building2, CheckCircle, Home, Leaf, Shield, Sparkles, Wind, Zap } from "lucide-react";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import TextAbout from '@/components/sections/about/TextAbout';
@@ -15,7 +15,7 @@ export default function LandingPage() {
return (
@@ -78,7 +78,7 @@ export default function LandingPage() {
title: "Deep Cleaning", description: "Intensive cleaning including all corners and hard-to-reach areas"
},
{
- icon: Building2,
+ icon: Home,
title: "Move-Out Cleaning", description: "Complete turnover cleaning for rental apartments and properties"
},
{
diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
index f214190..4425276 100644
--- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
+++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx
@@ -1,51 +1,58 @@
-"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;
+ textClassName?: string;
+ fillColor?: string;
+ strokeColor?: string;
+ strokeWidth?: number;
+ fontSize?: number;
+ fontWeight?: number | string;
+ fontFamily?: string;
+ letterSpacing?: number;
+ textAnchor?: 'start' | 'middle' | 'end';
+ 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 = '',
+ textClassName = '',
+ fillColor = 'currentColor',
+ strokeColor = 'none',
+ strokeWidth = 0,
+ fontSize = 48,
+ fontWeight = 700,
+ fontFamily = 'sans-serif',
+ letterSpacing = 0,
+ textAnchor = 'middle',
+ dominantBaseline = 'middle',
+}) => {
return (
);
-});
-
-SvgTextLogo.displayName = "SvgTextLogo";
+};
export default SvgTextLogo;