From af1550faad03a7e189338ca1178f31dcdb6f2459 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:50:56 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 1568301..a7e8459 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -57,22 +57,22 @@ export default function LandingPage() { buttonAnimation="blur-reveal" carouselItems={[ { - id: "1", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png?_wi=1", imageAlt: "SaaS Dashboard Project" + id: "1", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png", imageAlt: "SaaS Dashboard Project" }, { - id: "2", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png?_wi=1", imageAlt: "Mobile App Interface" + id: "2", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png", imageAlt: "Mobile App Interface" }, { - id: "3", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png?_wi=1", imageAlt: "Portfolio Website" + id: "3", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png", imageAlt: "Portfolio Website" }, { - id: "4", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png?_wi=2", imageAlt: "Analytics Platform" + id: "4", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png", imageAlt: "Analytics Platform" }, { - id: "5", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png?_wi=2", imageAlt: "Task Management App" + id: "5", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png", imageAlt: "Task Management App" }, { - id: "6", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png?_wi=2", imageAlt: "Creative Portfolio" + id: "6", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png", imageAlt: "Creative Portfolio" } ]} autoPlay={true} @@ -132,8 +132,8 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-4xl md:text-5xl font-bold leading-tight" - descriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" + cardTitleClassName="text-4xl md:text-5xl font-bold leading-tight" + cardDescriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" /> @@ -147,17 +147,17 @@ export default function LandingPage() { useInvertedBackground={false} products={[ { - id: "1", name: "SaaS Analytics Dashboard", price: "Featured Project", variant: "React + TypeScript + Tailwind", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png?_wi=3", imageAlt: "SaaS Analytics Dashboard" + id: "1", name: "SaaS Analytics Dashboard", price: "Featured Project", variant: "React + TypeScript + Tailwind", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-screenshot-of-a-sleek-saas-dashboard-i-1773229770183-42db490f.png", imageAlt: "SaaS Analytics Dashboard" }, { - id: "2", name: "Mobile Task Manager", price: "Featured Project", variant: "React Native + Firebase", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png?_wi=3", imageAlt: "Mobile Task Manager App" + id: "2", name: "Mobile Task Manager", price: "Featured Project", variant: "React Native + Firebase", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-minimalist-mobile-app-interface-mockup-1773229767645-ffddbff8.png", imageAlt: "Mobile Task Manager App" }, { - id: "3", name: "Creative Portfolio Website", price: "Featured Project", variant: "Next.js + CMS + Framer Motion", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png?_wi=3", imageAlt: "Creative Portfolio Website" + id: "3", name: "Creative Portfolio Website", price: "Featured Project", variant: "Next.js + CMS + Framer Motion", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnXUfs3O4TXYhq3mTnapHEbzdn/a-creative-portfolio-website-landing-pag-1773229768565-ef736153.png", imageAlt: "Creative Portfolio Website" } ]} - titleClassName="text-4xl md:text-5xl font-bold leading-tight" - descriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" + textBoxTitleClassName="text-4xl md:text-5xl font-bold leading-tight" + textBoxDescriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" cardNameClassName="text-lg font-semibold text-foreground" cardPriceClassName="text-sm font-medium text-accent" cardVariantClassName="text-sm text-foreground/60" @@ -194,8 +194,8 @@ export default function LandingPage() { animationType="slide-up" textboxLayout="default" useInvertedBackground={false} - titleClassName="text-4xl md:text-5xl font-bold leading-tight" - descriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" + textBoxTitleClassName="text-4xl md:text-5xl font-bold leading-tight" + textBoxDescriptionClassName="text-base md:text-lg text-foreground/75 max-w-2xl" /> -- 2.49.1 From 394c9c94699d1959decad1fd1fa5ef97537a780a Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 11:50:56 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 72 +++++++++---------- 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..c929bf5 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,49 @@ -"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; + fontSize?: number; + fontFamily?: string; + fontWeight?: number; + letterSpacing?: number; + fill?: string; + strokeWidth?: number; + stroke?: string; + textAnchor?: "start" | "middle" | "end"; + dominantBaseline?: "auto" | "middle" | "hanging" | "baseline"; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +export const SvgTextLogo: React.FC = ({ + text = "Logo", className = "", fontSize = 24, + fontFamily = "system-ui, -apple-system, sans-serif", fontWeight = 700, + letterSpacing = 0, + fill = "currentColor", strokeWidth = 0, + stroke = "none", textAnchor = "middle", dominantBaseline = "middle"}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1