Merge version_1 into main #1
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="small"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="outline"
|
||||
primaryButtonStyle="primary-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -48,7 +48,7 @@ export default function LandingPage() {
|
||||
<HeroBillboard
|
||||
title="Nachiket Deodikar"
|
||||
description="Engineer, Full Stack Developer, Photographer, Cinematographer, and AI Enthusiast crafting immersive digital experiences"
|
||||
background={{ variant: "noiseDiagonalGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Creative Technologist"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
@@ -181,20 +181,16 @@ export default function LandingPage() {
|
||||
<TestimonialCardSixteen
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Johnson", role: "Creative Director", company: "Innovate Studio", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-creative-dire-1773200508164-f476c6ed.png", imageAlt: "Sarah Johnson"
|
||||
id: "1", name: "Sarah Johnson", role: "Creative Director", company: "Innovate Studio", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-creative-dire-1773200508164-f476c6ed.png", imageAlt: "Sarah Johnson"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Chen", role: "Music Producer", company: "SoundWave Productions", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-producer-in-c-1773200507856-588c2ef1.png", imageAlt: "Michael Chen"
|
||||
id: "2", name: "Michael Chen", role: "Music Producer", company: "SoundWave Productions", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-producer-in-c-1773200507856-588c2ef1.png", imageAlt: "Michael Chen"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Emily Rodriguez", role: "Brand Strategist", company: "Creative Collective", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-brand-strateg-1773200506840-068111f4.png", imageAlt: "Emily Rodriguez"
|
||||
id: "3", name: "Emily Rodriguez", role: "Brand Strategist", company: "Creative Collective", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-brand-strateg-1773200506840-068111f4.png", imageAlt: "Emily Rodriguez"
|
||||
},
|
||||
{
|
||||
id: "4", name: "David Kim", role: "Tech Entrepreneur", company: "StartupXYZ", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-tech-entrepre-1773200508143-b132c30a.png", imageAlt: "David Kim"
|
||||
id: "4", name: "David Kim", role: "Tech Entrepreneur", company: "StartupXYZ", rating: 5, imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aki3BwrWAIUBde6zhkbmRnqt7f/professional-headshot-of-a-tech-entrepre-1773200508143-b132c30a.png", imageAlt: "David Kim"
|
||||
}
|
||||
]}
|
||||
kpiItems={[
|
||||
|
||||
@@ -1,51 +1,34 @@
|
||||
"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;
|
||||
dominantBaseline?: DominantBaseline;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
type DominantBaseline = 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging';
|
||||
|
||||
export const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className = "", textClassName = "", 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 200 100"
|
||||
className={className}
|
||||
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%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
className={textClassName}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user