File tree Expand file tree Collapse file tree
src/domains/marketing/presentation/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,16 +19,16 @@ export function Footer() {
1919 Automatizando a busca por vagas de TI para desenvolvedores do mundo inteiro. Encontre o emprego ideal sem perder horas pesquisando.
2020 </ p >
2121 < div className = "flex items-center gap-4 text-gray-400 dark:text-gray-500" >
22- < a href = "# " className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > < Github size = { 20 } /> </ a >
22+ < a href = "https://github.com/Cla-Code-Community/candidate" target = "_blank" rel = "noopener noreferrer " className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > < Github size = { 20 } /> </ a >
2323 </ div >
2424 </ div >
2525
2626 < div >
2727 < h4 className = "text-gray-900 dark:text-white font-semibold mb-6" > Produto</ h4 >
2828 < ul className = "space-y-4 text-gray-500 dark:text-gray-400" >
2929 < li > < a href = "#features" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Funcionalidades</ a > </ li >
30+ < li > < a href = "#time" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Time</ a > </ li >
3031 < li > < a href = "#how-it-works" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Como Funciona</ a > </ li >
31- < li > < a href = "#pricing" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Preços</ a > </ li >
3232 < li > < a href = "#status" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Status</ a > </ li >
3333 </ ul >
3434 </ div >
@@ -38,7 +38,6 @@ export function Footer() {
3838 < ul className = "space-y-4 text-gray-500 dark:text-gray-400" >
3939 < li > < a href = "#" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Termos de Uso</ a > </ li >
4040 < li > < a href = "#" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Privacidade</ a > </ li >
41- < li > < a href = "#" className = "hover:text-emerald-500 dark:hover:text-emerald-400 transition-colors" > Contato</ a > </ li >
4241 </ ul >
4342 </ div >
4443 </ div >
Original file line number Diff line number Diff line change 1+ import { render , screen } from "@testing-library/react" ;
2+ import { describe , expect , it } from "vitest" ;
3+ import { Footer } from "../../../src/domains/marketing/presentation/components/Footer" ;
4+
5+ describe ( "Footer" , ( ) => {
6+ it ( "não exibe o link inativo de Contato" , ( ) => {
7+ render ( < Footer /> ) ;
8+
9+ expect ( screen . queryByRole ( "link" , { name : "Contato" } ) ) . toBeNull ( ) ;
10+ } ) ;
11+
12+ it ( "mantém os demais links da seção Legal" , ( ) => {
13+ render ( < Footer /> ) ;
14+
15+ expect ( screen . getByRole ( "link" , { name : "Termos de Uso" } ) ) . toBeInTheDocument ( ) ;
16+ expect ( screen . getByRole ( "link" , { name : "Privacidade" } ) ) . toBeInTheDocument ( ) ;
17+ } ) ;
18+ } ) ;
You can’t perform that action at this time.
0 commit comments