Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 15:44:33 +00:00
2 changed files with 30 additions and 40 deletions

View File

@@ -21,7 +21,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="mediumLarge"
sizing="largeSmallSizeMediumTitles"
background="floatingGradient"
background="circleGradient"
cardStyle="gradient-radial"
primaryButtonStyle="double-inset"
secondaryButtonStyle="layered"
@@ -45,7 +45,7 @@ export default function LandingPage() {
<HeroBillboard
title="Drive Traffic & Rankings with Strategic SEO"
description="We combine data-driven SEO strategies with creative web design to help businesses dominate search results and convert visitors into customers."
background={{ variant: "floatingGradient" }}
background={{ variant: "sparkles-gradient" }}
tag="SEO & Web Design"
tagIcon={Sparkles}
tagAnimation="slide-up"
@@ -71,9 +71,10 @@ export default function LandingPage() {
{ value: "500+", title: "Clients Served" },
{ value: "3.5M+", title: "Organic Visits Generated" }
]}
imageSrc="http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg"
imageAlt="Our team collaborating"
mediaAnimation="slide-up"
metricsAnimation="slide-up"
useInvertedBackground={false}
/>
</div>
@@ -235,9 +236,9 @@ export default function LandingPage() {
description="Let's discuss how we can help your business grow. Schedule a free consultation with our team today."
tagIcon={Phone}
tagAnimation="slide-up"
background={{ variant: "floatingGradient" }}
background={{ variant: "sparkles-gradient" }}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/group-multinational-busy-people-working-office_146671-15682.jpg"
imageAlt="Team meeting"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,40 @@
"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;
fontWeight?: 'normal' | 'bold' | 'lighter';
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 = 32,
fontWeight = 'bold',
fill = 'currentColor',
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width="auto"
height={fontSize}
viewBox={`0 0 ${text.length * 20} ${fontSize}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<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"
}}
y={fontSize * 0.75}
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
dominantBaseline="hanging"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;