From b7c4b77dad60c28a49f3b4dbc8dca4513b8cfe71 Mon Sep 17 00:00:00 2001 From: Roberto Cestari Date: Wed, 4 Feb 2026 16:05:50 -0300 Subject: [PATCH] fix: remove WhatsApp mentions --- .../features/button-whatsapp/index.tsx | 32 ------------------- .../black-friday/components/lead-form.tsx | 2 +- .../_black-friday/black-friday/index.tsx | 25 --------------- .../_certificados/certificados_.$id/index.tsx | 20 ++---------- .../_landing-pages/codando-com-ia/index.tsx | 2 +- .../_tabs/submissoes_.$username/index.tsx | 17 ++-------- .../_subscription/planos.index/index.tsx | 2 -- .../_tabs/submissoes_.$username/index.tsx | 17 ++-------- app/routes/index.tsx | 2 -- app/routes/workshop-react/lead-form.tsx | 2 +- 10 files changed, 9 insertions(+), 112 deletions(-) delete mode 100644 app/components/features/button-whatsapp/index.tsx diff --git a/app/components/features/button-whatsapp/index.tsx b/app/components/features/button-whatsapp/index.tsx deleted file mode 100644 index c8423d91..00000000 --- a/app/components/features/button-whatsapp/index.tsx +++ /dev/null @@ -1,32 +0,0 @@ -import { BsWhatsapp } from "react-icons/bs"; -import React from "react"; -import { cn } from "~/lib/utils/cn"; - -type Props = { - className?: string; - textSizeClass?: string; - onlyWrapper?: boolean; -}; - -export default function WhatsButton({ - className = "", - onlyWrapper = false, -}: Props) { - const whatsUrl = `https://wa.me/551631700669?text=Quero%20saber%20mais%20da%20codante`; - - return ( - - - - ); -} diff --git a/app/routes/_layout-app/_black-friday/black-friday/components/lead-form.tsx b/app/routes/_layout-app/_black-friday/black-friday/components/lead-form.tsx index 9aaba742..6d350e1b 100644 --- a/app/routes/_layout-app/_black-friday/black-friday/components/lead-form.tsx +++ b/app/routes/_layout-app/_black-friday/black-friday/components/lead-form.tsx @@ -59,7 +59,7 @@ const LeadForm = () => { />
- + -
); @@ -1495,27 +1494,3 @@ function TestimonialCard({ ); } - -function WhatsAppButton() { - return ( - - - - ); -} diff --git a/app/routes/_layout-app/_certificados/certificados_.$id/index.tsx b/app/routes/_layout-app/_certificados/certificados_.$id/index.tsx index 3d5e6d08..1f48c002 100644 --- a/app/routes/_layout-app/_certificados/certificados_.$id/index.tsx +++ b/app/routes/_layout-app/_certificados/certificados_.$id/index.tsx @@ -5,16 +5,8 @@ import { useEffect, useState } from "react"; import CertificatePDF from "~/components/_layouts/certificate-pdf"; import { formatDate } from "~/lib/utils/format-date"; import { Card } from "~/components/ui/cards/card"; -import { - LinkedinShareButton, - TwitterShareButton, - WhatsappShareButton, -} from "react-share"; -import { - RiLinkedinBoxLine, - RiTwitterXLine, - RiWhatsappLine, -} from "react-icons/ri"; +import { LinkedinShareButton, TwitterShareButton } from "react-share"; +import { RiLinkedinBoxLine, RiTwitterXLine } from "react-icons/ri"; import toast from "react-hot-toast"; import { IoCopySharp } from "react-icons/io5"; import SearchCertificate from "../components/search-certificate"; @@ -142,14 +134,6 @@ export default function CertificadoId() { /> - -
- -
-
diff --git a/app/routes/_layout-app/_landing-pages/codando-com-ia/index.tsx b/app/routes/_layout-app/_landing-pages/codando-com-ia/index.tsx index df7c2802..a7804c2f 100644 --- a/app/routes/_layout-app/_landing-pages/codando-com-ia/index.tsx +++ b/app/routes/_layout-app/_landing-pages/codando-com-ia/index.tsx @@ -207,7 +207,7 @@ const benefits: { icon: Gift, }, { - title: "Grupo de WhatsApp exclusivo", + title: "Grupo exclusivo da comunidade", description: "Conecte-se com outros alunos e instrutores para trocar experiências e dúvidas.", icon: MessageCircle, diff --git a/app/routes/_layout-app/_mini-projetos/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx b/app/routes/_layout-app/_mini-projetos/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx index ca0e0445..a3026ac8 100644 --- a/app/routes/_layout-app/_mini-projetos/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx +++ b/app/routes/_layout-app/_mini-projetos/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx @@ -12,17 +12,9 @@ import type { ChallengeUser, User } from "~/lib/models/user.server"; import UserAvatar from "~/components/ui/user-avatar"; import { FaGithub, FaLinkedin } from "react-icons/fa"; import ReactionsButton from "~/components/features/reactions/reactions-button"; -import { - LinkedinShareButton, - TwitterShareButton, - WhatsappShareButton, -} from "react-share"; +import { LinkedinShareButton, TwitterShareButton } from "react-share"; import { useEffect, useState, Fragment } from "react"; -import { - RiLinkedinBoxLine, - RiTwitterXLine, - RiWhatsappLine, -} from "react-icons/ri"; +import { RiLinkedinBoxLine, RiTwitterXLine } from "react-icons/ri"; import { formatName } from "~/lib/utils/format-name"; import toast from "react-hot-toast"; import { HiOutlineLink } from "react-icons/hi"; @@ -342,11 +334,6 @@ function ShareSection({ - -
- -
-
diff --git a/app/routes/_layout-app/_subscription/planos.index/index.tsx b/app/routes/_layout-app/_subscription/planos.index/index.tsx index 83cf2384..d10a0af9 100644 --- a/app/routes/_layout-app/_subscription/planos.index/index.tsx +++ b/app/routes/_layout-app/_subscription/planos.index/index.tsx @@ -13,7 +13,6 @@ import { getHome } from "~/lib/models/home.server"; import TestimonialCard from "~/routes/_landing-page/components/testimonials/card"; import { features } from "./data"; -import WhatsButton from "~/components/features/button-whatsapp"; export const loader = async () => { return { @@ -27,7 +26,6 @@ export default function PlanosPage() { return (
-

diff --git a/app/routes/_layout-raw/_routes/demo/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx b/app/routes/_layout-raw/_routes/demo/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx index ca0e0445..a3026ac8 100644 --- a/app/routes/_layout-raw/_routes/demo/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx +++ b/app/routes/_layout-raw/_routes/demo/mini-projetos_.$slug_/_tabs/submissoes_.$username/index.tsx @@ -12,17 +12,9 @@ import type { ChallengeUser, User } from "~/lib/models/user.server"; import UserAvatar from "~/components/ui/user-avatar"; import { FaGithub, FaLinkedin } from "react-icons/fa"; import ReactionsButton from "~/components/features/reactions/reactions-button"; -import { - LinkedinShareButton, - TwitterShareButton, - WhatsappShareButton, -} from "react-share"; +import { LinkedinShareButton, TwitterShareButton } from "react-share"; import { useEffect, useState, Fragment } from "react"; -import { - RiLinkedinBoxLine, - RiTwitterXLine, - RiWhatsappLine, -} from "react-icons/ri"; +import { RiLinkedinBoxLine, RiTwitterXLine } from "react-icons/ri"; import { formatName } from "~/lib/utils/format-name"; import toast from "react-hot-toast"; import { HiOutlineLink } from "react-icons/hi"; @@ -342,11 +334,6 @@ function ShareSection({

- -
- -
-
diff --git a/app/routes/index.tsx b/app/routes/index.tsx index 0aced6d6..c36d5f10 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -45,7 +45,6 @@ import CarouselWorkshops from "~/routes/_landing-page/components/workshops/carou import faqQuestions from "~/routes/_layout-app/_subscription/faq-questions"; import CTAButtons from "~/routes/_landing-page/components/headline/cta-buttons"; -import WhatsButton from "~/components/features/button-whatsapp"; export const loader = async () => { return { @@ -59,7 +58,6 @@ export default function HomePage() { return (
- diff --git a/app/routes/workshop-react/lead-form.tsx b/app/routes/workshop-react/lead-form.tsx index 6e30c828..3460e7c4 100644 --- a/app/routes/workshop-react/lead-form.tsx +++ b/app/routes/workshop-react/lead-form.tsx @@ -65,7 +65,7 @@ const LeadForm = () => { />
- +