Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 22:40:29 +00:00
2 changed files with 31 additions and 47 deletions

View File

@@ -20,7 +20,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="compact"
sizing="mediumLarge"
background="fluid"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="double-inset"
secondaryButtonStyle="layered"
@@ -49,7 +49,7 @@ export default function LandingPage() {
{ text: "View My Work", href: "#projects" },
{ text: "Get In Touch", href: "#contact" }
]}
background={{ variant: "fluid" }}
background={{ variant: "sparkles-gradient" }}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Am01pGVbxWblPlPQrPgqLBItpN/a-minimalist-ux-designer-workspace-with--1773182309163-8e161a89.png"
imageAlt="UX Designer workspace with design tools and creative environment"
frameStyle="card"
@@ -100,7 +100,7 @@ export default function LandingPage() {
features={[
{
id: 1,
tag: "Discovery", title: "Research & Understand", subtitle: "Deep dive into user needs", description: "I start by understanding your users through interviews, surveys, and behavior analysis. This research phase informs every design decision and ensures we're solving real problems.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Am01pGVbxWblPlPQrPgqLBItpN/ux-research-process-visualization-showin-1773182309222-468bd469.png?_wi=1", imageAlt: "UX research process and user interviews"
tag: "Discovery", title: "Research & Understand", subtitle: "Deep dive into user needs", description: "I start by understanding your users through interviews, surveys, and behavior analysis. This research phase informs every design decision and ensures we're solving real problems.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Am01pGVbxWblPlPQrPgqLBItpN/ux-research-process-visualization-showin-1773182309222-468bd469.png", imageAlt: "UX research process and user interviews"
},
{
id: 2,
@@ -108,7 +108,7 @@ export default function LandingPage() {
},
{
id: 3,
tag: "Validation", title: "Test & Refine", subtitle: "Gather feedback and improve", description: "User testing reveals what works and what doesn't. I use these insights to refine the design, ensuring the final product is intuitive, accessible, and delightful to use.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Am01pGVbxWblPlPQrPgqLBItpN/ux-research-process-visualization-showin-1773182309222-468bd469.png?_wi=2", imageAlt: "User testing and design validation process"
tag: "Validation", title: "Test & Refine", subtitle: "Gather feedback and improve", description: "User testing reveals what works and what doesn't. I use these insights to refine the design, ensuring the final product is intuitive, accessible, and delightful to use.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Am01pGVbxWblPlPQrPgqLBItpN/ux-research-process-visualization-showin-1773182309222-468bd469.png", imageAlt: "User testing and design validation process"
}
]}
title="My Design Process"

View File

@@ -1,51 +1,35 @@
"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";
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
text?: string;
className?: string;
}
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
>
<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"
}}
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
({ text = 'Logo', className = '', ...props }, ref) => {
return (
<svg
ref={ref}
viewBox="0 0 200 200"
className={className}
{...props}
>
{logoText}
</text>
</svg>
);
});
<text
x="50%"
y="50%"
textAnchor="middle"
dominantBaseline="central"
fontSize="24"
fontWeight="bold"
fill="currentColor"
>
{text}
</text>
</svg>
);
}
);
SvgTextLogo.displayName = "SvgTextLogo";
SvgTextLogo.displayName = 'SvgTextLogo';
export default SvgTextLogo;