deleted likes

This commit is contained in:
SlimusMinus
2026-09-13 21:23:49 +03:00
parent b48ccf4c59
commit e2d4f7017b
6 changed files with 43 additions and 47 deletions

View File

@@ -11,12 +11,14 @@ import { useLanguageToggle } from "../hooks/useLanguageToggle";
import { useTranslation } from 'react-i18next';
import SupportModal from "./SupportModal";
import ProfileAvatar from "./profile/ProfileAvatar";
import NahodkaLogo from "./NahodkaLogo";
export default function Sidebar({
open,
activeNav,
onClose,
onNavClick,
onLogoClick,
isAuthenticated,
onLoginClick,
onRulesClick,
@@ -66,6 +68,17 @@ export default function Sidebar({
<div className={`f-overlay${open ? " show" : ""}`} onClick={onClose} />
<div className={`f-sidebar${open ? " open" : ""}`}>
<div className="f-sb-head">
<button
type="button"
className="f-sb-logo-btn"
onClick={() => {
onLogoClick?.();
onClose();
}}
title={t('nav.home')}
>
<NahodkaLogo />
</button>
</div>
<nav className="f-sb-nav">
{NAV_ITEMS.map(({ icon, key: itemKey, labelKey }) => {