add categories

This commit is contained in:
Profile Profile
2026-02-27 00:12:33 +03:00
parent 3da5b48c40
commit 0940493c21
7 changed files with 135 additions and 22 deletions

View File

@@ -1,5 +1,7 @@
---
const { category } = Astro.props;
import Stores from './LazyStores.astro';
import MainMenu from '@components/MainMenu.astro';
@@ -12,6 +14,11 @@
<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>
)}
<Stores />
</div>