diff --git a/src/app/page.tsx b/src/app/page.tsx index 6f5a738..20e6b22 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,15 +1,15 @@ "use client"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import HeroBillboardRotatedCarousel from "@/components/sections/hero/HeroBillboardRotatedCarousel"; -import FeatureBento from "@/components/sections/feature/FeatureBento"; -import TextSplitAbout from "@/components/sections/about/TextSplitAbout"; -import PricingCardTwo from "@/components/sections/pricing/PricingCardTwo"; -import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo"; -import SocialProofOne from "@/components/sections/socialProof/SocialProofOne"; -import FaqBase from "@/components/sections/faq/FaqBase"; -import FooterBase from "@/components/sections/footer/FooterBase"; +import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; +import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel'; +import FeatureBento from '@/components/sections/feature/FeatureBento'; +import TextSplitAbout from '@/components/sections/about/TextSplitAbout'; +import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo'; +import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo'; +import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; +import FaqBase from '@/components/sections/faq/FaqBase'; +import FooterBase from '@/components/sections/footer/FooterBase'; import { AlertCircle, Award, BarChart3, BookOpen, Building2, CreditCard, Globe, HelpCircle, Heart, Lightbulb, Lock, LayoutDashboard, Mail, MessageCircle, Package, Settings, ShoppingCart, Smartphone, SmilePlus, Star, Sparkles, ThumbsUp, User, Zap } from "lucide-react"; export default function LandingPage() { @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="mediumLarge" sizing="mediumLarge" - background="floatingGradient" + background="circleGradient" cardStyle="inset" primaryButtonStyle="radial-glow" secondaryButtonStyle="solid" @@ -47,7 +47,7 @@ export default function LandingPage() { tag="AI-Powered Builder" tagIcon={Sparkles} tagAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} buttons={[ { text: "Start Building Free", href: "#pricing" }, { text: "Watch Demo", href: "#" } @@ -301,4 +301,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +} diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4582324 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,55 @@ -"use client"; - -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; +import React, { useCallback, useRef } from 'react'; interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; + text?: string; + width?: number; + height?: number; + fontSize?: number; + fontFamily?: string; + fill?: string; + textAnchor?: 'start' | 'middle' | 'end'; + dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ + text = 'Logo', + width = 200, + height = 100, + fontSize = 32, + fontFamily = 'Arial, sans-serif', + fill = '#000000', + textAnchor = 'middle', + dominantBaseline = 'middle', +}) => { + const svgRef = useRef(null); + + const handleClick = useCallback(() => { + console.log('Logo clicked'); + }, []); return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;