Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -42,7 +42,7 @@ export default function LandingPage() {
|
||||
<HeroBillboardRotatedCarousel
|
||||
title="Creative Developer & Digital Designer"
|
||||
description="Crafting beautiful, functional digital experiences with modern design principles and elegant code. Transforming ideas into impactful digital solutions."
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "animated-grid" }}
|
||||
tag="Portfolio 2026"
|
||||
tagAnimation="slide-up"
|
||||
buttons={[
|
||||
@@ -127,12 +127,12 @@ export default function LandingPage() {
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTwo
|
||||
testimonials={[
|
||||
{ id: "1", name: "Sarah Johnson", role: "CEO, TechCorp", testimonial: "Outstanding attention to detail and commitment to excellence. The portfolio redesign exceeded all expectations and drove significant engagement.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7q9m2p&_wi=1", imageAlt: "Sarah Johnson" },
|
||||
{ id: "2", name: "Michael Chen", role: "Creative Director, InnovateLab", testimonial: "Exceptional talent in bridging design and development. Created a seamless experience that our users absolutely love.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wsn97t&_wi=1", imageAlt: "Michael Chen" },
|
||||
{ id: "1", name: "Sarah Johnson", role: "CEO, TechCorp", testimonial: "Outstanding attention to detail and commitment to excellence. The portfolio redesign exceeded all expectations and drove significant engagement.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7q9m2p", imageAlt: "Sarah Johnson" },
|
||||
{ id: "2", name: "Michael Chen", role: "Creative Director, InnovateLab", testimonial: "Exceptional talent in bridging design and development. Created a seamless experience that our users absolutely love.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wsn97t", imageAlt: "Michael Chen" },
|
||||
{ id: "3", name: "Emily Rodriguez", role: "Product Manager, GrowthCo", testimonial: "Professional, responsive, and incredibly creative. Delivered a mobile app that became our most successful product launch.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qnfcy2", imageAlt: "Emily Rodriguez" },
|
||||
{ id: "4", name: "David Kim", role: "Founder, StartupXYZ", testimonial: "Transformed our brand identity with elegant design and strategic vision. Highly recommended for any creative project.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=4rn6zl", imageAlt: "David Kim" },
|
||||
{ id: "5", name: "Jessica Martinez", role: "Design Lead, DesignStudio", testimonial: "Collaborative, innovative, and passionate about creating beautiful solutions. A true asset to any design team.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7q9m2p&_wi=2", imageAlt: "Jessica Martinez" },
|
||||
{ id: "6", name: "Alexander Thompson", role: "CTO, WebSolutions", testimonial: "Exceptional problem-solving skills combined with modern design aesthetics. Delivered on time and exceeded budget expectations.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wsn97t&_wi=2", imageAlt: "Alexander Thompson" }
|
||||
{ id: "5", name: "Jessica Martinez", role: "Design Lead, DesignStudio", testimonial: "Collaborative, innovative, and passionate about creating beautiful solutions. A true asset to any design team.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7q9m2p", imageAlt: "Jessica Martinez" },
|
||||
{ id: "6", name: "Alexander Thompson", role: "CTO, WebSolutions", testimonial: "Exceptional problem-solving skills combined with modern design aesthetics. Delivered on time and exceeded budget expectations.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=wsn97t", imageAlt: "Alexander Thompson" }
|
||||
]}
|
||||
title="What Clients Say"
|
||||
description="Trusted by innovative companies and creative professionals worldwide."
|
||||
|
||||
@@ -1,51 +1,39 @@
|
||||
"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;
|
||||
fontSize?: number;
|
||||
fontWeight?: number | string;
|
||||
letterSpacing?: number;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
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 = 'Logo',
|
||||
fontSize = 48,
|
||||
fontWeight = 700,
|
||||
letterSpacing = -2,
|
||||
className = '',
|
||||
}) => {
|
||||
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 * 0.6} ${fontSize * 1.2}`}
|
||||
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="0"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
letterSpacing={letterSpacing}
|
||||
dominantBaseline="hanging"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user