Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-13 09:41:54 +00:00
2 changed files with 26 additions and 41 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="medium"
sizing="medium"
background="aurora"
background="circleGradient"
cardStyle="layered-gradient"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
@@ -44,7 +44,7 @@ export default function LandingPage() {
<HeroSplitKpi
title="Crafting Digital Experiences That Inspire"
description="We design and build extraordinary digital products for ambitious brands. Transform your vision into reality with our expertise in web design, development, and creative strategy."
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
kpis={[
{ value: "250+", label: "Projects Delivered" },
{ value: "15+", label: "Years Experience" },
@@ -61,7 +61,7 @@ export default function LandingPage() {
buttonAnimation="slide-up"
tag="Award-Winning Agency"
tagIcon={Sparkles}
tagAnimation="fade-in"
tagAnimation="slide-up"
/>
</div>
@@ -237,7 +237,7 @@ export default function LandingPage() {
<ContactText
text="Ready to bring your creative vision to life? Let's collaborate and create something extraordinary together. Reach out today and let's start the conversation."
animationType="entrance-slide"
background={{ variant: "aurora" }}
background={{ variant: "glowing-orb" }}
useInvertedBackground={false}
buttons={[
{ text: "Start a Project", href: "#" },

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;
fontSize?: number;
fontWeight?: number | string;
fill?: string;
[key: string]: any;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
export default function SvgTextLogo({
text,
className = "", fontSize = 24,
fontWeight = "bold", fill = "currentColor", ...props
}: SvgTextLogoProps) {
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 ${text.length * fontSize} ${fontSize * 1.5}`}
className={`${className}`}
xmlns="http://www.w3.org/2000/svg"
{...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"
}}
y="0"
fontSize={fontSize}
fontWeight={fontWeight}
fill={fill}
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
}