diff --git a/src/App.tsx b/src/App.tsx index 59c64fb..7498b86 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,9 +20,9 @@ const FileDownload = lazy(() => import('@pages/FileDownload')) const AdminPanel = lazy(() => import('@pages/AdminPanel')) const Deposit = lazy(() => import('@pages/Deposit')) const Cluster = lazy(() => import('@pages/Cluster')) -const Well = lazy(() => import('@asb/pages/Well')) +const Well = lazy(() => import('@pages/Well')) -//OpenAPI.BASE = 'http://localhost:3000' +// OpenAPI.BASE = 'http://localhost:3000' // TODO: Удалить взятие из 'token' в следующем релизе, вставлено для совместимости OpenAPI.TOKEN = async () => getUser().token || localStorage.getItem('token') || '' OpenAPI.HEADERS = { 'Content-Type': 'application/json' } diff --git a/src/images/Logo.tsx b/src/images/Logo.tsx index 216a81b..a85f269 100755 --- a/src/images/Logo.tsx +++ b/src/images/Logo.tsx @@ -1,11 +1,44 @@ import { memo } from 'react' -import { ReactComponent as AsbLogo } from '@images/dd_logo_white_opt.svg' +export type LogoProps = React.SVGProps & { + size?: number + onlyIcon?: boolean +} -export type LogoProps = React.SVGProps & { size?: number } +export const Logo = memo(({ size = 200, onlyIcon, ...props }) => ( + + + + + + + -export const Logo = memo(({ size = 200, ...props }) => ( - + + + + + + + + + + + + + + + + + + + + + + + + + )) export default Logo