From a74a4ca36d6211c854ec65fba7c72baf82276ac5 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:09:16 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e6b565e..2517bf1 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="largeSizeMediumTitles" - background="grid" + background="circleGradient" cardStyle="gradient-radial" primaryButtonStyle="flat" secondaryButtonStyle="glass" @@ -146,16 +146,13 @@ export default function LandingPage() { tagIcon={Smartphone} products={[ { - id: "mobile", brand: "Preview", name: "Mobile App Preview", price: "iPhone & Android", rating: 5, - reviewCount: "Responsive", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-realistic-iphone-mockup-showing-the-ge-1773277643575-4e6cb368.png", imageAlt: "Mobile app preview on iPhone" + id: "mobile", brand: "Preview", name: "Mobile App Preview", price: "iPhone & Android", rating: 5, reviewCount: "Responsive", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-realistic-iphone-mockup-showing-the-ge-1773277643575-4e6cb368.png", imageAlt: "Mobile app preview on iPhone" }, { - id: "tablet", brand: "Preview", name: "Tablet App Preview", price: "iPad & Tablets", rating: 5, - reviewCount: "Optimized", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-realistic-ipad-tablet-mockup-displayin-1773277643935-01863d65.png", imageAlt: "Tablet app preview on iPad" + id: "tablet", brand: "Preview", name: "Tablet App Preview", price: "iPad & Tablets", rating: 5, reviewCount: "Optimized", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-realistic-ipad-tablet-mockup-displayin-1773277643935-01863d65.png", imageAlt: "Tablet app preview on iPad" }, { - id: "desktop", brand: "Preview", name: "Desktop Web Preview", price: "Full Width", rating: 5, - reviewCount: "Enhanced", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-desktop-web-browser-mockup-showing-the-1773277645516-55cf92e0.png", imageAlt: "Desktop web app preview" + id: "desktop", brand: "Preview", name: "Desktop Web Preview", price: "Full Width", rating: 5, reviewCount: "Enhanced", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Ap2STzcImh0GNbQphH8FKBKmmD/a-desktop-web-browser-mockup-showing-the-1773277645516-55cf92e0.png", imageAlt: "Desktop web app preview" } ]} gridVariant="three-columns-all-equal-width" @@ -261,7 +258,7 @@ export default function LandingPage() { { text: "Start Building Free", href: "#hero" }, { text: "Schedule Demo", href: "#" } ]} - background={{ variant: "grid" }} + background={{ variant: "plain" }} useInvertedBackground={false} /> -- 2.49.1 From 5449a91c59f58d727b6e39d5d00ad4c3726abd93 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:09:16 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 64 +++++++++---------- 1 file changed, 29 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..514ca2b 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,45 @@ -"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; + size?: 'sm' | 'md' | 'lg'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); +const SvgTextLogo: React.FC = ({ text, className = '', size = 'md' }) => { + const sizeMap = { + sm: { fontSize: '24px', viewBox: '0 0 200 60' }, + md: { fontSize: '32px', viewBox: '0 0 300 80' }, + lg: { fontSize: '48px', viewBox: '0 0 400 100' } + }; + + const config = sizeMap[size]; return ( + + + + + + - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1