add endpoint authors

This commit is contained in:
Profile Profile
2026-03-02 23:10:31 +03:00
parent 7739647549
commit e5af3fcfd6
7 changed files with 525 additions and 103 deletions

View File

@@ -72,7 +72,7 @@ const { post, pageInfo } = Astro.props;
{/* Блок с тегами */}
{post.tags?.nodes && post.tags.nodes.length > 0 && (
<div class="tags-block">
<span class="tags-label">Теги:</span>
<span class="tags-label">Метки:</span>
<div class="tags-list">
{post.tags.nodes.map((tag) => (
<a
@@ -143,7 +143,7 @@ const { post, pageInfo } = Astro.props;
.tags-label {
font-size: 0.875rem;
font-weight: 600;
font-weight: 500;
color: #333;
}
@@ -158,18 +158,17 @@ const { post, pageInfo } = Astro.props;
padding: 0.25rem 0.75rem;
font-size: 0.8125rem;
line-height: 1.5;
color: #666;
background-color: #f5f5f5;
border: 1px solid #e0e0e0;
color: black;
font-weight: 700;
background-color: #ececec;
border-radius: 4px;
text-decoration: none;
transition: all 0.2s ease;
}
.tag-link:hover {
color: #fff;
background-color: #0d6efd;
border-color: #0d6efd;
background-color: #d3d3d3;
border-color: #d3d3d3;
}
.featured-image {