Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 

34 řádky
968 B

  1. // import { useState } from 'react';
  2. // material-ui
  3. import {
  4. Grid,
  5. Typography,
  6. Stack
  7. } from '@mui/material';
  8. import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png'
  9. // ==============================|| DASHBOARD - DEFAULT ||============================== //
  10. const DashboardDefault = () => {
  11. const userData = JSON.parse(localStorage.getItem("userData"));
  12. const BackgroundHead = {
  13. backgroundImage: `url(${titleBackgroundImg})`,
  14. width: '100%',
  15. height: '100%',
  16. backgroundSize:'cover'
  17. }
  18. return (
  19. <Grid container sx={{minHeight: '90vh'}} direction="column">
  20. <Grid item xs={12}>
  21. <div style={BackgroundHead}>
  22. <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center">
  23. <Typography ml={15} color='#FFF' variant="h4">Morning, {userData.fullenName}</Typography>
  24. </Stack>
  25. </div>
  26. </Grid>
  27. </Grid>
  28. );
  29. };
  30. export default DashboardDefault;