Bläddra i källkod

Refactor code structure for improved readability and maintainability

master
Amirul Anwar 6 dagar sedan
förälder
incheckning
caa00a899a

Binär
src/assets/images/MAINHEADER-11.webp Visa fil


Binär
src/assets/video/singlelook1.mp4 Visa fil


+ 3
- 0
src/components/CarouselContainer/CarouselContainer.jsx Visa fil

@@ -10,6 +10,7 @@ import mainImage5 from "../../assets/images/MAINHEADER-05.webp";
10 10
 import mainImage6 from "../../assets/images/MAINHEADER-06.webp";
11 11
 import mainImage8 from "../../assets/images/MAINHEADER-08.webp";
12 12
 import mainImage10 from "../../assets/images/MAINHEADER-10.png";
13
+import mainImage11 from "../../assets/images/MAINHEADER-11.jpg";
13 14
 
14 15
 import mainImageMobile from "../../assets/images/mainwallpaper-mobile.jpg";
15 16
 import { Carousel } from 'react-responsive-carousel';
@@ -17,6 +18,7 @@ import { Carousel } from 'react-responsive-carousel';
17 18
 const CarouselContainer = () => {
18 19
 
19 20
   const items = [
21
+    { img_src: mainImage11, alt_name: "Image 11" },
20 22
     { img_src: mainImage10, alt_name: "Image 10" },
21 23
     { img_src: mainImage8, alt_name: "Image 8" },
22 24
     { img_src: mainImage6, alt_name: "Image 6" },
@@ -26,6 +28,7 @@ const CarouselContainer = () => {
26 28
     { img_src: mainImage2, alt_name: "Image 2" },
27 29
     { img_src: mainImage1, alt_name: "Image 1" },
28 30
 
31
+    { img_src: mainImage11, alt_name: "Image 11" },
29 32
     { img_src: mainImage10, alt_name: "Image 10" },
30 33
     { img_src: mainImage8, alt_name: "Image 8" },
31 34
     { img_src: mainImage6, alt_name: "Image 6" },

+ 2
- 1
src/components/VideoAds/VideoAds.jsx Visa fil

@@ -1,7 +1,8 @@
1 1
 import { useRef, useState, useEffect  } from 'react';
2 2
 import { Box, Button } from '@mui/material';
3 3
 import PropTypes from 'prop-types';
4
-import videoAds from "../../assets/video/WebsiteAmberOASIS2025.mp4";
4
+// import videoAds from "../../assets/video/WebsiteAmberOASIS2025.mp4";
5
+import videoAds from "../../assets/video/singlelook1.mp4";
5 6
 
6 7
 const VideoAds = ({ video_url, height, width }) => {
7 8
   const videoRef = useRef(null);

+ 1
- 0
src/pages/Home.jsx Visa fil

@@ -13,6 +13,7 @@ import ProductService from "../services/ProductService"
13 13
 import AmberHomeWallpaper from "../assets/images/amberHomeWallpaper.webp";
14 14
 import AmberBeautyWallpaper from "../assets/images/amberBeautyWallpaper.webp";
15 15
 import AmberClothing from "../assets/images/MAINHEADER-09.webp"
16
+import AmberClothing from "../assets/images/MAINHEADER-11.webp";
16 17
 
17 18
 const Home = () => {
18 19
 

Laddar…
Avbryt
Spara