diff --git a/src/app/page.tsx b/src/app/page.tsx index da04e2a..becc176 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="medium" - background="floatingGradient" + background="circleGradient" cardStyle="soft-shadow" primaryButtonStyle="radial-glow" secondaryButtonStyle="glass" @@ -49,8 +49,8 @@ export default function LandingPage() { { text: "View Portfolio", href: "#testimonials" } ]} buttonAnimation="slide-up" - background={{ variant: "floatingGradient" }} - imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png?_wi=1" + background={{ variant: "sparkles-gradient" }} + imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png" imageAlt="AI chatbot and automation dashboard interface" mediaAnimation="blur-reveal" frameStyle="card" @@ -82,29 +82,29 @@ export default function LandingPage() { { title: "Conversion-Focused Web Design", description: "Premium websites engineered for results. Minimalist aesthetics paired with dynamic interactions that guide visitors toward action.", icon: Globe, mediaItems: [ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-beautiful-portfolio-website-layout-dis-1773312087195-f9a4fb71.png?_wi=1", imageAlt: "Modern portfolio website design" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-beautiful-portfolio-website-layout-dis-1773312087195-f9a4fb71.png?_wi=2", imageAlt: "Responsive web design mockup" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-beautiful-portfolio-website-layout-dis-1773312087195-f9a4fb71.png", imageAlt: "Modern portfolio website design" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-beautiful-portfolio-website-layout-dis-1773312087195-f9a4fb71.png", imageAlt: "Responsive web design mockup" } ] }, { title: "AI Chatbot Development", description: "Intelligent conversational AI that handles customer support 24/7, reduces support costs, and improves customer satisfaction automatically.", icon: MessageSquare, mediaItems: [ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/an-ai-chatbot-conversation-interface-sho-1773312088089-c67666a2.png?_wi=1", imageAlt: "AI chatbot conversation interface" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/an-ai-chatbot-conversation-interface-sho-1773312088089-c67666a2.png?_wi=2", imageAlt: "Customer support automation" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/an-ai-chatbot-conversation-interface-sho-1773312088089-c67666a2.png", imageAlt: "AI chatbot conversation interface" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/an-ai-chatbot-conversation-interface-sho-1773312088089-c67666a2.png", imageAlt: "Customer support automation" } ] }, { title: "Workflow Automation", description: "Custom automation solutions that eliminate manual tasks, reduce no-shows, streamline bookings, and connect your entire business ecosystem.", icon: Zap, mediaItems: [ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-visual-workflow-diagram-showing-automa-1773312086996-ab381fcf.png?_wi=1", imageAlt: "Automation workflow diagram" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-visual-workflow-diagram-showing-automa-1773312086996-ab381fcf.png?_wi=2", imageAlt: "Business process automation" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-visual-workflow-diagram-showing-automa-1773312086996-ab381fcf.png", imageAlt: "Automation workflow diagram" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-visual-workflow-diagram-showing-automa-1773312086996-ab381fcf.png", imageAlt: "Business process automation" } ] }, { title: "End-to-End Digital Transformation", description: "Full-stack solutions combining design, development, and automation. Modernize your digital presence and operational efficiency simultaneously.", icon: Layers, mediaItems: [ - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png?_wi=2", imageAlt: "Complete digital transformation dashboard" }, - { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png?_wi=3", imageAlt: "Integrated system interface" } + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png", imageAlt: "Complete digital transformation dashboard" }, + { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqF4rHQODlg99ejhCtCITlkduf/a-modern-sleek-dashboard-interface-showi-1773312088714-2aeeefd7.png", imageAlt: "Integrated system interface" } ] } ]} @@ -179,7 +179,7 @@ export default function LandingPage() { { text: "Book a Consultation", href: "mailto:hello@nithinkrishna.dev" }, { text: "Schedule a Call", href: "#" } ]} - background={{ variant: "floatingGradient" }} + background={{ variant: "sparkles-gradient" }} useInvertedBackground={false} ariaLabel="Contact call to action section" /> diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..cc636e3 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,53 @@ -"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; + fontFamily?: string; + fontWeight?: number | string; + letterSpacing?: number; + lineHeight?: 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 = 48, + fontFamily = 'Arial, sans-serif', + fontWeight = 'bold', + letterSpacing = 0, + lineHeight = 1.2, + fill = 'currentColor', +}) => { + const words = text.split(' '); + const lineHeight_px = fontSize * lineHeight; + const totalHeight = words.length * lineHeight_px; return ( - - {logoText} - + {words.map((word, index) => ( + + {word} + + ))} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file