From c862200a9bf5649f4f20226d6420be7be8078b82 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 10:11:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 9159bfd..6ac0eb3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -21,7 +21,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="mediumLarge" - background="blurBottom" + background="circleGradient" cardStyle="gradient-bordered" primaryButtonStyle="flat" secondaryButtonStyle="layered" @@ -45,7 +45,7 @@ export default function LandingPage() { @@ -110,15 +109,15 @@ export default function LandingPage() { products={[ { id: "1", brand: "Lolli Nails", name: "Элегантный нюдовый маникюр", price: "6000 тг", rating: 5, - reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/human-finger-touching-sequins-capsule-pink-background_23-2147827924.jpg?_wi=3", imageAlt: "Элегантный нюдовый маникюр с глянцевым покрытием" + reviewCount: "45", imageSrc: "http://img.b2bpic.net/free-photo/human-finger-touching-sequins-capsule-pink-background_23-2147827924.jpg", imageAlt: "Элегантный нюдовый маникюр с глянцевым покрытием" }, { id: "2", brand: "Lolli Nails", name: "Дизайнерский педикюр", price: "12000 тг", rating: 5, - reviewCount: "38", imageSrc: "http://img.b2bpic.net/free-vector/25-years-anniversary-stationery-collection_23-2148828277.jpg?_wi=2", imageAlt: "Люксовый дизайнерский педикюр с кристаллами" + reviewCount: "38", imageSrc: "http://img.b2bpic.net/free-vector/25-years-anniversary-stationery-collection_23-2148828277.jpg", imageAlt: "Люксовый дизайнерский педикюр с кристаллами" }, { id: "3", brand: "Lolli Nails", name: "Наращивание с дизайном", price: "10000 тг", rating: 5, - reviewCount: "52", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-girl-with-beauty-blender_23-2148272497.jpg?_wi=2", imageAlt: "Профессиональное наращивание с красивым дизайном" + reviewCount: "52", imageSrc: "http://img.b2bpic.net/free-photo/close-up-young-girl-with-beauty-blender_23-2148272497.jpg", imageAlt: "Профессиональное наращивание с красивым дизайном" } ]} gridVariant="three-columns-all-equal-width" From 2aca877bafe4710f5731bb4aa2402fc91be904fe Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 10:11:54 +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..3252982 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