Skip to content

Commit 482ea78

Browse files
authored
Merge pull request #9 from fabrinucci/develop
feat: Add CV to header section
2 parents 92a8ca8 + ad8d89c commit 482ea78

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

public/CV-Fabrizio_Nucci.pdf

61.8 KB
Binary file not shown.

src/components/Contact.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const contactTr = getTranslations(lang).contact
88
---
99

1010
<section class={`${styles.Contact} container`} id='contact'>
11-
<h4 data-testid="contact-subtitle">{contactTr.subtitle}</h4>
12-
<h2 data-testid="contact-title">{contactTr.title}</h2>
13-
<div class={styles.ContactContainer} data-testid="contact-list">
11+
<h4 data-testid='contact-subtitle'>{contactTr.subtitle}</h4>
12+
<h2 data-testid='contact-title'>{contactTr.title}</h2>
13+
<div class={styles.ContactContainer} data-testid='contact-list'>
1414
{
1515
contact.map(({ Icon, title, href }) => (
1616
<article>

src/components/Footer.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const getValue = (obj: typeof nav, key: keyof typeof nav) => {
1515
---
1616

1717
<footer class={styles.Footer}>
18-
<h2 data-testid="footer-title">Fabrizio Nucci</h2>
19-
<ul class={styles.FooterNav} data-testid="footer-links">
18+
<h2 data-testid='footer-title'>Fabrizio Nucci</h2>
19+
<ul class={styles.FooterNav} data-testid='footer-links'>
2020
{
2121
navigation.map(({ name }) => (
2222
<li>

src/components/Header.astro

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ const { cv, contact } = getTranslations(lang).buttons
2121
</div>
2222
<section class={styles.head}>
2323
<div class={styles.info}>
24-
<h1 data-testid="name-title">{name}</h1>
25-
<h2 data-testid="job-title">{work}</h2>
24+
<h1 data-testid='name-title'>{name}</h1>
25+
<h2 data-testid='job-title'>{work}</h2>
2626
</div>
2727
<div class={styles.buttons}>
28-
<a class='btn btn-secondary' href='#' aria-label={cv}>
28+
<a class='btn btn-secondary' href='/CV-Fabrizio_Nucci.pdf' download='CV-Fabrizio_Nucci.pdf' target='_blank' aria-label={cv}>
2929
{cv}
3030
</a>
3131
<SectionLink
@@ -41,12 +41,12 @@ const { cv, contact } = getTranslations(lang).buttons
4141
<section class={styles.body}>
4242
<div class={styles.figureContainer}>
4343
<figure>
44-
<Image src={me} alt='Fabrizio Nucci' data-testid="profile-image" />
44+
<Image src={me} alt='Fabrizio Nucci' data-testid='profile-image' />
4545
</figure>
4646
</div>
4747
<div class={styles.about}>
48-
<h3 data-testid="about-title">{about}</h3>
49-
<p data-testid="about-description">{description}</p>
48+
<h3 data-testid='about-title'>{about}</h3>
49+
<p data-testid='about-description'>{description}</p>
5050
</div>
5151
</section>
5252
<SocialMedia />

src/components/Projects.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ const { demo, source, subtitle, title } = getTranslations(lang).projects
88
---
99

1010
<section class={`${styles.Projects} container`} id='projects'>
11-
<h4 data-testid="projects-subtitle">{subtitle}</h4>
12-
<h2 data-testid="projects-title">{title}</h2>
13-
<div class={styles.Cards} data-testid="projects-list">
11+
<h4 data-testid='projects-subtitle'>{subtitle}</h4>
12+
<h2 data-testid='projects-title'>{title}</h2>
13+
<div class={styles.Cards} data-testid='projects-list'>
1414
{
1515
projects.map((project) => {
1616
const { title, img, gitUrl, demoUrl, technologies } = project
1717
return (
18-
<article data-testid="project-card">
18+
<article data-testid='project-card'>
1919
<div class={styles.CardImg}>
2020
<img src={img} alt={title} />
2121
</div>

src/components/Skills.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const { title, subtitle } = getTranslations(lang).skills
88
---
99

1010
<section class={`${styles.Skills} container`} id='skills'>
11-
<h4 data-testid="skills-subtitle">{subtitle}</h4>
12-
<h2 data-testid="skills-title">{title}</h2>
13-
<div class={styles.Card} data-testid="skills-list">
11+
<h4 data-testid='skills-subtitle'>{subtitle}</h4>
12+
<h2 data-testid='skills-title'>{title}</h2>
13+
<div class={styles.Card} data-testid='skills-list'>
1414
<div class={styles.Content}>
1515
{
1616
skills.map(({ name, Icon }) => (

0 commit comments

Comments
 (0)