From d7aeeb36f094532b5cd8b6fe8df8befe4210e7a0 Mon Sep 17 00:00:00 2001 From: Pkpedram Date: Sun, 30 Jan 2022 15:20:08 +0330 Subject: [PATCH] Home Page Done ( Yes, Last Part Has Problems But Believe me We Had No Other Option! ) --- src/views/Home/Desktop/Part4/index.js | 116 ++++++++++++++++++++++++++ src/views/Home/Desktop/index.js | 2 + 2 files changed, 118 insertions(+) create mode 100644 src/views/Home/Desktop/Part4/index.js diff --git a/src/views/Home/Desktop/Part4/index.js b/src/views/Home/Desktop/Part4/index.js new file mode 100644 index 0000000..2807ab6 --- /dev/null +++ b/src/views/Home/Desktop/Part4/index.js @@ -0,0 +1,116 @@ +import React from "react"; +import Button from "../../../../components/Button"; +import VodProduct from "../../../../components/VodProduct"; +import { Link } from "react-router-dom"; +import posterImage from '../../../../assets/images/poster.svg' +const Part4 = () => { + const videosData = [ + { + id: 0, + name: "ریاضی", + price: "145.000", + grade: " پایه چهارم ", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + }, + { + id: 2, + name: "علوم تجربی", + price: "145.000 ", + grade: "پایه سوم", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + }, + { + id: 1, + name: "زمین شناسی", + price: "145.000 ", + grade: "پایه چهارم", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + }, + { + id: 3, + name: "ریاضی", + price: "145.000 ", + grade: "پایه چهارم", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + }, + { + id: 5, + name: "ریاضی", + price: "145.000 ", + grade: "پایه چهارم", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + }, + { + id: 4, + name: "ریاضی", + price: "145.000 ", + grade: "پایه چهارم", + imageUrl: "https://dnvn.ir/api/v1/file/2105", + poster: posterImage, + } + ]; + + return
+
+
+
+

+ جدیدترین دوره های ویدیویی +

+
+
+ +
+
+ +
+} + +export default Part4; \ No newline at end of file diff --git a/src/views/Home/Desktop/index.js b/src/views/Home/Desktop/index.js index 001d699..5067edd 100644 --- a/src/views/Home/Desktop/index.js +++ b/src/views/Home/Desktop/index.js @@ -9,6 +9,7 @@ import SalesContainer from "../../../components/SalesContainer"; import { book, publicApi } from "../../../redux/actions"; import Part2 from "./Part2"; import HomeImg from '../../../assets/images/HomeImg.svg'; +import Part4 from "./Part4"; const DesktopHome = ( { @@ -28,6 +29,7 @@ return (
+ )