Head: switch to avif images

This commit is contained in:
Akemi Izuko 2024-01-01 01:25:35 -07:00
parent 9c1efb3482
commit 3309f41dff
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC
3 changed files with 9 additions and 6 deletions

View file

@ -17,9 +17,12 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
<!-- Global Metadata -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png">
<meta property="og:image" content="https://dev.noway.moe/favicon.png" />
<link rel="icon" type="image/avif" href="/favicon.avif" />
<link rel="apple-touch-icon" href="/favicon.avif" />
<meta property="og:title" content="noway.moe" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://dev.noway.moe" />
<meta property="og:image" content="https://dev.noway.moe/favicon.avif" />
<meta name="generator" content={Astro.generator} />
<!-- Font preloads -->

View file

@ -6,7 +6,7 @@ import { SITE_TITLE } from '../consts';
<header style="width: 100%" class="font-sans sticky top-0 md:static bg-white underline-offset-4 z-40">
<nav>
<div class="flex items-center space-x-8">
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.png" /></HeaderLink>
<HeaderLink href="/"><img style="padding: 2px;" src="/favicon.avif" /></HeaderLink>
<HeaderLink href="/blog">Blog</HeaderLink>
<HeaderLink href="/unix">Unix</HeaderLink>
<HeaderLink href="/llama">Llama</HeaderLink>

View file

@ -25,10 +25,10 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
<a href="https://www.ualberta.ca/computing-science/index.html">UAlberta</a>. I'm
usually on discord, but email is the best way to contact me. Some of
my interests include <a href="/unix">unix</a>,
<a href="/road_bike.avif">biking</a>, llamas, 日本語とアニミ...
<a href="/images/home/road-bike.avif">biking</a>, llamas, 日本語とアニミ...
当たり前じゃん and you (>ω^)!
</p>
<img id="pfp" src="/akemi_silly_transparent.png" />
<img id="pfp" src="/images/home/akemi-silly-transparent.avif" />
</main>
<Footer />
</body>