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.
Binary file not shown.
4 changes: 2 additions & 2 deletions src/sections/HeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export function HeroSection() {

{/* Botão de Download CV */}
<a
href="/Curriculo_Francielle_Ferraz_Frontend_Junior.pdf"
download="Curriculo_Francielle_Ferraz_Frontend_Junior.pdf"
href="/Curriculo_Francielle_Ferraz_Frontend_Junior_V2.pdf"
download="Curriculo_Francielle_Ferraz_Frontend_Junior_V2.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} />
Expand Down
79 changes: 57 additions & 22 deletions src/sections/ProjectsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,38 @@ import { FaGithub } from "react-icons/fa";
export function ProjectsSection() {
const { language } = useLanguage();

// Interfce do formato das suítes de teste
interface TestSuite {
name: string;
icon: React.ReactNode;
type: "unit" | "e2e";
}

// Interface para a estrutura do projeto
interface Project {
title: string;
image: string;
tags: string[];
testSuites: TestSuite[];
github: string;
live: string;
pt: string;
en: string;
}

// Dados dos Meus 3 Projetos
const projectsData = [
const projectsData: Project[] = [
{
title: "Night Owl E-commerce",
image: "/projects/night-owl-screen.png",
tags: ["React", "TypeScript", "Tailwind CSS", "Context API", "Stripe"],
testSuite: {
name: "Jest & RTL",
icon: <CheckSquare size={11} />,
type: "unit",
},
testSuites: [
{
name: "Jest & RTL",
icon: <CheckSquare size={11} />,
type: "unit",
},
],
github: "https://github.com/franferrazdev/night-owl-ecommerce",
live: "https://night-owl-ecommerce.vercel.app/",
pt: "Plataforma de vendas online completa contendo catálogo reativo, gerenciamento avançado de carrinho e checkout fluido.",
Expand All @@ -31,7 +52,13 @@ export function ProjectsSection() {
"PostgreSQL",
"Tailwind CSS",
],
testSuite: { name: "Playwright", icon: <Tv size={11} />, type: "e2e" },
testSuites: [
{
name: "Playwright",
icon: <Tv size={11} />,
type: "e2e",
},
],
github: "https://github.com/franferrazdev/school-management-dashboard",
live: "https://school-management-dashboard-woad.vercel.app/",
pt: "Plataforma corporativa full-stack de gestão escolar, Business Intelligence, controle analítico de notas e gerenciamento de chamadas.",
Expand All @@ -41,11 +68,14 @@ export function ProjectsSection() {
title: "Live Coding Bug Quiz",
image: "/projects/welcome-screen.png",
tags: ["React", "TypeScript", "Tailwind CSS", "Lucide Icons"],
testSuite: {
name: "Jest & RTL",
icon: <CheckSquare size={11} />,
type: "unit",
},
testSuites: [
{
name: "Jest & RTL",
icon: <CheckSquare size={11} />,
type: "unit",
},
{ name: "Playwright", icon: <Tv size={11} />, type: "e2e" },
],
github: "https://github.com/franferrazdev/live-coding-bug-quiz",
live: "https://live-coding-bug-quiz-one.vercel.app/",
pt: "Simulador técnico interativo homologado para testes de Code Review, depuração de erros em tempo real e avaliação de serioridade front-end.",
Expand Down Expand Up @@ -99,16 +129,21 @@ export function ProjectsSection() {
</h3>

{/* Badge Técnica de Testes */}
<span
className={`flex items-center gap-1.5 text-[9px] font-black tracking-wider uppercase px-2.5 py-1 rounded-md border shrink-0 transition-colors select-none ${
project.testSuite.type === "e2e"
? "bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20 dark:border-amber-500/30"
: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20 dark:border-emerald-500/30"
}`}
>
{project.testSuite.icon}
{project.testSuite.name}
</span>
<div className="flex flex-wrap gap-1.5 justify-end shrink-0 max-w-[50%]">
{project.testSuites.map((suite) => (
<span
key={suite.name}
className={`flex items-center gap-1.5 text-[9px] font-black tracking-wider uppercase px-2.5 py-1 rounded-md border transition-colors select-none ${
suite.type === "e2e"
? "bg-amber-500/10 text-amber-600 dark:text-amber-400 border-amber-500/20 dark:border-amber-500/30"
: "bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border-emerald-500/20 dark:border-emerald-500/30"
}`}
>
{suite.icon}
{suite.name}
</span>
))}
</div>
</div>

<p className="text-xs text-slate-500 dark:text-slate-400 leading-relaxed font-medium">
Expand Down
2 changes: 1 addition & 1 deletion tests/recruiter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test.describe("Portfólio franferrazdev - Jornada E2E do Recrutador", () => {
await expect(downloadButton).toBeVisible();
await expect(downloadButton).toHaveAttribute(
"href",
"/Curriculo_Francielle_Ferraz_Frontend_Junior.pdf",
"/Curriculo_Francielle_Ferraz_Frontend_Junior_V2.pdf",
);

// Testa a alternância real de idiomas (Chaveia para Inglês e checa a Navbar)
Expand Down
Loading