From 7d98883b64e1ad221b658221236a4ec097acbe78 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 16:33:58 +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 605be3f..f09e8f3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -20,7 +20,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="compact" sizing="largeSmall" - background="grid" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="flat" secondaryButtonStyle="layered" @@ -51,11 +51,11 @@ export default function LandingPage() { testimonials={[ { name: "Sarah Mitchell", handle: "Interior Designer", testimonial: "Golden Oak furniture transformed my client's home. The quality and craftsmanship are unmatched in this price range.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg" }, { name: "James Richardson", handle: "Homeowner", testimonial: "After six months of owning their sofa, it still looks brand new. The attention to detail is remarkable.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=1" + imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg" }, { name: "Emma Thompson", handle: "Architect", testimonial: "I recommend Golden Oak to all my residential projects. Their pieces are timeless investments.", rating: 5, @@ -66,7 +66,7 @@ export default function LandingPage() { { text: "Shop Collection", href: "#products" }, { text: "Learn More", href: "#about" } ]} - background={{ variant: "grid" }} + background={{ variant: "glowing-orb" }} useInvertedBackground={false} /> @@ -103,7 +103,7 @@ export default function LandingPage() { description="Established Tradition" subdescription="Golden Oak Furniture Company" icon={Hammer} - imageSrc="http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg" imageAlt="Master craftsman creating wooden furniture" mediaAnimation="slide-up" useInvertedBackground={false} @@ -121,7 +121,7 @@ export default function LandingPage() { features={[ { id: "1", title: "Master Craftsmanship", tags: ["Quality", "Handmade"], - imageSrc: "http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg?_wi=2", imageAlt: "Expert woodworker crafting furniture" + imageSrc: "http://img.b2bpic.net/free-photo/sculpture-making-sketches-pieces-clay_114579-12310.jpg", imageAlt: "Expert woodworker crafting furniture" }, { id: "2", title: "Premium Materials", tags: ["Sourced", "Durable"], @@ -147,7 +147,7 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Michael Chen", handle: "San Francisco, CA", testimonial: "Exceptional quality and attention to detail. This sofa is an investment that will last a lifetime.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg" }, { id: "2", name: "Victoria Parker", handle: "New York, NY", testimonial: "Golden Oak pieces have transformed my entire living space. Highly recommended!", rating: 5, @@ -163,11 +163,11 @@ export default function LandingPage() { }, { id: "5", name: "Robert Martinez", handle: "Los Angeles, CA", testimonial: "Worth every penny. The durability and style are unmatched in the market.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg?_wi=3" + imageSrc: "http://img.b2bpic.net/free-photo/confident-businessman-smiling_107420-84733.jpg" }, { id: "6", name: "Jennifer Thompson", handle: "Chicago, IL", testimonial: "Customer service and product quality exceeded all expectations. Highly satisfied!", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg?_wi=2" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-office-worker-sitting-desk-create-business-report-with-sales-statistics-financial-charts-executive-assistant-using-data-research-startup-company-presentation-close-up_482257-41134.jpg" } ]} /> @@ -190,7 +190,7 @@ export default function LandingPage() { Date: Thu, 12 Mar 2026 16:33:59 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 53 ++++++------------- 1 file changed, 16 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..17aa49d 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,30 @@ -"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; } -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 = '' }) => { return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1