From 2ef30c5e8e893cdcce3568fb063a289855303754 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:16:37 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f546af3..a300c65 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -51,6 +51,7 @@ export default function LandingPage() { imageAlt="Собака после профессионального груминга" mediaAnimation="slide-up" useInvertedBackground={false} + background={{ variant: "plain" }} buttons={[ { text: "Позвонить", href: "tel:+79023133581" }, { text: "Написать в WhatsApp", href: "https://wa.me/79023133581" } @@ -113,7 +114,7 @@ export default function LandingPage() { { id: "1", name: "Чистка параанальных желез", price: "300 ₽", imageSrc: "http://img.b2bpic.net/free-photo/close-up-veterinarian-taking-care-pet_23-2149143869.jpg", imageAlt: "Чистка параанальных желез" }, { id: "2", name: "Стрижка когтей", price: "200 ₽", imageSrc: "http://img.b2bpic.net/free-photo/front-view-owner-clipping-dog-s-nails_23-2150264999.jpg", imageAlt: "Стрижка когтей" }, { id: "3", name: "Стрижка мелких пород (Йорк, Мальтез, Чихуахуа)", price: "1 500 ₽", imageSrc: "http://img.b2bpic.net/free-photo/cute-chihuahua-dog-home_23-2150264998.jpg", imageAlt: "Стрижка мелких пород" }, - { id: "4", name: "Груминг шпица", price: "1 500 ₽", imageSrc: "http://img.b2bpic.net/free-photo/close-up-adorable-cocker-spaniel_23-2148351182.jpg?_wi=1", imageAlt: "Груминг шпица" }, + { id: "4", name: "Груминг шпица", price: "1 500 ₽", imageSrc: "http://img.b2bpic.net/free-photo/close-up-adorable-cocker-spaniel_23-2148351182.jpg", imageAlt: "Груминг шпица" }, { id: "5", name: "Стрижка собак средних пород", price: "1 800 ₽", imageSrc: "http://img.b2bpic.net/free-photo/adorable-dog-shelter-outside-waiting-be-adopted_23-2148682976.jpg", imageAlt: "Стрижка средних пород" }, { id: "6", name: "Груминг крупных пород (Лайка, Самоед, Хаски, Овчарка)", price: "4 000 ₽", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-with-pet-carrier_23-2150238721.jpg", imageAlt: "Груминг крупных пород" }, { id: "7", name: "Стрижка кошек", price: "1 300 ₽", imageSrc: "http://img.b2bpic.net/free-photo/close-up-woman-holding-sleepy-cat_23-2149078338.jpg", imageAlt: "Стрижка кошек" }, @@ -178,7 +179,7 @@ export default function LandingPage() { id: "1", category: "Йорк", title: "Стрижка йорка До/После", excerpt: "Профессиональная стрижка йорка с красивым оформлением морды и ушей", imageSrc: "http://img.b2bpic.net/free-photo/close-up-owner-holding-dog-with-bow_23-2148949390.jpg", imageAlt: "Стрижка йорка", authorName: "Стильный Барбоскин", authorAvatar: "http://img.b2bpic.net/free-psd/adopt-friend-banner_23-2148581657.jpg", date: "Недавно" }, { - id: "2", category: "Шпиц", title: "Груминг шпица До/После", excerpt: "Комплексный груминг померанского шпица с тщательной обработкой шерсти", imageSrc: "http://img.b2bpic.net/free-photo/close-up-adorable-cocker-spaniel_23-2148351182.jpg?_wi=2", imageAlt: "Груминг шпица", authorName: "Стильный Барбоскин", authorAvatar: "http://img.b2bpic.net/free-psd/adopt-friend-banner_23-2148581657.jpg", date: "Недавно" + id: "2", category: "Шпиц", title: "Груминг шпица До/После", excerpt: "Комплексный груминг померанского шпица с тщательной обработкой шерсти", imageSrc: "http://img.b2bpic.net/free-photo/close-up-adorable-cocker-spaniel_23-2148351182.jpg", imageAlt: "Груминг шпица", authorName: "Стильный Барбоскин", authorAvatar: "http://img.b2bpic.net/free-psd/adopt-friend-banner_23-2148581657.jpg", date: "Недавно" }, { id: "3", category: "Кошка", title: "Стрижка кошки До/После", excerpt: "Безопасная стрижка кошки без наркоза - животное спокойно и безопасно", imageSrc: "http://img.b2bpic.net/free-photo/close-up-man-holding-rabbit_23-2148949372.jpg", imageAlt: "Стрижка кошки", authorName: "Стильный Барбоскин", authorAvatar: "http://img.b2bpic.net/free-psd/adopt-friend-banner_23-2148581657.jpg", date: "Недавно" -- 2.49.1 From 9bd61cd002b63f9ad45de816b99629b08ec1f7c1 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:16:38 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 87 +++++++++---------- 1 file changed, 42 insertions(+), 45 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..deaafca 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,48 @@ -"use client"; +import React, { SVGProps } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; - className?: string; +interface SvgTextLogoProps extends SVGProps { + text?: string; + fontSize?: number; + fontWeight?: number | string; + fill?: string; + dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'mathematical' | 'hanging'; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text = 'Logo', + fontSize = 24, + fontWeight = 700, + fill = '#000000', + dominantBaseline = 'middle', + ...props + }, + ref + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + } +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1