From 01ea31a58de91cc6de75b3fefa2212cad79e7cad Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:20:26 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index cf5ac6a..7538d08 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -100,13 +100,13 @@ export default function LandingPage() { tagAnimation="slide-up" products={[ { - id: "1", name: "Crystal Frame Glasses", price: "$85", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png?_wi=1", imageAlt: "Crystal frame eyeglasses" + id: "1", name: "Crystal Frame Glasses", price: "$85", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png", imageAlt: "Crystal frame eyeglasses" }, { - id: "2", name: "Gold Accent Frames", price: "$95", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png?_wi=2", imageAlt: "Gold accent eyeglasses" + id: "2", name: "Gold Accent Frames", price: "$95", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png", imageAlt: "Gold accent eyeglasses" }, { - id: "3", name: "Classic Black Frames", price: "$75", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png?_wi=3", imageAlt: "Classic black frames" + id: "3", name: "Classic Black Frames", price: "$75", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/premium-eyeglasses-in-multiple-color-var-1773242337758-7dd0aaff.png", imageAlt: "Classic black frames" }, { id: "4", name: "Premium Leather Bag", price: "$240", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/luxury-fashion-handbag-in-black-leather--1773242338609-0924956d.png", imageAlt: "Luxury leather handbag" @@ -138,6 +138,7 @@ export default function LandingPage() { imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/interactive-product-customization-interf-1773242338291-a722b0c7.png" imageAlt="Interactive product customization interface" mediaAnimation="slide-up" + metricsAnimation="blur-reveal" useInvertedBackground={true} tagAnimation="blur-reveal" /> @@ -152,10 +153,10 @@ export default function LandingPage() { tagAnimation="blur-reveal" testimonials={[ { - id: "1", name: "Sarah Mitchell", role: "Fashion Blogger", testimonial: "This app changed how I shop online! I finally found glasses that actually suit my face shape. The virtual try-on is so accurate.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-you-1773242337940-0b2014ca.png?_wi=1", imageAlt: "Sarah Mitchell profile" + id: "1", name: "Sarah Mitchell", role: "Fashion Blogger", testimonial: "This app changed how I shop online! I finally found glasses that actually suit my face shape. The virtual try-on is so accurate.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-you-1773242337940-0b2014ca.png", imageAlt: "Sarah Mitchell profile" }, { - id: "2", name: "James Chen", role: "Tech Enthusiast", testimonial: "The AI technology is mind-blowing. I can see exactly how accessories look before spending a dime. No more buyer's remorse!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-man-1773242337854-5774651d.png?_wi=1", imageAlt: "James Chen profile" + id: "2", name: "James Chen", role: "Tech Enthusiast", testimonial: "The AI technology is mind-blowing. I can see exactly how accessories look before spending a dime. No more buyer's remorse!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-man-1773242337854-5774651d.png", imageAlt: "James Chen profile" }, { id: "3", name: "Emily Rodriguez", role: "Style Consultant", testimonial: "I recommend this to all my clients. The lighting adaptation feature is incredible—products look exactly as they will in real life.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-stylish-young-1773242337873-8773eae7.png", imageAlt: "Emily Rodriguez profile" @@ -164,10 +165,10 @@ export default function LandingPage() { id: "4", name: "David Kim", role: "Photography Expert", testimonial: "As someone who works with lighting daily, I'm impressed by the accuracy. This is the future of e-commerce.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-you-1773242337826-5b0a7516.png", imageAlt: "David Kim profile" }, { - id: "5", name: "Lisa Thompson", role: "Online Shopper", testimonial: "Finally, I can try things on without the hassle of returns. This app saved me so much time and money.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-you-1773242337940-0b2014ca.png?_wi=2", imageAlt: "Lisa Thompson profile" + id: "5", name: "Lisa Thompson", role: "Online Shopper", testimonial: "Finally, I can try things on without the hassle of returns. This app saved me so much time and money.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-you-1773242337940-0b2014ca.png", imageAlt: "Lisa Thompson profile" }, { - id: "6", name: "Michael Barnes", role: "Fashion Designer", testimonial: "Brilliant execution. The UI is smooth, the technology is cutting-edge, and the user experience is seamless. Bravo!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-man-1773242337854-5774651d.png?_wi=2", imageAlt: "Michael Barnes profile" + id: "6", name: "Michael Barnes", role: "Fashion Designer", testimonial: "Brilliant execution. The UI is smooth, the technology is cutting-edge, and the user experience is seamless. Bravo!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AnwuV8snIeijgzTcY55PvewWER/professional-headshot-of-a-confident-man-1773242337854-5774651d.png", imageAlt: "Michael Barnes profile" } ]} textboxLayout="default" -- 2.49.1 From 5f94c016a6a275dac254524e7c57bba60cfd8ee1 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 15:20:27 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 58 +++++++------------ 1 file changed, 21 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..346c9de 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,35 @@ -"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; + letterSpacing?: number; } -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, + className = '', + fontSize = 48, + letterSpacing = 2, +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +}; -- 2.49.1