1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

refactor: move texture image to file (#889)

This commit is contained in:
olav 2022-04-20 13:22:40 +02:00 committed by GitHub
parent 787494fd80
commit c93c65f7f7
3 changed files with 8 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 127 KiB

View File

@ -7,7 +7,7 @@ import Header from 'component/menu/Header/Header';
import Footer from 'component/menu/Footer/Footer';
import Proclamation from 'component/common/Proclamation/Proclamation';
import BreadcrumbNav from 'component/common/BreadcrumbNav/BreadcrumbNav';
import { ReactComponent as Texture } from 'assets/img/texture.svg';
import textureImage from 'assets/img/texture.png';
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
const useStyles = makeStyles(theme => ({
@ -49,16 +49,17 @@ export const MainLayout = ({ children }: IMainLayoutProps) => {
</div>
</Grid>
<div style={{ overflow: 'hidden' }}>
<div
<img
src={textureImage}
alt=""
style={{
position: 'fixed',
right: '0',
bottom: '-4px',
zIndex: 1,
bottom: 0,
right: 0,
width: 400,
}}
>
<Texture />
</div>
/>
</div>
</div>
<Footer />