feat: add webp image and optimize jpeg

This commit is contained in:
Caesar Schinas 2019-05-29 12:50:18 +01:00
parent ec9b86cbba
commit b537c85c01
3 changed files with 5 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 114 KiB

BIN
images/caesar.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View file

@ -26,7 +26,11 @@
<body>
<header>
<h1>Caesar Schinas</h1>
<img class="profile" src="./images/caesar.jpg" width="160" height="160" />
<picture>
<source srcset="./images/caesar.webp" type="image/webp" />
<source srcset="./images/caesar.jpg" type="image/jpeg" />
<img class="profile" src="./images/caesar.jpg" width="120" height="120" />
</picture>
<p class="ipa" lang="en-fonipa">/ ˈsiːˈskɪnəs /</p>
<p class="dfn">Sailor;&nbsp; programmer;&nbsp; web designer;&nbsp; publisher.</p>
</header>