Browse Source

maintainance page

master
azri 1 month ago
parent
commit
8b3b7082ff
3 changed files with 5 additions and 3 deletions
  1. BIN
      src/assets/images/maintainance.webp
  2. 2
    2
      src/index.js
  3. 3
    1
      src/pages/Maintainance.jsx

BIN
src/assets/images/maintainance.webp View File


+ 2
- 2
src/index.js View File

32
 const root = ReactDOM.createRoot(document.getElementById('root'));
32
 const root = ReactDOM.createRoot(document.getElementById('root'));
33
 root.render(
33
 root.render(
34
   <Provider store={store}>
34
   <Provider store={store}>
35
-    <App />
36
-    {/* <Maintainance/> */}
35
+    {/* <App /> */}
36
+    <Maintainance/>
37
   </Provider>
37
   </Provider>
38
 );
38
 );
39
 
39
 

+ 3
- 1
src/pages/Maintainance.jsx View File

1
 import React from 'react'
1
 import React from 'react'
2
 import { Box } from '@mui/material'
2
 import { Box } from '@mui/material'
3
+import maintananceIMage from "../assets/images/maintainance.webp"
3
 
4
 
4
 const Maintainance = () => {
5
 const Maintainance = () => {
5
     return (
6
     return (
7
             sx={{
8
             sx={{
8
                 height:"100vh",
9
                 height:"100vh",
9
                 width:"100%",
10
                 width:"100%",
10
-                backgroundColor:"red"
11
+                display:"flex"
11
             }}
12
             }}
12
         >
13
         >
14
+            <img src={maintananceIMage} style={{width:"100%", margin:"auto auto"}} />
13
         </Box>
15
         </Box>
14
     )
16
     )
15
 }
17
 }

Loading…
Cancel
Save