From f5931b1730648a0906f08148f872b91af3801638 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 07:23:54 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 757638f..1c2e3bb 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -43,7 +43,7 @@ export default function LandingPage() { description="ტრადიციული ქართული ღვინის კელარი, რომელიც საუკუნეების გამოცდილება და ოჯახის მემკვიდრეობას აერთიანებს. ყოველი ბოთლი ისტორია, ხელოვნება და ღირებულების თქმის საზეთო." tag="ღვინის ტრადიცია" tagIcon={Wine} - tagAnimation="entrance-slide" + tagAnimation="opacity" background={{ variant: "glowing-orb" }} imageSrc="http://img.b2bpic.net/free-photo/still-life-wine-carafe-table_23-2149631798.jpg" imageAlt="Georgian vineyard landscape traditional wine region" @@ -52,18 +52,18 @@ export default function LandingPage() { testimonials={[ { name: "მარიო ნიკოლოზი", handle: "ღვინის ოვერსერი", testimonial: "ეს ღვინა ჩემ ოჯახში სამ თაობას არის. სხვა არაფერი იშლის ისტორიაგან.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3269.jpg?_wi=1", imageAlt: "professional headshot confident portrait" + imageSrc: "http://img.b2bpic.net/free-photo/portrait-fashionable-well-dressed-man-with-beard-posing-outdoors_1328-3269.jpg", imageAlt: "professional headshot confident portrait" }, { name: "ნინო მარტინეზი", handle: "სომელიე", testimonial: "Manijashvilebis Marani-ს ღვინაა საუკეთესო ქართული აღიარება, რაც მე წელიწად გამოვცდე.", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg?_wi=1", imageAlt: "woman professional headshot confident" + imageSrc: "http://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg", imageAlt: "woman professional headshot confident" } ]} buttons={[ { text: "კოლექცია იხილეთ", href: "#products" }, { text: "შორის ისწავლეთ", href: "#about" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="opacity" useInvertedBackground={false} /> @@ -88,7 +88,7 @@ export default function LandingPage() { description="თითოეული ბოთლი რჩევების ხელოვნება, შემოქმედების პირადი ეკზემპლარი ბაკო ღვინის კერძოთ. აირჩიეთ თქვენი საყვარელი." tag="ქართული კლასიკა" tagIcon={Sparkles} - tagAnimation="entrance-slide" + tagAnimation="opacity" products={[ { id: "1", name: "Saperavi წითელი", price: "₾120", variant: "ღრმა წითელი 750ml", imageSrc: "http://img.b2bpic.net/free-vector/wine-brochure-template_1268-301.jpg", imageAlt: "Saperavi Red Wine" @@ -107,7 +107,7 @@ export default function LandingPage() { buttons={[ { text: "კოლექცია დეტალებით", href: "#" } ]} - buttonAnimation="entrance-slide" + buttonAnimation="opacity" carouselMode="buttons" /> @@ -131,17 +131,17 @@ export default function LandingPage() {
@@ -150,14 +150,14 @@ export default function LandingPage() { -- 2.49.1 From 3327e70b013c91eeaf091c353ba4c4da751190f2 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 07:23:55 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 55 ++++++------------- 1 file changed, 18 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..e2ebc77 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,32 @@ -"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); - +export 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