From 6092ba0c1bd4e90fb7ad197781aa2729a179f10b Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 24 Jan 2022 14:56:22 +0330 Subject: [PATCH] update --- src/App.js | 4 ++- src/components/CourseChapter/index.js | 42 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 src/components/CourseChapter/index.js diff --git a/src/App.js b/src/App.js index d11851b..8659291 100644 --- a/src/App.js +++ b/src/App.js @@ -33,6 +33,7 @@ import ProductStatusCard from "./components/ProductStatusCard"; import AdvertisementDesign1 from "./components/Advertisement/design1"; import AdvertisementDesign2 from "./components/Advertisement/design2"; import AdvertisementDesign3 from "./components/Advertisement/design3"; +import CourseChapter from "./components/CourseChapter"; function App() { return ( @@ -56,7 +57,7 @@ function App() { {/* */} {/* */} {/* */} - {/* */} + {/* */} {/* */} {/* */} @@ -68,6 +69,7 @@ function App() { {/* */} {/* */} {/* */} + ); diff --git a/src/components/CourseChapter/index.js b/src/components/CourseChapter/index.js new file mode 100644 index 0000000..43c858e --- /dev/null +++ b/src/components/CourseChapter/index.js @@ -0,0 +1,42 @@ +import React from "react"; + +const CourseChapter = () => { + return ( +
+
+ {/* top */} +
+
+

سرفصل دوره

+
+
+ علوم تجربی + پایه ششم +
+
+ {/* divider */} +
+ {/* course title */} +
+

فصل اول: مباحث جوشش مواد مذاب در مرکز

+

2:30:13

+
+
+
+ ); +}; + +export default CourseChapter; + +CourseChapter.defaultProps = { + chapters: [ + { + title: "", + duration: "", + lessons: [{ title: "", duration: "", play: "" }], + }, + ], +};