diff --git a/src/app/page.tsx b/src/app/page.tsx index 46873ee..a0895b3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import TestimonialCardFifteen from '@/components/sections/testimonial/Testimonia import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; import ContactCenter from '@/components/sections/contact/ContactCenter'; import FooterBaseCard from '@/components/sections/footer/FooterBaseCard'; -import { Award, CheckCircle, Mail, Shield, Star, Users, Zap } from 'lucide-react'; +import { Award, CheckCircle, Mail, Shield, Star, Users, Zap, Sparkles } from 'lucide-react'; export default function LandingPage() { return ( @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="largeSmallSizeLargeTitles" - background="aurora" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -48,7 +48,7 @@ export default function LandingPage() { { text: 'Explore Our Work', href: 'about' }, { text: 'Get In Touch', href: 'contact' } ]} - background={{ variant: 'aurora' }} + background={{ variant: 'sparkles-gradient' }} imageSrc="http://img.b2bpic.net/free-photo/still-life-colorful-overloaded-bullet-journal_23-2150168674.jpg" imageAlt="Creative studio workspace" frameStyle="card" @@ -209,8 +209,7 @@ export default function LandingPage() { }, { id: '5', - title: 'What\'s your design process like?', - content: 'We follow a collaborative 5-phase process: Discovery, Strategy, Design, Development, and Optimization. You\'re involved at every stage to ensure alignment with your vision.' + title: "What's your design process like?", content: "We follow a collaborative 5-phase process: Discovery, Strategy, Design, Development, and Optimization. You're involved at every stage to ensure alignment with your vision." }, { id: '6', @@ -278,6 +277,3 @@ export default function LandingPage() { ); } - -// Missing import: Sparkles (from lucide-react) - adding to imports -// Note: Sparkles should be imported from lucide-react at the top \ No newline at end of file diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..433251e 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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; + fontWeight?: number | string; + fill?: 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 = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + fill = '#000000', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;