Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 09:15:52 +00:00
2 changed files with 21 additions and 38 deletions

View File

@@ -78,7 +78,6 @@ export default function LandingPage() {
description="Comprehensive branding and marketing solutions tailored to help your business stand out and grow."
tag="What We Offer"
textboxLayout="default"
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
useInvertedBackground={false}
products={[
@@ -99,6 +98,7 @@ export default function LandingPage() {
reviewCount: "200+", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aq4GR4KjFwRGVJPZ4lPalKUGgE/a-modern-responsive-website-design-displ-1773306862908-ee92e1a2.png", imageAlt: "Professional website development service"
}
]}
gridVariant="three-columns-all-equal-width"
/>
</div>
@@ -128,7 +128,6 @@ export default function LandingPage() {
title="Our Process"
description="A streamlined approach from research to launch, ensuring your brand gets the attention it deserves."
tag="How We Work"
gridVariant="uniform-all-items-equal"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
@@ -146,6 +145,7 @@ export default function LandingPage() {
id: "4", value: "4", title: "Launch", description: "Strategic launch with analytics and performance tracking", icon: Rocket
}
]}
gridVariant="uniform-all-items-equal"
/>
</div>
@@ -154,7 +154,6 @@ export default function LandingPage() {
title="Results & Impact"
description="How strong branding helps businesses grow. See what our clients have achieved."
tag="Success Stories"
gridVariant="uniform-all-items-equal"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
@@ -186,7 +185,6 @@ export default function LandingPage() {
tag="Get Started"
title="Let's Elevate Your Business"
description="Ready to take your brand to the next level? Get in touch with our team today for a free consultation. Let's discuss how we can help you scale your brand the smart way."
tagIcon={undefined}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="/placeholders/placeholder1.webp"

View File

@@ -1,51 +1,36 @@
"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;
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging';
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
text,
className = '',
dominantBaseline = 'middle',
}) => {
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 1200 200"
className={className}
preserveAspectRatio="xMidYMid meet"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline={dominantBaseline}
className="text-4xl font-bold fill-foreground"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
fontSize: 'clamp(2rem, 8vw, 5rem)',
}}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;