diff --git a/src/app/page.tsx b/src/app/page.tsx index 616ab28..611eef7 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -10,7 +10,7 @@ import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCar import ContactFaq from '@/components/sections/contact/ContactFaq'; import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen'; import FooterMedia from '@/components/sections/footer/FooterMedia'; -import { Award, Chef, Heart, MapPin, Sparkles, Star } from 'lucide-react'; +import { Award, Heart, MapPin, Sparkles, Star } from 'lucide-react'; export default function LandingPage() { return ( @@ -74,7 +74,7 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} names={[ - "\"Pão francês na chapa com manteiga, uma delícia!\"", "\"Ambiente aconchegante e doces lindos!\"", "\"Comidas maravilhosas que aquecem o coração!\"", "\"Atendimento amigável e produtos de qualidade\"", "\"Melhor padaria do bairro Portão!\"", "\"Café da manhã perfeito todos os dias\"" + "Pão francês na chapa com manteiga, uma delícia!", "Ambiente aconchegante e doces lindos!", "Comidas maravilhosas que aquecem o coração!", "Atendimento amigável e produtos de qualidade", "Melhor padaria do bairro Portão!", "Café da manhã perfeito todos os dias" ]} speed={40} showCard={true} @@ -88,7 +88,7 @@ export default function LandingPage() { title="Nossas Especialidades" description="Descubra os produtos artesanais que fazem a Padaria Trigo e Canela especial" tag="Menu Premium" - tagIcon={Chef} + tagIcon={Sparkles} tagAnimation="slide-up" buttons={[ { text: "💬 Peça pelo WhatsApp", href: "https://wa.me/5541987654321" } @@ -147,11 +147,11 @@ export default function LandingPage() { testimonials={[ { id: "1", name: "Maria Silva", role: "Dona de Casa", company: "Portão, Curitiba", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg?_wi=1", imageAlt: "Maria Silva" + imageSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg", imageAlt: "Maria Silva" }, { id: "2", name: "João Santos", role: "Gerente", company: "Empresa Local", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3551.jpg?_wi=1", imageAlt: "João Santos" + imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3551.jpg", imageAlt: "João Santos" }, { id: "3", name: "Ana Costa", role: "Professora", company: "Escola Portão", rating: 5, @@ -163,11 +163,11 @@ export default function LandingPage() { }, { id: "5", name: "Carla Fernandes", role: "Médica", company: "Clínica Local", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg?_wi=2", imageAlt: "Carla Fernandes" + imageSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg", imageAlt: "Carla Fernandes" }, { id: "6", name: "Lucas Martins", role: "Advogado", company: "Escritório Portão", rating: 5, - imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3551.jpg?_wi=2", imageAlt: "Lucas Martins" + imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3551.jpg", imageAlt: "Lucas Martins" } ]} gridVariant="three-columns-all-equal-width" diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..b07e422 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,38 @@ -"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; + fontSize?: number; + fontFamily?: string; + fill?: 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, + fontSize = 24, + fontFamily = 'Arial, sans-serif', + fill = 'currentColor', + className = '', +}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo;