From facda3f9e000b94862f58812945aa78af7118830 Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 18:04:27 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 633d999..890a1e0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -19,7 +19,7 @@ export default function LandingPage() { borderRadius="rounded" contentWidth="small" sizing="large" - background="blurBottom" + background="circleGradient" cardStyle="gradient-mesh" primaryButtonStyle="double-inset" secondaryButtonStyle="solid" @@ -42,10 +42,10 @@ export default function LandingPage() { @@ -82,19 +83,23 @@ export default function LandingPage() { { title: "Rações Premium", description: "Rações de alta qualidade para cães e gatos de todas as idades e tamanhos", imageSrc: - "http://img.b2bpic.net/free-photo/bunch-red-beans-wooden-box-with-burlap_114579-39045.jpg", imageAlt: "Rações Premium"}, + "http://img.b2bpic.net/free-photo/bunch-red-beans-wooden-box-with-burlap_114579-39045.jpg", imageAlt: "Rações Premium" + }, { title: "Acessórios e Brinquedos", description: "Coleiras, guias, brinquedos e acessórios diversos para o conforto do seu pet", imageSrc: - "http://img.b2bpic.net/free-photo/top-view-pet-accessories_23-2150930400.jpg", imageAlt: "Acessórios Pet"}, + "http://img.b2bpic.net/free-photo/top-view-pet-accessories_23-2150930400.jpg", imageAlt: "Acessórios Pet" + }, { title: "Atendimento Especializado", description: "Orientação profissional para cuidados com seu animal e indicações de produtos", imageSrc: - "http://img.b2bpic.net/free-photo/person-working-from-home-with-pet-dog_23-2149104712.jpg", imageAlt: "Atendimento"}, + "http://img.b2bpic.net/free-photo/person-working-from-home-with-pet-dog_23-2149104712.jpg", imageAlt: "Atendimento" + }, { title: "Entrega em Casa", description: "Serviço de entrega para Santa Rosa e região com rapidez e segurança", imageSrc: - "http://img.b2bpic.net/free-vector/cash-delivery-badge-collection_23-2148768827.jpg", imageAlt: "Entrega"}, + "http://img.b2bpic.net/free-vector/cash-delivery-badge-collection_23-2148768827.jpg", imageAlt: "Entrega" + }, ]} gridVariant="two-columns-alternating-heights" animationType="slide-up" @@ -109,7 +114,7 @@ export default function LandingPage() { description="Localizada no bairro Cruzeiro" subdescription="Av. Flores da Cunha, 1129 - Santa Rosa, RS" icon={Store} - imageSrc="http://img.b2bpic.net/free-photo/adorable-dog-with-female-owner-pet-shop_23-2148872557.jpg?_wi=2" + imageSrc="http://img.b2bpic.net/free-photo/adorable-dog-with-female-owner-pet-shop_23-2148872557.jpg" imageAlt="Agro Cruz Pet Shop" mediaAnimation="slide-up" useInvertedBackground={false} @@ -128,19 +133,23 @@ export default function LandingPage() { { id: "1", name: "Marina Silva", role: "Cliente", company: "Santa Rosa", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/close-up-portrait-from-laughing-girl-enjoying-morning-balcony-with-funny-pet-lovely-young-lady-good-mood-playing-with-beagle-dog-while-resting-after-dinner-terrace_197531-4839.jpg", imageAlt: "Marina Silva"}, + "http://img.b2bpic.net/free-photo/close-up-portrait-from-laughing-girl-enjoying-morning-balcony-with-funny-pet-lovely-young-lady-good-mood-playing-with-beagle-dog-while-resting-after-dinner-terrace_197531-4839.jpg", imageAlt: "Marina Silva" + }, { id: "2", name: "Carlos Mendes", role: "Cliente", company: "Santa Rosa", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/portrait-lovely-golden-retriever-handsome-man-cafe-cute-dog-gives-paw-takes-picture_1258-314009.jpg", imageAlt: "Carlos Mendes"}, + "http://img.b2bpic.net/free-photo/portrait-lovely-golden-retriever-handsome-man-cafe-cute-dog-gives-paw-takes-picture_1258-314009.jpg", imageAlt: "Carlos Mendes" + }, { id: "3", name: "Juliana Costa", role: "Cliente", company: "Santa Rosa", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/close-up-smiley-women-celebrating-birthday_23-2149315319.jpg", imageAlt: "Juliana Costa"}, + "http://img.b2bpic.net/free-photo/close-up-smiley-women-celebrating-birthday_23-2149315319.jpg", imageAlt: "Juliana Costa" + }, { id: "4", name: "Roberto Dias", role: "Cliente", company: "Santa Rosa", rating: 5, imageSrc: - "http://img.b2bpic.net/free-photo/young-woman-with-afro-haircut-holding-puppy_273609-22505.jpg", imageAlt: "Roberto Dias"}, + "http://img.b2bpic.net/free-photo/young-woman-with-afro-haircut-holding-puppy_273609-22505.jpg", imageAlt: "Roberto Dias" + }, ]} gridVariant="uniform-all-items-equal" animationType="slide-up" @@ -156,7 +165,8 @@ export default function LandingPage() { buttons={[ { text: "Ligar: (55) 3511-6627", href: "tel:+555535116627" }, { - text: "Ver Rota", href: "https://maps.google.com/?q=Av.+Flores+da+Cunha,+1129,+Santa+Rosa,+RS"}, + text: "Ver Rota", href: "https://maps.google.com/?q=Av.+Flores+da+Cunha,+1129,+Santa+Rosa,+RS" + }, ]} background={{ variant: "plain" }} useInvertedBackground={false} @@ -171,4 +181,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file -- 2.49.1 From e1e10fb22663f29161f4038f6003c9f9c10e316b Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 11 Mar 2026 18:04:27 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 51 +++++-------------- 1 file changed, 14 insertions(+), 37 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..3017478 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,28 @@ -"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); - +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