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

This commit is contained in:
Web-serfer 2026-04-26 23:56:01 +05:00
parent 735289481c
commit 1adb1c7fd3
4 changed files with 30 additions and 3 deletions

View file

@ -54,7 +54,7 @@ const imageUrl = image || '/images/blog/default.avif';
<circle cx="12" cy="12" r="10"></circle>
<polyline points="12 6 12 12 16 14"></polyline>
</svg>
{readmeTime || readTime}
{readmeTime || readTime} мин.
</span>
</div>
</div>

View file

@ -51,7 +51,7 @@ const filteredPosts = currentSlug
<p class="card-description">{post.description}</p>
<div class="card-meta">
<span class="meta-item">{formatDate(post.date)}</span>
<span class="meta-item">{post.readTime} мин</span>
<span class="meta-item">{post.readTime} мин.</span>
</div>
</div>
</a>

View file

@ -105,7 +105,7 @@ const {
</span>
<span class="meta-item">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="meta-icon"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>
{readmeTime} мин
{readmeTime} мин.
</span>
<span class="meta-item">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="meta-icon"><path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"></path><circle cx="12" cy="12" r="3"></circle></svg>