Desktop sidebar: logo opens /feed, add About item linking to start page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -89,10 +89,11 @@ export default function DesktopSidebar({
|
||||
<>
|
||||
<aside className="fd-sidebar" aria-label={t("feed.openMenu")}>
|
||||
<div className="fd-sb-head">
|
||||
{/* На десктопе логотип ведёт во «Все объявления»; лендинг — пункт «О сервисе» внизу */}
|
||||
<button
|
||||
type="button"
|
||||
className="fd-sb-logo"
|
||||
onClick={() => navigate("/")}
|
||||
onClick={() => handleMain("home")}
|
||||
title={t("app.name")}
|
||||
aria-label={t("app.name")}
|
||||
>
|
||||
@@ -161,6 +162,15 @@ export default function DesktopSidebar({
|
||||
</nav>
|
||||
|
||||
<div className="fd-sb-bottom">
|
||||
<button
|
||||
type="button"
|
||||
className="fd-sb-item fd-sb-item-sm"
|
||||
onClick={() => navigate("/")}
|
||||
title={t("nav.about")}
|
||||
>
|
||||
<span className="fd-sb-icon"><DesktopIcons.Info /></span>
|
||||
<span className="fd-sb-label">{t("nav.about")}</span>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
className={`fd-sb-item fd-sb-item-sm${activeNav === "reviews" ? " is-active" : ""}`}
|
||||
|
||||
Reference in New Issue
Block a user