fix: Fix old icon on logo icon
All checks were successful
release-tag / release-image (push) Successful in 2m13s

This commit is contained in:
Илья Куприец 2025-05-28 11:54:51 +03:00
parent 9e0cebcd50
commit b34baf6d40
4 changed files with 30 additions and 6 deletions

View File

@ -1,12 +1,11 @@
import { Ship } from "lucide-react"; import { Logo } from "@/icons/Logo";
import { ProjectIcon } from "./Icons";
export default function SidebarTitle({ collapsed }: { collapsed: boolean }) { export default function SidebarTitle({ collapsed }: { collapsed: boolean }) {
return ( return (
<div <div
style={{ display: "flex", alignItems: "center", whiteSpace: "nowrap" }} style={{ display: "flex", alignItems: "center", whiteSpace: "nowrap" }}
> >
<Ship size={40} style={{ color: "#7f6b58" }} /> <Logo width={40} height={40} />
{!collapsed && ( {!collapsed && (
<span style={{ marginLeft: 8, fontWeight: "bold" }}>Белые ночи</span> <span style={{ marginLeft: 8, fontWeight: "bold" }}>Белые ночи</span>

3
src/icons/124.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.5 KiB

22
src/icons/Logo.tsx Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
import { AuthPage, ThemedTitleV2 } from "@refinedev/mui"; 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 = () => { export const Login = () => {
return ( return (
@ -10,7 +10,7 @@ export const Login = () => {
<ThemedTitleV2 <ThemedTitleV2
collapsed={false} collapsed={false}
text="Белые Ночи" text="Белые Ночи"
icon={<Ship style={{ color: "#7f6b58" }} />} icon={<Logo width={24} height={24} />}
/> />
} }
forgotPasswordLink={false} forgotPasswordLink={false}