added new logo

This commit is contained in:
SlimusMinus
2026-09-14 01:49:49 +03:00
parent 3d25965ab0
commit 30a4cbf61b
9 changed files with 61 additions and 74 deletions

View File

@@ -2,12 +2,12 @@ import { useState, useRef, useEffect } from "react";
import { motion, AnimatePresence } from "framer-motion";
import { useTranslation } from "react-i18next";
import MenuIconBase from "../icons/MenuIcon";
import NahodkaLogoBase from "../NahodkaLogo";
import MainNahodkaLogoBase from "../MainNahodkaLogo";
import type { Ref, ComponentType } from "react";
// Legacy .jsx-компоненты: TS инферирует их сигнатуры из JS неточно —
// приводим к нормальному виду для корректной проверки пропсов.
const NahodkaLogo = NahodkaLogoBase as unknown as ComponentType<{
const MainNahodkaLogo = MainNahodkaLogoBase as unknown as ComponentType<{
className?: string;
width?: number;
height?: number;
@@ -91,7 +91,7 @@ export default function FeedTopBar({
aria-haspopup="menu"
aria-expanded={open}
>
<NahodkaLogo className="f-topbar-logo" />
<MainNahodkaLogo className="f-topbar-logo" />
<svg
className={`f-topbar-chevron${open ? " open" : ""}`}
viewBox="0 0 24 24"