Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
2026-03-11 18:04:31 +00:00
2 changed files with 39 additions and 52 deletions

View File

@@ -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() {
<HeroBillboard
title="Tudo para seu pet com atendimento de confiança em Santa Rosa"
description="Rações, acessórios e produtos para seu animal com qualidade e ótimo atendimento. Agro Cruz: sua pet shop de confiança no bairro Cruzeiro há anos servindo clientes locais."
background={{ variant: "blurBottom" }}
background={{ variant: "animated-grid" }}
tag="⭐ 4,7 de 5 (40 avaliações)"
tagIcon={Star}
imageSrc="http://img.b2bpic.net/free-photo/adorable-dog-with-female-owner-pet-shop_23-2148872557.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/adorable-dog-with-female-owner-pet-shop_23-2148872557.jpg"
imageAlt="Agro Cruz Pet Shop Interior"
buttons={[
{ text: "Ligar Agora", href: "tel:+555535116627" },
@@ -64,7 +64,8 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={false}
names={[
"Rações Premium para Cães", "Rações para Gatos", "Acessórios e Brinquedos", "Produtos Agropecuários", "Atendimento Especializado", "Entrega em Casa", "Orientação para Pets"]}
"Rações Premium para Cães", "Rações para Gatos", "Acessórios e Brinquedos", "Produtos Agropecuários", "Atendimento Especializado", "Entrega em Casa", "Orientação para Pets"
]}
speed={40}
showCard={true}
/>
@@ -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() {
</div>
</ThemeProvider>
);
}
}

View File

@@ -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<SvgTextLogoProps>(function SvgTextLogo({
logoText,
adjustHeightFactor,
verticalAlign = "top",
className = "",
}) {
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({ text, className = '' }) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
viewBox="0 0 200 60"
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
>
<text
ref={textRef}
x="0"
y={verticalAlign === "center" ? "50%" : "0"}
className="font-bold fill-current"
style={{
fontSize: "20px",
letterSpacing: "-0.02em",
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
}}
x="50%"
y="50%"
dominantBaseline="middle"
textAnchor="middle"
className="text-lg font-bold fill-current"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;