From aa634852661f4b5a7ec2803c33cf790e8870cde3 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:03:33 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 53dd094..35ff6c9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -47,7 +47,7 @@ export default function LandingPage() { description="Sabores incríveis, entrega rápida e ambiente familiar em Curitiba. Pizzas autênticas, chopp gelado e atendimento que faz a diferença." tag="⭐ 4.6 Google Rating • 1.361+ Avaliações" background={{ variant: "animated-grid" }} - imageSrc="http://img.b2bpic.net/free-photo/pie-with-nuts-wooden-plate_141793-1236.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/pie-with-nuts-wooden-plate_141793-1236.jpg" imageAlt="Fresh homemade pizza from Nil's Pizzaria" buttons={[ { text: "📞 Ligar Agora", href: "tel:+5541995178464" }, @@ -65,7 +65,7 @@ export default function LandingPage() { description="Prefere mensagem? Preencha o formulário abaixo e responderemos em minutos. Você também pode ligar diretamente para (41) 99517-8464." background={{ variant: "plain" }} useInvertedBackground={false} - imageSrc="http://img.b2bpic.net/free-photo/nice-weekend-spent-male-company_329181-9970.jpg?_wi=1" + imageSrc="http://img.b2bpic.net/free-photo/nice-weekend-spent-male-company_329181-9970.jpg" imageAlt="Nil's Pizzaria interior" mediaAnimation="slide-up" mediaPosition="right" @@ -98,7 +98,7 @@ export default function LandingPage() { tagIcon={Sparkles} products={[ { - id: "pizza-trad-1", name: "Pizza Tradicional Margherita", price: "R$ 35,00", variant: "Mozzarella, tomate, manjericão", imageSrc: "http://img.b2bpic.net/free-photo/neapolitan-pizza-with-tuna-cheese-arugula-basil-tomatoes-olives-sprinkled-with-cheese_78826-2269.jpg?_wi=1", imageAlt: "Pizza Margherita tradicional" + id: "pizza-trad-1", name: "Pizza Tradicional Margherita", price: "R$ 35,00", variant: "Mozzarella, tomate, manjericão", imageSrc: "http://img.b2bpic.net/free-photo/neapolitan-pizza-with-tuna-cheese-arugula-basil-tomatoes-olives-sprinkled-with-cheese_78826-2269.jpg", imageAlt: "Pizza Margherita tradicional" }, { id: "pizza-special-1", name: "Pizza Especial Suprema", price: "R$ 50,00", variant: "Carnes variadas, cebola, pimentão", imageSrc: "http://img.b2bpic.net/free-photo/italian-food-decoration-with-pizza-bread-pasta_23-2147686562.jpg", imageAlt: "Pizza Suprema especial" @@ -107,7 +107,7 @@ export default function LandingPage() { id: "pizza-sweet-1", name: "Pizza Doce Chocolate", price: "R$ 30,00", variant: "Chocolate, banana, canela", imageSrc: "http://img.b2bpic.net/free-photo/chicken-pizza-with-mushrooms-tomatoes-table_141793-566.jpg", imageAlt: "Pizza doce com chocolate" }, { - id: "chopp", name: "Chopp Brahma Gelado", price: "R$ 12,00", variant: "500ml, temperatura ideal", imageSrc: "http://img.b2bpic.net/free-photo/beer-with-crispy-fish-hors-d-oeuvres-world-beer-day_1150-23315.jpg?_wi=1", imageAlt: "Chopp Brahma gelado" + id: "chopp", name: "Chopp Brahma Gelado", price: "R$ 12,00", variant: "500ml, temperatura ideal", imageSrc: "http://img.b2bpic.net/free-photo/beer-with-crispy-fish-hors-d-oeuvres-world-beer-day_1150-23315.jpg", imageAlt: "Chopp Brahma gelado" } ]} gridVariant="uniform-all-items-equal" @@ -159,11 +159,11 @@ export default function LandingPage() { description="Veja o ambiente aconchegante, pizzas incríveis e momentos especiais de nossos clientes." features={[ { - title: "Pizzas Frescas", description: "Receita autêntica com ingredientes de qualidade", imageSrc: "http://img.b2bpic.net/free-photo/neapolitan-pizza-with-tuna-cheese-arugula-basil-tomatoes-olives-sprinkled-with-cheese_78826-2269.jpg?_wi=2", imageAlt: "Pizza fresca saindo do forno", buttonIcon: ArrowRight, + title: "Pizzas Frescas", description: "Receita autêntica com ingredientes de qualidade", imageSrc: "http://img.b2bpic.net/free-photo/neapolitan-pizza-with-tuna-cheese-arugula-basil-tomatoes-olives-sprinkled-with-cheese_78826-2269.jpg", imageAlt: "Pizza fresca saindo do forno", buttonIcon: ArrowRight, buttonHref: "https://pedir.delivery" }, { - title: "Ambiente Familiar", description: "Espaço aconchegante perfeito para toda a família", imageSrc: "http://img.b2bpic.net/free-photo/nice-weekend-spent-male-company_329181-9970.jpg?_wi=2", imageAlt: "Interior do restaurante", buttonIcon: ArrowRight, + title: "Ambiente Familiar", description: "Espaço aconchegante perfeito para toda a família", imageSrc: "http://img.b2bpic.net/free-photo/nice-weekend-spent-male-company_329181-9970.jpg", imageAlt: "Interior do restaurante", buttonIcon: ArrowRight, buttonHref: "tel:+5541995178464" }, { @@ -176,7 +176,7 @@ export default function LandingPage() { title: "Área Kids", description: "Crianças se divertem enquanto você aproveita sua pizza", imageSrc: "http://img.b2bpic.net/free-photo/young-adults-having-party-home_23-2149215842.jpg", imageAlt: "Área de crianças", buttonIcon: ArrowRight }, { - title: "Bebidas Geladas", description: "Chopp Brahma perfeito para acompanhar sua refeição", imageSrc: "http://img.b2bpic.net/free-photo/beer-with-crispy-fish-hors-d-oeuvres-world-beer-day_1150-23315.jpg?_wi=2", imageAlt: "Chopp Brahma gelado", buttonIcon: ArrowRight + title: "Bebidas Geladas", description: "Chopp Brahma perfeito para acompanhar sua refeição", imageSrc: "http://img.b2bpic.net/free-photo/beer-with-crispy-fish-hors-d-oeuvres-world-beer-day_1150-23315.jpg", imageAlt: "Chopp Brahma gelado", buttonIcon: ArrowRight } ]} textboxLayout="default" @@ -192,7 +192,7 @@ export default function LandingPage() { description="Não espere mais. Escolha entre ligar, enviar mensagem ou pedir no nosso app parceiro. Entrega em até 30 minutos!" background={{ variant: "plain" }} useInvertedBackground={true} - imageSrc="http://img.b2bpic.net/free-photo/pie-with-nuts-wooden-plate_141793-1236.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/pie-with-nuts-wooden-plate_141793-1236.jpg" imageAlt="Pizza appetizing close-up" mediaAnimation="slide-up" mediaPosition="left" -- 2.49.1 From f6ea6bce118366cef765542dd13736b117e2bd64 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 13:03:34 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 67 +++++++++---------- 1 file changed, 31 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..42a47ea 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,46 @@ -"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?: string | number; + 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 = 'bold', + letterSpacing = 0, +}) => { + const textLength = text.length; + const charWidth = fontSize * 0.6; + const totalWidth = textLength * charWidth + (textLength - 1) * letterSpacing + 40; + const viewBoxHeight = fontSize + 20; return ( - {logoText} + {text} ); -}); +}; -SvgTextLogo.displayName = "SvgTextLogo"; - -export default SvgTextLogo; +export default SvgTextLogo; \ No newline at end of file -- 2.49.1