Новые изменения в коде проекта

This commit is contained in:
Web-serfer 2026-04-15 12:36:58 +05:00
parent 0777fc201f
commit aef12e853d
12 changed files with 159 additions and 15 deletions

View file

@ -6,7 +6,7 @@ export interface Props {
categoryColor?: string;
date: string;
readTime: string;
imageUrl?: string;
image?: string;
slug?: string;
}
@ -17,9 +17,11 @@ const {
categoryColor = 'bg-gold',
date,
readTime,
imageUrl = '/images/blog/default.avif',
image,
slug = '#'
} = Astro.props;
const imageUrl = image || '/images/blog/default.avif';
---
<article class="blog-card" data-animation="fade-up">