add tags logic

This commit is contained in:
Profile Profile
2026-03-02 00:39:07 +03:00
parent 0940493c21
commit 7739647549
11 changed files with 585 additions and 138 deletions

View File

@@ -15,8 +15,8 @@
<div class="top-bar">
<img alt="Профиль" width="249" height="55" src="https://cdn.profile.ru/wp-content/themes/profile/assets/img/profile-logo-delovoy.svg">
{category && (
<div class="parttile-block">
{category.name}
<div class="header__subtitle">
<a href={`/${category.slug}`}>{category.name}</a>
</div>
)}
<Stores />
@@ -32,6 +32,25 @@
.top-bar{
display: flex;
justify-content: space-between;
align-items: center;
}
.header__subtitle{
font-size: 22px;
font-weight: bold;
margin-left: 42px;
position: relative;
}
.header__subtitle::before{
content: '';
position: absolute;
top: 50%;
left: -15px;
width: 3px;
height: 80%;
border-left: 3px solid;
transform: translate(0, -40%);
}
</style>