1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/frontend/src/component/common/NotFound/NotFound.styles.ts
olav d8143c6ff4 chore: update react-router to v6 (#946)
* refactor: fix child selector warnings

* refactor: update react-router-dom

* refactor: use BrowserRouter as in react-router docs

* refactor: replace Redirect with Navigate

* refactor: replace Switch with Routes

* refactor: replace useHistory with useNavigate

* refactor: replace useParams types with useRequiredPathParam

* refactor: replace NavLink activeStyle with callback

* refactor: fix matchPath arg order

* refactor: Remove unused link state

* refactor: delete broken snapshot test

* refactor: render 404 page without redirect

* refactor: normalize path parameter names

* refactor: fix Route component usage
2022-05-05 13:42:18 +02:00

36 lines
721 B
TypeScript

import { makeStyles } from 'tss-react/mui';
export const useStyles = makeStyles()({
container: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
minHeight: '100vh',
padding: '2rem',
position: 'fixed',
inset: 0,
backgroundColor: '#fff',
width: '100%',
},
logo: {
height: '80px',
},
content: {
display: 'flex',
position: 'relative',
},
buttonContainer: {
marginTop: '2rem',
},
homeButton: {
marginLeft: '1rem',
},
icon: {
height: '150px',
width: '150px',
position: 'absolute',
right: 100,
top: 45,
},
});