Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
2 changes: 1 addition & 1 deletion src/sections/AboutMe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function AboutMe() {
<strong className="font-bold text-slate-800 dark:text-slate-100">
hiperfoco, lógica apurada e atenção extrema aos detalhes
</strong>{" "}
em código limpo, estruturado e de alta qualidade, , entregando{" "}
em código limpo, estruturado e de alta qualidade, entregando{" "}
<strong className="font-bold text-slate-800 dark:text-slate-100">
autonomia
</strong>{" "}
Expand Down
8 changes: 6 additions & 2 deletions src/sections/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,14 @@ export function HeroSection() {
</div>

{/* Botão de Download CV */}
<button className="mt-4 flex items-center gap-2 px-6 py-3 rounded-xl font-bold text-sm bg-brand-purple text-white dark:bg-brand-neon dark:text-slate-950 hover:scale-105 shadow-md shadow-purple-600/10 dark:shadow-none transition-all duration-300 cursor-pointer">
<a
href="/Curriculo_Francielle_Ferraz_Frontend_Junior.pdf"
download="Curriculo_Francielle_Ferraz_Frontend_Junior.pdf"
className="mt-4 flex items-center gap-2 px-6 py-3 rounded-xl font-bold text-sm bg-brand-purple text-white dark:bg-brand-neon dark:text-slate-950 hover:scale-105 shadow-md shadow-purple-600/10 dark:shadow-none transition-all duration-300 cursor-pointer"
>
<Download size={16} />
{t.hero.cvBtn}
</button>
</a>
</div>

{/* Bloco de Imagem com Animação de Flutuação (Direita) */}
Expand Down
8 changes: 8 additions & 0 deletions tests/recruiter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ test.describe("Portfólio franferrazdev - Jornada E2E do Recrutador", () => {
await expect(page.locator("#hero")).toBeVisible();
await expect(page.locator("h1")).toContainText("Francielle Ferraz");

// Busca o link que possui o atributo download apontando para o seu arquivo PDF
const downloadButton = page.locator('a[download*="Francielle_Ferraz"]');
await expect(downloadButton).toBeVisible();
await expect(downloadButton).toHaveAttribute(
"href",
"/Curriculo_Francielle_Ferraz_Frontend_Junior.pdf",
);

// Testa a alternância real de idiomas (Chaveia para Inglês e checa a Navbar)
const langButton = page
.locator("button")
Expand Down
Loading