瀏覽代碼

new addon main header

master
azri 9 月之前
父節點
當前提交
340c2c1dbd
共有 3 個檔案被更改,包括 6 行新增0 行删除
  1. 二進制
      src/assets/images/MAINHEADER-03.webp
  2. 二進制
      src/assets/images/MAINHEADER-04.webp
  3. 6
    0
      src/components/CarouselContainer/CarouselContainer.jsx

二進制
src/assets/images/MAINHEADER-03.webp 查看文件


二進制
src/assets/images/MAINHEADER-04.webp 查看文件


+ 6
- 0
src/components/CarouselContainer/CarouselContainer.jsx 查看文件

4
 import ArrowForwardIosIcon from "@mui/icons-material/ArrowForwardIos";
4
 import ArrowForwardIosIcon from "@mui/icons-material/ArrowForwardIos";
5
 import mainImage1 from "../../assets/images/MAINHEADER-01.webp";
5
 import mainImage1 from "../../assets/images/MAINHEADER-01.webp";
6
 import mainImage2 from "../../assets/images/MAINHEADER-02.webp";
6
 import mainImage2 from "../../assets/images/MAINHEADER-02.webp";
7
+import mainImage3 from "../../assets/images/MAINHEADER-03.webp";
8
+import mainImage4 from "../../assets/images/MAINHEADER-04.webp";
7
 import mainImageMobile from "../../assets/images/mainwallpaper-mobile.jpg";
9
 import mainImageMobile from "../../assets/images/mainwallpaper-mobile.jpg";
8
 import { Carousel } from 'react-responsive-carousel';
10
 import { Carousel } from 'react-responsive-carousel';
9
 
11
 
10
 const CarouselContainer = () => {
12
 const CarouselContainer = () => {
11
 
13
 
12
   const items = [
14
   const items = [
15
+    { img_src: mainImage3, alt_name: "Image 3" },
16
+    { img_src: mainImage4, alt_name: "Image 4" },
13
     { img_src: mainImage2, alt_name: "Image 2" },
17
     { img_src: mainImage2, alt_name: "Image 2" },
14
     { img_src: mainImage1, alt_name: "Image 1" },
18
     { img_src: mainImage1, alt_name: "Image 1" },
19
+    { img_src: mainImage3, alt_name: "Image 3" },
20
+    { img_src: mainImage4, alt_name: "Image 4" },
15
     { img_src: mainImage2, alt_name: "Image 2" },
21
     { img_src: mainImage2, alt_name: "Image 2" },
16
     { img_src: mainImage1, alt_name: "Image 1" },
22
     { img_src: mainImage1, alt_name: "Image 1" },
17
   ];
23
   ];

Loading…
取消
儲存