use a static file for your avatar

this way, others can link to it statically and always have an up to date
copy of your avatar
This commit is contained in:
sadan 2025-06-25 15:51:12 -04:00
parent f584041619
commit 96194316d3
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before After
Before After

View file

@ -1,12 +1,11 @@
---
import { Image } from "astro:assets";
import logo from "@assets/logo.png";
---
<div class="avatar-wrapper">
<Image
alt="My profile picture"
src={logo}
src={"/logo.png"}
class="avatar"
width={80}
height={80}