Skip to content

Commit 1badc4d

Browse files
tests: unused pages
1 parent f233186 commit 1badc4d

File tree

8 files changed

+9
-8
lines changed

8 files changed

+9
-8
lines changed

frontend/public/sitemap-0.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
3-
<url><loc>https://ivanildobarauna.dev</loc><lastmod>2025-09-17T19:15:52.591Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
3+
<url><loc>https://ivanildobarauna.dev</loc><lastmod>2025-09-17T19:27:53.322Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
44
</urlset>

frontend/src/components/About.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function About({ totalExperience, totalProjects, totalEducation }
3636
];
3737

3838
return (
39-
<section className="py-20 px-4 bg-gradient-subtle">
39+
<section className="py-20 px-4 bg-gradient-subtle" data-testid="about-section">
4040
<div className="container max-w-6xl mx-auto">
4141
<div className="text-left mb-16 fade-in">
4242
<h2 className="text-3xl md:text-4xl font-bold mb-4">

frontend/src/components/EducationSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function EducationSection({ formations, certifications }: Educati
1414
const certificationsArray = Object.values(certifications).flat();
1515

1616
return (
17-
<section className="py-20 px-4 bg-background">
17+
<section className="py-20 px-4 bg-background" data-testid="education-section">
1818
<div className="container max-w-6xl mx-auto">
1919
<div className="text-left mb-16 fade-in">
2020
<h2 className="text-3xl md:text-4xl font-bold mb-4">

frontend/src/components/ExperienceSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface ExperienceSectionProps {
1212

1313
export default function ExperienceSection({ experiences, tempoTotalCarreira }: ExperienceSectionProps) {
1414
return (
15-
<section className="py-20 px-4 bg-background">
15+
<section className="py-20 px-4 bg-background" data-testid="experience-section">
1616
<div className="container max-w-6xl mx-auto">
1717
<div className="text-left mb-16 fade-in">
1818
<h2 className="text-3xl md:text-4xl font-bold mb-4">

frontend/src/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Footer() {
2525
];
2626

2727
return (
28-
<section id="contact" className="py-20 px-4 bg-black text-white">
28+
<section id="contact" className="py-20 px-4 bg-black text-white" data-testid="contact-section">
2929
<div className="container max-w-6xl mx-auto">
3030
<div className="text-center mb-12">
3131
<h2 className="text-3xl md:text-4xl font-bold mb-4">

frontend/src/components/HeroSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function HeroSection() {
1111
const { socialLinks, loading, error } = useSocialLinks();
1212

1313
return (
14-
<section className="hero-section min-h-screen flex items-center justify-center px-4 py-20">
14+
<section className="hero-section min-h-screen flex items-center justify-center px-4 py-20" data-testid="hero-section">
1515
<div className="container max-w-6xl mx-auto">
1616
<div className="grid lg:grid-cols-2 gap-12 items-center">
1717
{/* Content */}

frontend/src/components/ProjectsSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function ProjectsSection({ projects }: ProjectsSectionProps) {
1414
const otherProjects = projects.slice(1);
1515

1616
return (
17-
<section className="py-20 px-4 bg-gradient-subtle">
17+
<section className="py-20 px-4 bg-gradient-subtle" data-testid="projects-section">
1818
<div className="container max-w-6xl mx-auto">
1919
<div className="text-left mb-16 fade-in">
2020
<h2 className="text-3xl md:text-4xl font-bold mb-4">

frontend/src/test/pages.test.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ vi.mock('../app/projects/hooks/useProjects', () => ({
4646

4747
vi.mock('../app/education/hooks/useEducation', () => ({
4848
useEducation: () => ({
49-
education: [],
49+
formations: [],
50+
certifications: {},
5051
loading: false,
5152
error: null
5253
})

0 commit comments

Comments
 (0)