Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

67 рядки
2.1 KiB

  1. // material-ui
  2. import {
  3. Grid,
  4. Typography,
  5. Stack,
  6. } from '@mui/material';
  7. import * as React from "react";
  8. import Loadable from 'components/Loadable';
  9. const LoadingComponent = Loadable(React.lazy(() => import('pages/extra-pages/LoadingComponent')));
  10. import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png'
  11. const BackgroundHead = {
  12. backgroundImage: `url(${titleBackgroundImg})`,
  13. width: '100%',
  14. height: '100%',
  15. backgroundSize: 'contain',
  16. backgroundRepeat: 'no-repeat',
  17. backgroundColor: '#0C489E',
  18. backgroundPosition: 'right'
  19. }
  20. // ==============================|| DASHBOARD - DEFAULT ||============================== //
  21. const Index = () => {
  22. const [onReady, setOnReady] = React.useState(false);
  23. React.useEffect(() => {
  24. setOnReady(true);
  25. }, []);
  26. return (
  27. !onReady ?
  28. <LoadingComponent />
  29. :
  30. <Grid container sx={{ minHeight: '110vh', backgroundColor: '#fff' }} direction="column" justifyContent="flex-start" alignItems="center" >
  31. <Grid item xs={12} width="100%">
  32. <div style={BackgroundHead} width="100%">
  33. <Stack direction="row" height='70px'>
  34. <Typography ml={15} color='#FFF' variant="h4" sx={{ pt: 2 }}>iAM Smart 成功登入</Typography>
  35. </Stack>
  36. </div>
  37. </Grid>
  38. {/*row 1*/}
  39. <Grid item xs={12} md={12} >
  40. <Grid container justifyContent="flex-start" alignItems="center" >
  41. <center>
  42. <Grid item xs={12} md={12} >
  43. <Typography variant="h3" sx={{ ml: 8, mt: 4, mr: 8, textAlign: "center" }}>
  44. iAM Smart 成功登入
  45. </Typography>
  46. </Grid>
  47. </center>
  48. </Grid>
  49. </Grid>
  50. {/*row 2*/}
  51. </Grid >
  52. );
  53. };
  54. export default Index;