Browse Source

change image on home page

master
azri 1 month ago
parent
commit
57a017d983

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


BIN
src/assets/images/amberClothing.jpg View File


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


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


+ 2
- 2
src/components/ProductType/ProductType.jsx View File

8
         position: 'relative',
8
         position: 'relative',
9
         width: '100%',
9
         width: '100%',
10
         height: 0,
10
         height: 0,
11
-        paddingTop: '600px', // This sets the height based on top padding
11
+        paddingTop: '700px', // This sets the height based on top padding
12
         backgroundImage: `url(${img_url})`,
12
         backgroundImage: `url(${img_url})`,
13
         overflow: 'hidden',
13
         overflow: 'hidden',
14
         backgroundSize: 'cover',
14
         backgroundSize: 'cover',
22
           left: 0,
22
           left: 0,
23
           width: '100%',
23
           width: '100%',
24
           height: '100%',
24
           height: '100%',
25
-          backgroundColor: 'rgba(0, 0, 0, 0.5)', // Filter overlay
25
+          backgroundColor: 'rgba(0, 0, 0, 0.3)', // Filter overlay
26
           display: 'flex',
26
           display: 'flex',
27
           flexDirection: 'column',
27
           flexDirection: 'column',
28
           justifyContent: 'center',
28
           justifyContent: 'center',

+ 3
- 0
src/index.js View File

18
 
18
 
19
 // JS MODULE STUFF
19
 // JS MODULE STUFF
20
 
20
 
21
+import Maintainance from './pages/Maintainance';
22
+
21
 /**
23
 /**
22
  * NOTE: Dear future programmer of this project, before you judge me on how fucked up this codebase is, I already take everything into consideration and 
24
  * NOTE: Dear future programmer of this project, before you judge me on how fucked up this codebase is, I already take everything into consideration and 
23
  * this code is really the most spegatthi that you'll ever seen, I only have 2 weeks to figure everything out
25
  * this code is really the most spegatthi that you'll ever seen, I only have 2 weeks to figure everything out
31
 root.render(
33
 root.render(
32
   <Provider store={store}>
34
   <Provider store={store}>
33
     <App />
35
     <App />
36
+    {/* <Maintainance/> */}
34
   </Provider>
37
   </Provider>
35
 );
38
 );
36
 
39
 

+ 3
- 3
src/pages/Home.jsx View File

10
 import ProductType from '../components/ProductType';
10
 import ProductType from '../components/ProductType';
11
 import NewsLetter from '../components/NewsLetter';
11
 import NewsLetter from '../components/NewsLetter';
12
 import ProductService from "../services/ProductService"
12
 import ProductService from "../services/ProductService"
13
-import AmberHomeWallpaper from "../assets/images/titleBg.jpg";
14
-import AmberBeautyWallpaper from "../assets/images/amberBeautyWallpaper.jpg";
15
-import AmberClothing from "../assets/images/amberClothing.jpg"
13
+import AmberHomeWallpaper from "../assets/images/amberHomeWallpaper.webp";
14
+import AmberBeautyWallpaper from "../assets/images/amberBeautyWallpaper.webp";
15
+import AmberClothing from "../assets/images/amberClothing.webp"
16
 
16
 
17
 const Home = () => {
17
 const Home = () => {
18
 
18
 

+ 17
- 0
src/pages/Maintainance.jsx View File

1
+import React from 'react'
2
+import { Box } from '@mui/material'
3
+
4
+const Maintainance = () => {
5
+    return (
6
+        <Box
7
+            sx={{
8
+                height:"100vh",
9
+                width:"100%",
10
+                backgroundColor:"red"
11
+            }}
12
+        >
13
+        </Box>
14
+    )
15
+}
16
+
17
+export default Maintainance

Loading…
Cancel
Save