From a0bd7f39d48a4d61a5e74853f6dffa99f80bef33 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 03:51:07 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 7ad1a5d..306e18f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="pill" contentWidth="compact" sizing="largeSmallSizeMediumTitles" - background="floatingGradient" + background="circleGradient" cardStyle="subtle-shadow" primaryButtonStyle="gradient" secondaryButtonStyle="glass" @@ -53,7 +53,7 @@ export default function LandingPage() { { text: "Learn More", href: "about" } ]} buttonAnimation="slide-up" - background={{ variant: "floatingGradient" }} + background={{ variant: "plain" }} carouselItems={[ { id: "1", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=zrekr1", imageAlt: "Premium running shoes display" }, { id: "2", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=9zw180", imageAlt: "Designer leather shoes collection" }, @@ -78,16 +78,16 @@ export default function LandingPage() { buttonAnimation="slide-up" products={[ { - id: "1", name: "TrailBlaze Pro Running Shoes", price: "$129.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3yi1aa&_wi=1", imageAlt: "TrailBlaze Pro Running Shoes", initialQuantity: 1 + id: "1", name: "TrailBlaze Pro Running Shoes", price: "$129.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3yi1aa", imageAlt: "TrailBlaze Pro Running Shoes", initialQuantity: 1 }, { - id: "2", name: "Elegance Leather Formal Oxford", price: "$179.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xddmyw&_wi=1", imageAlt: "Elegance Leather Formal Oxford", initialQuantity: 1 + id: "2", name: "Elegance Leather Formal Oxford", price: "$179.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xddmyw", imageAlt: "Elegance Leather Formal Oxford", initialQuantity: 1 }, { - id: "3", name: "Summit Hiking Boots", price: "$189.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qxy4op&_wi=1", imageAlt: "Summit Hiking Boots", initialQuantity: 1 + id: "3", name: "Summit Hiking Boots", price: "$189.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qxy4op", imageAlt: "Summit Hiking Boots", initialQuantity: 1 }, { - id: "4", name: "Urban Casual Sneakers", price: "$99.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=vvrhys&_wi=1", imageAlt: "Urban Casual Sneakers", initialQuantity: 1 + id: "4", name: "Urban Casual Sneakers", price: "$99.99", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=vvrhys", imageAlt: "Urban Casual Sneakers", initialQuantity: 1 } ]} gridVariant="uniform-all-items-equal" @@ -125,13 +125,13 @@ export default function LandingPage() { features={[ { id: 1, - title: "Advanced Cushioning Technology", description: "Our proprietary foam technology absorbs impact and provides all-day comfort, keeping your feet energized from morning to night.", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3yi1aa&_wi=2" }, - phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qxy4op&_wi=2" } + title: "Advanced Cushioning Technology", description: "Our proprietary foam technology absorbs impact and provides all-day comfort, keeping your feet energized from morning to night.", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3yi1aa" }, + phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qxy4op" } }, { id: 2, - title: "Sustainable Materials", description: "Crafted from eco-friendly materials including recycled plastics and organic cotton, reducing our environmental footprint with every step.", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=vvrhys&_wi=2" }, - phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xddmyw&_wi=2" } + title: "Sustainable Materials", description: "Crafted from eco-friendly materials including recycled plastics and organic cotton, reducing our environmental footprint with every step.", phoneOne: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=vvrhys" }, + phoneTwo: { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xddmyw" } } ]} showStepNumbers={true} -- 2.49.1 From 5e9de84b48540b87078a2099c060594041eb7ffb Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 13 Mar 2026 03:51:08 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 69 +++++++++---------- 1 file changed, 32 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b40f710 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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?: string; + fontWeight?: string | number; + fill?: string; + strokeWidth?: number; + stroke?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text = 'Webild', + className = '', + fontSize = '32', + fontWeight = 'bold', + fill = 'currentColor', + strokeWidth = 0, + stroke = 'none', +}) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1