From c2f63ea4787812b6c1b0981d031c8d59d519aaa7 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 02:55:15 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9f9bf02..d8b1b1e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,14 +1,14 @@ "use client"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; -import HeroCarouselLogo from "@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo"; -import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard"; -import FeatureCardTwentyThree from "@/components/sections/feature/FeatureCardTwentyThree"; -import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo"; -import TeamCardTwo from "@/components/sections/team/TeamCardTwo"; -import ContactFaq from "@/components/sections/contact/ContactFaq"; -import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; +import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen'; +import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo'; +import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard'; +import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree'; +import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; +import TeamCardTwo from '@/components/sections/team/TeamCardTwo'; +import ContactFaq from '@/components/sections/contact/ContactFaq'; +import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; import { Calendar, Scissors, Instagram, Facebook } from "lucide-react"; export default function LandingPage() { @@ -29,7 +29,7 @@ export default function LandingPage() { Date: Fri, 13 Mar 2026 02:55:15 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..6945f76 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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; + letterSpacing?: number; + fill?: 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, + className = '', + fontSize = 80, + fontWeight = 700, + letterSpacing = 2, + fill = 'currentColor', +}) => { + const estimatedWidth = text.length * (fontSize * 0.6); + const estimatedHeight = fontSize * 1.2; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1