Merge version_1 into main #1

Merged
bender merged 2 commits from version_1 into main 2026-03-12 14:12:15 +00:00
2 changed files with 26 additions and 39 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="pill"
contentWidth="medium"
sizing="mediumLargeSizeMediumTitles"
background="blurBottom"
background="circleGradient"
cardStyle="solid"
primaryButtonStyle="gradient"
secondaryButtonStyle="radial-glow"
@@ -49,7 +49,7 @@ export default function LandingPage() {
tag="ERP Transformation"
tagIcon={Sparkles}
tagAnimation="slide-up"
background={{ variant: "blurBottom" }}
background={{ variant: "canvas-reveal" }}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aqdvf0VrBXSCZYRvORMhLflFIb/a-modern-3d-isometric-view-of-an-odoo-er-1773324644331-c17abff6.png"
imageAlt="3D Odoo ERP Dashboard with workflow automation"
buttons={[
@@ -167,8 +167,8 @@ export default function LandingPage() {
<SocialProofOne
title="Trusted by Industry Leaders"
description="Manufacturing, retail, and distribution companies rely on our Odoo expertise"
logos={[
"http://img.b2bpic.net/free-vector/pack-badges-related-mechanics-gas-station_23-2147563885.jpg", "http://img.b2bpic.net/free-vector/technology-logo-template-with-abstract-shapes_23-2148240852.jpg", "http://img.b2bpic.net/free-vector/gradient-technology-logo-template-collection_23-2148217591.jpg", "http://img.b2bpic.net/free-vector/business-logo-template_1057-542.jpg", "http://img.b2bpic.net/free-vector/gradient-abstract-logo-collection_23-2148158307.jpg", "http://img.b2bpic.net/free-vector/flat-design-renewable-energy-logo_23-2150050072.jpg", "http://img.b2bpic.net/free-vector/gradient-technology-logo-template-collection_23-2148220592.jpg", "http://img.b2bpic.net/free-vector/logotype_23-2148152992.jpg"
names={[
"Acme Corp", "TechFlow", "Innovate Inc", "Distribution Hub", "Retail Solutions", "Operations Pro", "Nexus Systems", "Synergy Partners"
]}
textboxLayout="default"
useInvertedBackground={false}

View File

@@ -1,51 +1,38 @@
"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;
textClassName?: string;
animationDuration?: number;
}
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 = '',
textClassName = '',
animationDuration = 3,
}) => {
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 300 100"
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="middle"
className={`text-2xl font-bold ${textClassName}`}
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
animation: `fadeIn ${animationDuration}s ease-in`,
}}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;