feat: compress stuff in s3 bucket

This commit is contained in:
2023-11-13 02:29:50 +01:00
parent d475ed7bdc
commit 355c195c27
4 changed files with 65 additions and 2 deletions

View File

@ -8,7 +8,10 @@
<div class="frame" style="--frame: url(/frames/frame_0{int}.png)">
<img src="/hang.png" class="hang" />
<img {src} {alt} />
<picture>
<source srcset={src.replace('.png', '.jpg')} type="image/jpeg" />
<img {src} alt={src} />
</picture>
</div>
<style>

View File

@ -55,6 +55,7 @@
margin-left: 50px;
text-align: center;
}
p {
color: white;
font-family: Parisienne, cursive;