aria.coffee/src/components/FriendLink.astro
Aria 9319d53bc9
chore(friends.astro):
Doube size of my own button to keep styling consistent
2024-12-27 14:32:14 +11:00

16 lines
No EOL
393 B
Text

---
import { Image } from "astro:assets";
const { name, image, target } = Astro.props;
---
<a href={`${target}`} target="_blank"><Image src={image} width={88} height={31} alt={`${name}`} class="flex" /></a>
<style>
img {
image-rendering: pixelated;
min-width: 88px;
width: 176px;
min-height: 31px;
height: 62px;
padding: 4px;
}
</style>