mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
refactor: move texture image to file (#889)
This commit is contained in:
parent
787494fd80
commit
c93c65f7f7
BIN
frontend/src/assets/img/texture.png
Normal file
BIN
frontend/src/assets/img/texture.png
Normal file
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 |
@ -7,7 +7,7 @@ import Header from 'component/menu/Header/Header';
|
|||||||
import Footer from 'component/menu/Footer/Footer';
|
import Footer from 'component/menu/Footer/Footer';
|
||||||
import Proclamation from 'component/common/Proclamation/Proclamation';
|
import Proclamation from 'component/common/Proclamation/Proclamation';
|
||||||
import BreadcrumbNav from 'component/common/BreadcrumbNav/BreadcrumbNav';
|
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';
|
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
|
||||||
|
|
||||||
const useStyles = makeStyles(theme => ({
|
const useStyles = makeStyles(theme => ({
|
||||||
@ -49,16 +49,17 @@ export const MainLayout = ({ children }: IMainLayoutProps) => {
|
|||||||
</div>
|
</div>
|
||||||
</Grid>
|
</Grid>
|
||||||
<div style={{ overflow: 'hidden' }}>
|
<div style={{ overflow: 'hidden' }}>
|
||||||
<div
|
<img
|
||||||
|
src={textureImage}
|
||||||
|
alt=""
|
||||||
style={{
|
style={{
|
||||||
position: 'fixed',
|
position: 'fixed',
|
||||||
right: '0',
|
|
||||||
bottom: '-4px',
|
|
||||||
zIndex: 1,
|
zIndex: 1,
|
||||||
|
bottom: 0,
|
||||||
|
right: 0,
|
||||||
|
width: 400,
|
||||||
}}
|
}}
|
||||||
>
|
/>
|
||||||
<Texture />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
Loading…
Reference in New Issue
Block a user