diff --git a/frontend/src/components/Dashboard.js b/frontend/src/components/Dashboard.js index d746a1aa..ff72bce6 100644 --- a/frontend/src/components/Dashboard.js +++ b/frontend/src/components/Dashboard.js @@ -1,5 +1,7 @@ import React, { Component } from "react"; import Header from "./partials/Header" +import Offer from "./partials/Offer" + import '../css/form.css'; // import { NavLink } from 'react-router-dom'; @@ -11,110 +13,10 @@ class Dashboard extends Component {
- -
-
-
- -
-
-
- Kkoo to Mbezi -
-
- Time: 1800 hrs -
-
-
-
- With: Benito -
-
- Rating: some stars -
-
-
-
-
- -
-
-
- -
-
-
- Kkoo to Mbezi -
-
- Time: 1800 hrs -
-
-
-
- With: Benito -
-
- Rating: some stars -
-
-
-
-
- -
-
-
- -
-
-
- Kkoo to Mbezi -
-
- Time: 1800 hrs -
-
-
-
- With: Benito -
-
- Rating: some stars -
-
-
-
-
- -
-
-
- -
-
-
- Kkoo to Mbezi -
-
- Time: 1800 hrs -
-
-
-
- With: Benito -
-
- Rating: some stars -
-
-
-
-
- +
- + ); diff --git a/frontend/src/components/partials/Offer.js b/frontend/src/components/partials/Offer.js new file mode 100644 index 00000000..731be5b2 --- /dev/null +++ b/frontend/src/components/partials/Offer.js @@ -0,0 +1,34 @@ +import React, { Component } from "react"; +import { NavLink } from 'react-router-dom'; + +class Offer extends Component { + render () { + return ( +
+
+
+ +
+
+
+ Kkoo to Mbezi +
+
+ Time: 1800 hrs +
+
+
+
+ With: Benito +
+
+ Rating: some stars +
+
+
+
+ ); + } +} + +export default Offer;