Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-11 16:01:27 +00:00
2 changed files with 27 additions and 41 deletions

View File

@@ -10,7 +10,7 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { DollarSign, LayoutGrid, MapPin, Mobile, Smartphone, TrendingUp, Zap } from 'lucide-react';
import { DollarSign, LayoutGrid, MapPin, Smartphone, TrendingUp, Zap } from 'lucide-react';
export default function LandingPage() {
return (
@@ -48,7 +48,7 @@ export default function LandingPage() {
tag="Mobile App Development"
tagIcon={Smartphone}
tagAnimation="slide-up"
background={{ variant: "circleGradient" }}
background={{ variant: "glowing-orb" }}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ao0PXCGG2QzDPiPxawDLQ0I0Mf/modern-mobile-app-mockups-displaying-thr-1773244794347-76450a3e.png"
imageAlt="Mobile app mockups for gym, charter, and restaurant booking apps"
imagePosition="right"
@@ -102,7 +102,7 @@ export default function LandingPage() {
title="Why Your Business Needs a Mobile App"
description="Direct bookings, push notifications, faster payments"
subdescription="Apps drive retention and brand authority"
icon={Mobile}
icon={Smartphone}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ao0PXCGG2QzDPiPxawDLQ0I0Mf/clean-modern-mobile-app-interface-mockup-1773244793287-947b1cee.png"
imageAlt="Mobile app showing benefits like direct bookings, payments, and customer engagement"
mediaAnimation="blur-reveal"
@@ -192,7 +192,7 @@ export default function LandingPage() {
<ContactText
text="Ready to Transform Your Business? Get Your Mobile App Built Today"
animationType="entrance-slide"
background={{ variant: "circleGradient" }}
background={{ variant: "glowing-orb" }}
useInvertedBackground={false}
buttons={[
{ text: "Schedule Free Discovery Call", href: "#" },

View File

@@ -1,51 +1,37 @@
"use client";
import React, { SVGProps } from "react";
import { memo } from "react";
import useSvgTextLogo from "./useSvgTextLogo";
import { cls } from "@/lib/utils";
interface SvgTextLogoProps {
logoText: string;
adjustHeightFactor?: number;
verticalAlign?: "top" | "center";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text?: string;
size?: number;
className?: 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 = "WEBILD", size = 48,
className = "", ...props
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={size}
height={size}
viewBox={`0 0 ${size} ${size}`}
xmlns="http://www.w3.org/2000/svg"
className={className}
{...props}
>
<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"
}}
x="50%"
y="50%"
fontSize={size * 0.6}
fontWeight="bold"
textAnchor="middle"
dominantBaseline="middle"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;