Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 10:43:04 +00:00
2 changed files with 53 additions and 51 deletions

View File

@@ -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"
/>

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
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 (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox={`0 0 1000 ${totalHeight + 50}`}
className={className}
preserveAspectRatio="xMinYMin meet"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
>
{logoText}
</text>
{words.map((word, index) => (
<text
key={index}
x="50"
y={50 + index * lineHeight_px + fontSize}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill={fill}
dominantBaseline="middle"
>
{word}
</text>
))}
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;