From 81c7fb57c88c6555426a2b3bac626c6dbbf65a2d Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:35:42 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 2eacbbe..87eeb93 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -135,10 +135,10 @@ export default function LandingPage() { description="Confira as avaliações autênticas de clientes satisfeitos que confiam em nossa qualidade." testimonials={[ { - id: "1", name: "Jean Baldi", handle: "@jeanbaldi", testimonial: "Top, uma delicia a portuguesa moda da casa. Melhor pizza que já comi em Vila Velha!", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=1", imageAlt: "Jean Baldi" + id: "1", name: "Jean Baldi", handle: "@jeanbaldi", testimonial: "Top, uma delicia a portuguesa moda da casa. Melhor pizza que já comi em Vila Velha!", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg", imageAlt: "Jean Baldi" }, { - id: "2", name: "Joemisson Conceição", handle: "@joemisson", testimonial: "Bom atendimento pouca espera ambiente muito agradável variedades de pizzas. Super recomendo!", imageSrc: "http://img.b2bpic.net/free-photo/vertical-photo-beautiful-lady-sitting-restaurant-smiling-camera_114579-92383.jpg?_wi=1", imageAlt: "Joemisson Conceição" + id: "2", name: "Joemisson Conceição", handle: "@joemisson", testimonial: "Bom atendimento pouca espera ambiente muito agradável variedades de pizzas. Super recomendo!", imageSrc: "http://img.b2bpic.net/free-photo/vertical-photo-beautiful-lady-sitting-restaurant-smiling-camera_114579-92383.jpg", imageAlt: "Joemisson Conceição" }, { id: "3", name: "Andréia Pacheco Boldt", handle: "@andreia.boldt", testimonial: "Massa fina, porção generosa de queijo e bom recheio. Voltarei com certeza!", imageSrc: "http://img.b2bpic.net/free-photo/senior-woman-smiling-restaurant_23-2149316809.jpg", imageAlt: "Andréia Pacheco Boldt" @@ -147,10 +147,10 @@ export default function LandingPage() { id: "4", name: "Carlos Silva", handle: "@carlossilva", testimonial: "Pizzaria impecável! Atendimento atencioso e pizza saborosa. Já é meu lugar favorito.", imageSrc: "http://img.b2bpic.net/free-photo/joyful-casual-middle-aged-man-showing-empty-hands-isolated-purple-wall_141793-114471.jpg", imageAlt: "Carlos Silva" }, { - id: "5", name: "Mariana Costa", handle: "@mariana.costa", testimonial: "Fiz pedido pelo WhatsApp e chegou rápido e quentinho. Muito bom mesmo!", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg?_wi=2", imageAlt: "Mariana Costa" + id: "5", name: "Mariana Costa", handle: "@mariana.costa", testimonial: "Fiz pedido pelo WhatsApp e chegou rápido e quentinho. Muito bom mesmo!", imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-young-woman-outdoor-with-headphones_624325-2758.jpg", imageAlt: "Mariana Costa" }, { - id: "6", name: "Roberto Pereira", handle: "@robepereira", testimonial: "Levei minha família e todos adoraram. Ambiente familiar e comida de qualidade!", imageSrc: "http://img.b2bpic.net/free-photo/vertical-photo-beautiful-lady-sitting-restaurant-smiling-camera_114579-92383.jpg?_wi=2", imageAlt: "Roberto Pereira" + id: "6", name: "Roberto Pereira", handle: "@robepereira", testimonial: "Levei minha família e todos adoraram. Ambiente familiar e comida de qualidade!", imageSrc: "http://img.b2bpic.net/free-photo/vertical-photo-beautiful-lady-sitting-restaurant-smiling-camera_114579-92383.jpg", imageAlt: "Roberto Pereira" } ]} animationType="slide-up" -- 2.49.1 From 57c1405a73935baa299696471929297daf7b054e Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 23:35:43 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 63 +++++++++---------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3f14026 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,44 @@ -"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?: number | string; + letterSpacing?: number; } -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 = 48, + fontWeight = 700, + letterSpacing = 0, +}) => { + const svgWidth = text.length * (fontSize * 0.6) + 40; + const svgHeight = fontSize + 40; return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1