From e2ad133b624b6ba7d7c3cda4e91111e1ac57ac40 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:37:57 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index e426d88..05814ab 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,7 +32,7 @@ export default function LandingPage() { navItems={[ { name: "Acasă", id: "home" }, { name: "Experiență", id: "experience" }, - { name: "Evenimente", id: "events" }, + { name: "evenimente", id: "events" }, { name: "Galerie", id: "gallery" }, { name: "Contact", id: "contact" } ]} @@ -77,7 +77,6 @@ export default function LandingPage() { ]} speed={40} showCard={true} - animationType="slide-up" /> @@ -122,7 +121,7 @@ export default function LandingPage() { id: "private", name: "Petreceri private", price: "Pachete personalizate", variant: "Aniversări, majorate sau evenimente speciale", imageSrc: "http://img.b2bpic.net/free-photo/2018-party-with-champagne-glasses_23-2147715813.jpg", imageAlt: "Petrecere privată" }, { - id: "corporate", name: "evenimente corporate", price: "Pachete personalizate", variant: "Evenimente elegante pentru companii și instituții", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-people-work-event_23-2149304739.jpg", imageAlt: "Eveniment corporate" + id: "corporate", name: "Evenimente corporate", price: "Pachete personalizate", variant: "evenimente elegante pentru companii și instituții", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-people-work-event_23-2149304739.jpg", imageAlt: "Eveniment corporate" } ]} textboxLayout="default" @@ -166,10 +165,10 @@ export default function LandingPage() { animationType="slide-up" testimonials={[ { - id: "1", name: "Laura J.", handle: "Mireasa 2024", testimonial: "Totul a fost la superlativ. Atmosfera, mâncarea și organizarea au fost impecabile. Recomand cu încredere!", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-woman-reading_23-2148396352.jpg?_wi=1", imageAlt: "Laura J." + id: "1", name: "Laura J.", handle: "Mireasa 2024", testimonial: "Totul a fost la superlativ. Atmosfera, mâncarea și organizarea au fost impecabile. Recomand cu încredere!", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-woman-reading_23-2148396352.jpg", imageAlt: "Laura J." }, { - id: "2", name: "Bogdan C.", handle: "Mire 2024", testimonial: "O locație unde garantat îți creezi amintiri de neuitat. Echipa a fost extraordinară și atentă la detalii.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-smiling-looking-camera_23-2148112827.jpg?_wi=1", imageAlt: "Bogdan C." + id: "2", name: "Bogdan C.", handle: "Mire 2024", testimonial: "O locație unde garantat îți creezi amintiri de neuitat. Echipa a fost extraordinară și atentă la detalii.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-smiling-looking-camera_23-2148112827.jpg", imageAlt: "Bogdan C." }, { id: "3", name: "Vlad L.", handle: "Ospăț 2023", testimonial: "Cel mai elegant salon de evenimente din Bacău. Mâncare absolut delicioasă și serviciu impecabil.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-business-woman-portrait_23-2149280747.jpg", imageAlt: "Vlad L." @@ -178,10 +177,10 @@ export default function LandingPage() { id: "4", name: "Elena M.", handle: "Familie 2024", testimonial: "Botezul copilului nostru a fost de vis. Decorurile, atmosfera și atenția personalului au fost remarcabile.", imageSrc: "http://img.b2bpic.net/free-photo/handsome-fashion-businessman-model-dressed-elegant-blue-suit-posing-street_158538-14344.jpg", imageAlt: "Elena M." }, { - id: "5", name: "Andreea P.", handle: "Aniversare 2023", testimonial: "Cea mai frumoasă petrecere din vânzări personalului. Toți invitații au fost fascinați de ambianță și meniu.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-woman-reading_23-2148396352.jpg?_wi=2", imageAlt: "Andreea P." + id: "5", name: "Andreea P.", handle: "Aniversare 2023", testimonial: "Cea mai frumoasă petrecere din vânzări personalului. Toți invitații au fost fascinați de ambianță și meniu.", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-woman-reading_23-2148396352.jpg", imageAlt: "Andreea P." }, { - id: "6", name: "Mihai T.", handle: "Corporate event 2024", testimonial: "Spațiul perfect pentru evenimentul nostru corporate. Profesionalism, eleganță și atenție la detaliu peste așteptări.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-smiling-looking-camera_23-2148112827.jpg?_wi=2", imageAlt: "Mihai T." + id: "6", name: "Mihai T.", handle: "Corporate event 2024", testimonial: "Spațiul perfect pentru evenimentul nostru corporate. Profesionalism, eleganță și atenție la detaliu peste așteptări.", imageSrc: "http://img.b2bpic.net/free-photo/businessman-smiling-looking-camera_23-2148112827.jpg", imageAlt: "Mihai T." } ]} speed={40} From b02612c22d234b157a92c153052967c40e35b284 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 20:37:57 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 90 ++++++++++--------- 1 file changed, 47 insertions(+), 43 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..8893808 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,55 @@ -"use client"; +import React, { ReactNode } from 'react'; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps { + text: string; + fontSize?: number; + fontFamily?: string; + fontWeight?: number | string; + fill?: string; + dominantBaseline?: 'auto' | 'middle' | 'hanging' | 'ideographic' | 'text-bottom' | 'text-top'; + textAnchor?: 'start' | 'middle' | 'end'; className?: string; + children?: ReactNode; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - - return ( - - ( + ( + { + text, + fontSize = 24, + fontFamily = 'system-ui, -apple-system, sans-serif', + fontWeight = 600, + fill = 'currentColor', + dominantBaseline = 'middle', + textAnchor = 'middle', + className = '', + }, + ref, + ) => { + return ( + - {logoText} - - - ); -}); + + {text} + + + ); + }, +); -SvgTextLogo.displayName = "SvgTextLogo"; +SvgTextLogo.displayName = 'SvgTextLogo'; export default SvgTextLogo;