Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #1.
This commit is contained in:
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSmallSizeLargeTitles"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -44,7 +44,7 @@ export default function LandingPage() {
|
||||
<HeroLogoBillboardSplit
|
||||
logoText="Mindshift"
|
||||
description="Intelligent automation for the modern enterprise. Transform your workflow with AI-powered intelligence that learns, adapts, and evolves with your business."
|
||||
background={{ variant: 'noise' }}
|
||||
background={{ variant: 'radial-gradient' }}
|
||||
buttons={[
|
||||
{ text: 'Start Free Trial', href: '#contact' },
|
||||
{ text: 'Watch Demo', href: '#' }
|
||||
@@ -169,8 +169,7 @@ export default function LandingPage() {
|
||||
id: '1',
|
||||
name: 'Sarah Chen',
|
||||
role: 'VP of Operations',
|
||||
testimonial: 'Mindshift AI transformed our workflow automation. We\'ve saved 40 hours per week and improved accuracy to near-perfect levels. The team loves how intuitive the platform is.',
|
||||
imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqkpnfpzXVvIfDzJAEAzNmUiDo/a-professional-headshot-of-a-satisfied-c-1773327736458-0038e31a.png',
|
||||
testimonial: "Mindshift AI transformed our workflow automation. We've saved 40 hours per week and improved accuracy to near-perfect levels. The team loves how intuitive the platform is.", imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqkpnfpzXVvIfDzJAEAzNmUiDo/a-professional-headshot-of-a-satisfied-c-1773327736458-0038e31a.png',
|
||||
imageAlt: 'Sarah Chen'
|
||||
},
|
||||
{
|
||||
@@ -193,8 +192,7 @@ export default function LandingPage() {
|
||||
id: '4',
|
||||
name: 'David Kim',
|
||||
role: 'CEO',
|
||||
testimonial: 'Choosing Mindshift was one of the best decisions we made. Not only did they deliver on their promises, but they\'ve become a true strategic partner in our digital transformation.',
|
||||
imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqkpnfpzXVvIfDzJAEAzNmUiDo/a-fourth-professional-headshot-in-the-sa-1773327736122-f1743be4.png',
|
||||
testimonial: "Choosing Mindshift was one of the best decisions we made. Not only did they deliver on their promises, but they've become a true strategic partner in our digital transformation.", imageSrc: 'https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AqkpnfpzXVvIfDzJAEAzNmUiDo/a-fourth-professional-headshot-in-the-sa-1773327736122-f1743be4.png',
|
||||
imageAlt: 'David Kim'
|
||||
}
|
||||
]}
|
||||
|
||||
@@ -1,51 +1,39 @@
|
||||
"use client";
|
||||
import React 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;
|
||||
export interface SvgTextLogoProps {
|
||||
text: string;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'mathematical' | 'central' | 'ideographic';
|
||||
}
|
||||
|
||||
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,
|
||||
fontSize = 48,
|
||||
fontFamily = 'system-ui, -apple-system, sans-serif',
|
||||
fill = 'currentColor',
|
||||
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 400 100"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
aria-label={text}
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user