Selaa lähdekoodia

Refactor code structure for improved readability and maintainability

master
Amirul Anwar 1 kuukausi sitten
vanhempi
commit
a765f7bc72

BIN
src/assets/images/MAINHEADER-12.webp Näytä tiedosto


+ 3
- 0
src/components/CarouselContainer/CarouselContainer.jsx Näytä tiedosto

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

+ 1
- 1
src/pages/Home.jsx Näytä tiedosto

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

Loading…
Peruuta
Tallenna