From b34baf6d405be9bf2e468f89ab4beb0af629d4db Mon Sep 17 00:00:00 2001 From: itoshi Date: Wed, 28 May 2025 11:54:51 +0300 Subject: [PATCH] fix: Fix old icon on logo icon --- src/components/ui/SidebarTitle.tsx | 5 ++--- src/icons/124.svg | 3 +++ src/icons/Logo.tsx | 22 ++++++++++++++++++++++ src/pages/login/index.tsx | 6 +++--- 4 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 src/icons/124.svg create mode 100644 src/icons/Logo.tsx diff --git a/src/components/ui/SidebarTitle.tsx b/src/components/ui/SidebarTitle.tsx index 7934439..08504bb 100644 --- a/src/components/ui/SidebarTitle.tsx +++ b/src/components/ui/SidebarTitle.tsx @@ -1,12 +1,11 @@ -import { Ship } from "lucide-react"; -import { ProjectIcon } from "./Icons"; +import { Logo } from "@/icons/Logo"; export default function SidebarTitle({ collapsed }: { collapsed: boolean }) { return (
- + {!collapsed && ( Белые ночи diff --git a/src/icons/124.svg b/src/icons/124.svg new file mode 100644 index 0000000..f1ee3b0 --- /dev/null +++ b/src/icons/124.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/icons/Logo.tsx b/src/icons/Logo.tsx new file mode 100644 index 0000000..ccd4f8a --- /dev/null +++ b/src/icons/Logo.tsx @@ -0,0 +1,22 @@ +export const Logo = ({ + width = 103, + height = 75, +}: { + width?: number; + height?: number; +}) => { + return ( + + + + ); +}; diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index c0b3178..4011c23 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -1,6 +1,6 @@ import { AuthPage, ThemedTitleV2 } from "@refinedev/mui"; -import { ProjectIcon } from "../../components/ui/Icons"; -import { Ship } from "lucide-react"; + +import { Logo } from "@/icons/Logo"; export const Login = () => { return ( @@ -10,7 +10,7 @@ export const Login = () => { } + icon={} /> } forgotPasswordLink={false}