From 5d5a736769b5bdbbaccef86b3712f4453c774a94 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:54:57 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4afffd6..9c62921 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function AppMobilePage() { borderRadius="pill" contentWidth="medium" sizing="largeSizeMediumTitles" - background="blurBottom" + background="circleGradient" cardStyle="solid" primaryButtonStyle="shadow" secondaryButtonStyle="glass" @@ -49,25 +49,25 @@ export default function AppMobilePage() { { text: "Call Us Now", href: "tel:+383452243999" } ]} buttonAnimation="slide-up" - background={{ variant: "blurBottom" }} + background={{ variant: "plain" }} carouselItems={[ { - id: "1", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg?_wi=1", imageAlt: "Latest iPhone 15 models" + id: "1", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg", imageAlt: "Latest iPhone 15 models" }, { - id: "2", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg?_wi=1", imageAlt: "Samsung Galaxy smartphones" + id: "2", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg", imageAlt: "Samsung Galaxy smartphones" }, { - id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg?_wi=1", imageAlt: "Mobile phone accessories" + id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg", imageAlt: "Mobile phone accessories" }, { id: "4", imageSrc: "http://img.b2bpic.net/free-photo/business-man-pointing-tablet_23-2148479533.jpg", imageAlt: "Store interior showcase" }, { - id: "5", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg?_wi=2", imageAlt: "iPhone collection" + id: "5", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg", imageAlt: "iPhone collection" }, { - id: "6", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg?_wi=2", imageAlt: "Android phones available" + id: "6", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg", imageAlt: "Android phones available" } ]} autoPlay={true} @@ -89,13 +89,13 @@ export default function AppMobilePage() { gridVariant="two-columns-alternating-heights" products={[ { - id: "1", name: "iPhone 15 Pro Max", price: "€1,199", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg?_wi=3", imageAlt: "iPhone 15 Pro Max", initialQuantity: 1 + id: "1", name: "iPhone 15 Pro Max", price: "€1,199", imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-presenting-smartphone_23-2148002553.jpg", imageAlt: "iPhone 15 Pro Max", initialQuantity: 1 }, { - id: "2", name: "Samsung Galaxy S24 Ultra", price: "€1,299", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg?_wi=3", imageAlt: "Samsung Galaxy S24 Ultra", initialQuantity: 1 + id: "2", name: "Samsung Galaxy S24 Ultra", price: "€1,299", imageSrc: "http://img.b2bpic.net/free-photo/man-holding-coffee-smartphone-his-hands_23-2148316598.jpg", imageAlt: "Samsung Galaxy S24 Ultra", initialQuantity: 1 }, { - id: "3", name: "Premium Accessories Bundle", price: "€89", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg?_wi=2", imageAlt: "Phone Accessories Bundle", initialQuantity: 1 + id: "3", name: "Premium Accessories Bundle", price: "€89", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg", imageAlt: "Phone Accessories Bundle", initialQuantity: 1 } ]} /> @@ -135,7 +135,7 @@ export default function AppMobilePage() { title: "Expert Service", description: "Our knowledgeable staff provides personalized consultation to help you find the perfect device.", imageSrc: "http://img.b2bpic.net/free-photo/woman-talking-mobile-phone-while-shopping_107420-12133.jpg", imageAlt: "Expert customer service" }, { - title: "Competitive Pricing", description: "Best prices in Pristina on the latest models with flexible payment options available.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg?_wi=3", imageAlt: "Competitive pricing options" + title: "Competitive Pricing", description: "Best prices in Pristina on the latest models with flexible payment options available.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-guys-listening-music-outdoors_23-2148450800.jpg", imageAlt: "Competitive pricing options" } ]} /> -- 2.49.1 From a92c8daa765478cf2712b616f644be6f4a35018f Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 21:54:58 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 68 +++++++++---------- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..4a5dc44 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,47 @@ -"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; + fontWeight?: 'light' | 'normal' | 'medium' | 'semibold' | 'bold' | 'extrabold'; } -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 = '', + fontSize = 32, + fontWeight = 'bold', +}) => { + const fontWeightMap = { + light: 300, + normal: 400, + medium: 500, + semibold: 600, + bold: 700, + extrabold: 800, + }; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1