File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed
Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 77 <NuxtLink
88 to =" /"
99 class =" pizzi-smol"
10+ aria-label =" Go to homepage"
1011 >
11- <img
12+ <NuxtImg
1213 src =" /img/pizziboi.png"
1314 alt =" Alessandro Pizzigolotto"
14- > AP
15+ / > AP
1516 </NuxtLink >
1617 </div >
1718 <div class =" row" >
1819 <nav >
1920 <NuxtLink
2021 :class =" { active: $route.path === '/' }"
2122 to =" /"
23+ aria-label =" Go to homepage desktop"
2224 >home</NuxtLink >
2325 <NuxtLink
2426 :class =" { active: $route.path === '/research' }"
2527 to =" /research"
28+ aria-label =" Research page"
2629 >research</NuxtLink >
2730 <a
2831 href =" /files/Pizzigolotto_CV.pdf"
3134 <NuxtLink
3235 :class =" { active: $route.path === '/teaching' }"
3336 to =" /teaching"
37+ aria-label =" Teaching page"
3438 >teaching</NuxtLink >
3539 </nav >
3640 <a
37413842 class =" mail-link"
43+ aria-label =" Write me an email"
39444045 </div >
4146 </div >
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ export default defineNuxtConfig({
1212 devtools : { enabled : true } ,
1313 app : {
1414 head : {
15+ htmlAttrs : {
16+ lang : 'en' ,
17+ } ,
1518 titleTemplate : 'Alessandro Pizzigolotto: %s' ,
1619 meta : [
1720 { charset : 'utf-8' } ,
@@ -61,4 +64,13 @@ export default defineNuxtConfig({
6164 gtag : {
6265 id : 'G-8KX8483ME2' ,
6366 } ,
67+ image : {
68+ provider : 'ipx' ,
69+ format : [ 'avif' , 'webp' ] ,
70+ ipx : {
71+ modifiers : {
72+ format : 'webp' ,
73+ } ,
74+ } ,
75+ } ,
6476} )
Original file line number Diff line number Diff line change 33 "private" : true ,
44 "type" : " module" ,
55 "scripts" : {
6- "build" : " nuxt build" ,
6+ "build" : " NITRO_PRESET=github_pages nuxt build" ,
77 "dev" : " nuxt dev" ,
88 "generate" : " nuxt generate" ,
99 "preview" : " nuxt preview" ,
Original file line number Diff line number Diff line change 2929 src =" /img/pizziboi.png"
3030 sizes =" sm:23vw md:28vw lg:28vw xl:28vw"
3131 alt =" pizziboi status symbol"
32+ preload
33+ placeholder
34+ :modifiers =" { format: 'webp' }"
3235 />
3336 </div >
3437 </div >
You can’t perform that action at this time.
0 commit comments