Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="compact"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
tag="Montana's IT Leader Since 1965"
|
||||
tagIcon={Zap}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "animated-grid" }}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/a-modern-it-service-dashboard-showing-ne-1773281163596-e906752d.png"
|
||||
imageAlt="Modern IT service dashboard with network monitoring and cybersecurity alerts"
|
||||
buttons={[
|
||||
@@ -85,19 +85,19 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Managed IT Services", description: "Proactive monitoring, support, and optimization that keeps your business running without interruption. Real-time alerts and expert response when issues arise.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png?_wi=1", imageAlt: "Managed IT services infrastructure"
|
||||
title: "Managed IT Services", description: "Proactive monitoring, support, and optimization that keeps your business running without interruption. Real-time alerts and expert response when issues arise.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png", imageAlt: "Managed IT services infrastructure"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Cybersecurity Solutions", description: "Advanced protection to safeguard your systems, data, and reputation from digital threats. Multi-layered defense strategies tailored to your organization.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png?_wi=2", imageAlt: "Cybersecurity protection systems"
|
||||
title: "Cybersecurity Solutions", description: "Advanced protection to safeguard your systems, data, and reputation from digital threats. Multi-layered defense strategies tailored to your organization.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png", imageAlt: "Cybersecurity protection systems"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Network & Infrastructure", description: "Reliable connectivity and expertly designed systems that scale with your organization. From planning to implementation and ongoing optimization.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png?_wi=3", imageAlt: "Network infrastructure setup"
|
||||
title: "Network & Infrastructure", description: "Reliable connectivity and expertly designed systems that scale with your organization. From planning to implementation and ongoing optimization.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png", imageAlt: "Network infrastructure setup"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Document & Print Solutions", description: "Industry-leading office equipment and document management systems that improve efficiency. Solutions that work seamlessly with your existing workflows.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png?_wi=4", imageAlt: "Document and print management"
|
||||
title: "Document & Print Solutions", description: "Industry-leading office equipment and document management systems that improve efficiency. Solutions that work seamlessly with your existing workflows.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AoEmFTotL9xRtfX980w8d2d4Ht/abstract-technology-landscape-showing-in-1773281163205-bc9174d3.png", imageAlt: "Document and print management"
|
||||
}
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
|
||||
@@ -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";
|
||||
className?: string;
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: string;
|
||||
size?: number;
|
||||
weight?: number;
|
||||
color?: 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 = 'Logo',
|
||||
size = 24,
|
||||
weight = 700,
|
||||
color = '#000000',
|
||||
...props
|
||||
}) => {
|
||||
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 * size * 0.6} ${size * 1.2}`}
|
||||
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={size}
|
||||
fontSize={size}
|
||||
fontWeight={weight}
|
||||
fill={color}
|
||||
dominantBaseline="auto"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user