mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-06-30 04:56:17 +00:00
handle images better
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
---
|
||||
import { Image } from 'astro:assets';
|
||||
import logoImage from '../assets/img/yht_logo.png';
|
||||
|
||||
const { width, height } = Astro.props;
|
||||
---
|
||||
|
||||
<a href="/">
|
||||
<Image src={logoImage} alt="Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background" width="50" height="50"/>
|
||||
<Image src={logoImage} alt="Logo displaying a stylized character with brown hair wearing purple hoodie on a light blue circle background" width={width} height={height}/>
|
||||
</a>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user