Изменено название страницы и логотип в шапке

This commit is contained in:
goodmice 2022-09-12 13:21:37 +05:00
parent bd7c2842c5
commit eb8cf1f1d4
4 changed files with 8 additions and 5 deletions

View File

@ -8,7 +8,7 @@
<meta name="theme-color" media="(prefers-color-scheme: light)" content="white" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="black" />
<meta name="description" content="Онлайн мониторинг процесса бурения в реальном времени в офисе заказчика" />
<title>АСБ Vision</title>
<title>DDrilling</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

View File

@ -1,9 +1,11 @@
import { memo } from 'react'
import logo from '@images/logo_32.png'
import { ReactComponent as AsbLogo } from '@images/dd_logo_white_opt.svg'
export const Logo = memo<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>>((props) => (
<img src={logo} alt={'АСБ'} className={'logo'} {...props} />
export type LogoProps = React.SVGProps<SVGSVGElement> & { size?: number }
export const Logo = memo<LogoProps>(({ size = 200, ...props }) => (
<AsbLogo className={'logo'} height={'100%'} {...props} />
))
export default Logo

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -74,7 +74,7 @@ html {
.header .title{
flex-grow: 1;
color: #fff;
padding-left: 450px;
padding-left: calc(100vw / 2 - 400px);
}
.header button{