diff --git a/src/app/page.tsx b/src/app/page.tsx index 4775ae0..08264f8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,14 +1,14 @@ "use client" import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; -import HeroSplitDualMedia from "@/components/sections/hero/HeroSplitDualMedia"; -import ProductCardThree from "@/components/sections/product/ProductCardThree"; -import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven"; -import MetricCardThree from "@/components/sections/metrics/MetricCardThree"; -import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen"; -import ContactText from "@/components/sections/contact/ContactText"; -import FooterBase from "@/components/sections/footer/FooterBase"; +import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; +import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia'; +import ProductCardThree from '@/components/sections/product/ProductCardThree'; +import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven'; +import MetricCardThree from '@/components/sections/metrics/MetricCardThree'; +import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen'; +import ContactText from '@/components/sections/contact/ContactText'; +import FooterBase from '@/components/sections/footer/FooterBase'; import { Sparkles, Trophy, Users, Package, CheckCircle } from "lucide-react"; export default function LandingPage() { @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="large" - background="grid" + background="circleGradient" cardStyle="outline" primaryButtonStyle="primary-glow" secondaryButtonStyle="glass" @@ -63,7 +63,6 @@ export default function LandingPage() { tagAnimation="slide-up" buttonAnimation="slide-up" mediaAnimation="slide-up" - useInvertedBackground={false} /> @@ -209,7 +208,7 @@ export default function LandingPage() { { text: "Shop Now", href: "#products" }, { text: "Contact Us", href: "#footer" } ]} - background={{ variant: "grid" }} + background={{ variant: "plain" }} useInvertedBackground={true} /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..669958a 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,40 @@ -"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; + fontSize?: number; + fontFamily?: string; + fillColor?: 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 = 24, + fontFamily = 'Arial', + fillColor = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file