Skip to content

Commit 2f32bf8

Browse files
committed
fix: added sizes to image
1 parent 15221d3 commit 2f32bf8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

components/PizziHeader.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<NuxtImg
1313
src="/img/pizziboi.png"
1414
alt="Alessandro Pizzigolotto"
15+
sizes="sm:15vw md:15vw lg:6vw xl:6vw"
1516
/> AP
1617
</NuxtLink>
1718
</div>
@@ -26,7 +27,8 @@
2627
:class="{ active: $route.path === '/research' }"
2728
to="/research"
2829
aria-label="Research page"
29-
>research</NuxtLink>
30+
>research
31+
</NuxtLink>
3032
<a
3133
href="/files/Pizzigolotto_CV.pdf"
3234
target="_blank"
@@ -35,7 +37,8 @@
3537
:class="{ active: $route.path === '/teaching' }"
3638
to="/teaching"
3739
aria-label="Teaching page"
38-
>teaching</NuxtLink>
40+
>teaching
41+
</NuxtLink>
3942
</nav>
4043
<a
4144
href="mailto:[email protected]"

0 commit comments

Comments
 (0)