Added first content & bugfixes
- Fixed some displaying of images (images in /public cannot have their size infered) - Added first blog post (only in english) - Added first composition
This commit is contained in:
@ -16,7 +16,7 @@ const { song } = Astro.props;
|
||||
---
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<Image
|
||||
<img
|
||||
src={song.data.image.url}
|
||||
alt={song.data.image.alt}
|
||||
class="rounded-md"
|
||||
|
@ -15,11 +15,11 @@ const { post } = Astro.props;
|
||||
<a href={`${Astro.url.origin}/${Astro.currentLocale}/blog/${post.blog_slug}`}>
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<Image
|
||||
<img
|
||||
src={post.data.image.url}
|
||||
alt={post.data.image.alt}
|
||||
class="rounded-md"
|
||||
inferSize
|
||||
|
||||
/>
|
||||
<span class="py-2"></span>
|
||||
<CardTitle>{post.data.title}</CardTitle>
|
||||
|
Reference in New Issue
Block a user