Skip to content

Commit

Permalink
Coures-Content Comming
Browse files Browse the repository at this point in the history
  • Loading branch information
raihanuldev committed Nov 19, 2023
1 parent 3b5a02b commit 6c72c77
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
comming.png,1695748201974,bc9c2c33145f831d1345c85d756de7b59c74700fc2e3607655b251ab28e36c80
vite.svg,1685369108364,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1700168321396,0703fff789f2de93e68ee30afab5da2bc47856d56415882d8a56323ae40582b5
assets/index-a626a502.css,1700168321396,82f5e303befaca5dc4d5099ef6c355a121753eb0550ec0bf7d3784f9f657eacd
assets/purify.es-cf254a40.js,1700168321396,a5ee64d645961afa215b3dcb66d0cb2e5291cce15de4cae9b45f4add3437aa56
assets/index.es-039a8b1c.js,1700168321396,d6d3df7f3bccb68291d044211dda89cf7ca32ca2b4bc0cec49754fdc5655d1e7
assets/html2canvas.esm-e0a7d97b.js,1700168321400,9b2cbfa1c8f848efe57f08ceeec342cf596c0638351ca94c65c182f6bf62f8ce
recyco.jpg,1700161721427,d365bcc67765a77c408184c9fc8671d50037be2295c8cb088c88b347cb2d3048
assets/index-77e39713.js,1700168321401,73af7310423c29db95b71c3f0440435fa80ac99bd8648b7c68fd76c80f9cdfba
speakup.jpg,1700161721677,04d8f167ce4f8b5f80f792bb4d8b77833afb7c9c8ba2a7a75e9bc6c3991583e5
speakup1.jpg,1700161722038,ea56fad8a31670da42950e583d33c442ab8a6457f59c1f7fb8cb354ff1020840
vite.svg,1685369108364,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
index.html,1700258443733,1aa095e6e7dc73b64f6473bec80a73ed445c93480c832d4e3f166a1624459b15
assets/index-a626a502.css,1700258443719,82f5e303befaca5dc4d5099ef6c355a121753eb0550ec0bf7d3784f9f657eacd
assets/purify.es-cf254a40.js,1700258443734,a5ee64d645961afa215b3dcb66d0cb2e5291cce15de4cae9b45f4add3437aa56
assets/index.es-99330f11.js,1700258443734,8d82381025d220b049112a4eb45accbf5d5487baa3c972770893e1e66cf3a63b
assets/html2canvas.esm-e0a7d97b.js,1700258443733,9b2cbfa1c8f848efe57f08ceeec342cf596c0638351ca94c65c182f6bf62f8ce
assets/index-7fd78f69.js,1700258443844,03441a21e834ff68d82f59ec66fa15a1054ef91d3631d3b158210cb0571f29fa
5 changes: 3 additions & 2 deletions src/Dashbord/EnrolledClasses/Item.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { Link } from "react-router-dom";

const Item = ({ item,index }) => {
console.log(item);
// console.log(item);
return (
<tr className="bg-base-200">
<th>{index+1}</th>
<td>{item.name}</td>
<td>{item.instructorName}</td>
<td> <button className="btn btn-outline ">Continue Class</button> </td>
<td> <Link to='/dashbord/coures-content' state={{item}} className="btn btn-outline ">Continue Class</Link> </td>
</tr>
);

Expand Down
11 changes: 11 additions & 0 deletions src/Dashbord/coures-content/CouresContent.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const CouresContent = () => {
return (
<div>
<p>This is Coures content Page. Initaly there will.</p>
</div>
);
};

export default CouresContent;
5 changes: 5 additions & 0 deletions src/Routes/router.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import PaymentChoose from "../Pages/payments/PaymentChoose";
import SslPay from "../Pages/payments/ssl/SslPay";
import DashbordHome from "../Dashbord/DashbordHome/DashbordHome";
import CouresDetails from "../Pages/couresDetails/CouresDetails";
import CouresContent from "../Dashbord/coures-content/CouresContent";

export const router = createBrowserRouter([
{
Expand Down Expand Up @@ -91,6 +92,10 @@ export const router = createBrowserRouter([
path: 'enrolled-class',
element: <EnrolledClass></EnrolledClass>
},
{
path: 'coures-content',
element: <CouresContent/>
},
{
path: 'payment-history',
element: <PaymentHistory></PaymentHistory>
Expand Down

0 comments on commit 6c72c77

Please sign in to comment.