|
|
@@ -1,52 +1,37 @@
|
|
1
|
1
|
import PropTypes from 'prop-types';
|
|
2
|
2
|
import { Link as RouterLink } from 'react-router-dom';
|
|
3
|
|
-// material
|
|
4
|
3
|
import { styled } from '@mui/material/styles';
|
|
5
|
4
|
import { Typography } from '@mui/material';
|
|
6
|
|
-// components
|
|
7
|
|
-import Logo from '../../Images/logo.png'
|
|
|
5
|
+import Logo from '../../Images/evaluacion.jpeg'
|
|
8
|
6
|
import Image from 'react-bootstrap/Image'
|
|
9
|
7
|
// ----------------------------------------------------------------------
|
|
10
|
8
|
|
|
11
|
9
|
const HeaderStyle = styled('header')(({ theme }) => ({
|
|
12
|
|
- // top: 0,
|
|
13
|
|
- // zIndex: 9,
|
|
14
|
|
- // lineHeight: 0,
|
|
15
|
|
- // width: '100%',
|
|
16
|
|
- // display: 'flex',
|
|
17
|
|
- // alignItems: 'center',
|
|
18
|
|
- // position: 'absolute',
|
|
19
|
|
- // padding: theme.spacing(3),
|
|
20
|
|
- // justifyContent: 'space-between',
|
|
21
|
|
- // [theme.breakpoints.up('md')]: {
|
|
22
|
|
- // alignItems: 'flex-start',
|
|
23
|
|
- // padding: theme.spacing(7, 5, 0, 7)
|
|
24
|
|
- // }
|
|
25
|
10
|
}));
|
|
26
|
11
|
|
|
27
|
12
|
// ----------------------------------------------------------------------
|
|
28
|
13
|
|
|
29
|
14
|
AuthLayout.propTypes = {
|
|
30
|
|
- children: PropTypes.node
|
|
|
15
|
+ children: PropTypes.node
|
|
31
|
16
|
};
|
|
32
|
17
|
|
|
33
|
18
|
export default function AuthLayout({ children }) {
|
|
34
|
|
- return (
|
|
35
|
|
- <HeaderStyle>
|
|
36
|
|
- <RouterLink to="/">
|
|
37
|
|
- <Image style={{ width : '70%'}} fluid={true} alt="register logo" src={Logo}/>
|
|
38
|
|
- </RouterLink>
|
|
|
19
|
+ return (
|
|
|
20
|
+ <HeaderStyle>
|
|
|
21
|
+ <RouterLink to="/">
|
|
|
22
|
+ <Image style={{ width: '85%' }} fluid={true} alt="register logo" src={Logo} />
|
|
|
23
|
+ </RouterLink>
|
|
39
|
24
|
|
|
40
|
|
- <div>
|
|
41
|
|
- <Typography
|
|
42
|
|
- variant="body2"
|
|
43
|
|
- sx={{
|
|
44
|
|
- mt: { md: -2 }
|
|
45
|
|
- }}
|
|
46
|
|
- >
|
|
47
|
|
- {children}
|
|
48
|
|
- </Typography>
|
|
49
|
|
- </div>
|
|
50
|
|
- </HeaderStyle>
|
|
51
|
|
- );
|
|
|
25
|
+ <div>
|
|
|
26
|
+ <Typography
|
|
|
27
|
+ variant="body2"
|
|
|
28
|
+ sx={{
|
|
|
29
|
+ mt: { md: -2 }
|
|
|
30
|
+ }}
|
|
|
31
|
+ >
|
|
|
32
|
+ {children}
|
|
|
33
|
+ </Typography>
|
|
|
34
|
+ </div>
|
|
|
35
|
+ </HeaderStyle>
|
|
|
36
|
+ );
|
|
52
|
37
|
}
|