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() { (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