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:
2024-07-05 22:07:15 +02:00
parent 83cfb0fec6
commit c0e69f5413
41 changed files with 289 additions and 739 deletions

View File

@ -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"

View File

@ -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>