mirror of
https://github.com/mikkelsvartveit/astro-personal-website.git
synced 2025-12-22 11:12:38 +00:00
Add image densities
This commit is contained in:
parent
51e72c5fd3
commit
d3d1954115
1 changed files with 2 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ import portraitImage from "../assets/images/portrait.jpg";
|
|||
<Image
|
||||
class="mx-auto mb-12 block w-full max-w-sm rounded-full border-4 border-white bg-gray-100 text-transparent shadow-lg shadow-gray-400 md:mx-0 md:ml-auto md:w-5/6"
|
||||
src={portraitImage}
|
||||
width={384}
|
||||
densities={[1, 2]}
|
||||
alt="Portrait of Mikkel"
|
||||
decoding="sync"
|
||||
loading="eager"
|
||||
|
|
|
|||
Loading…
Reference in a new issue