generated from BuildForSDG/js-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
122 ft single course dashboard uiux design #123
Open
drfidel
wants to merge
9
commits into
develop
Choose a base branch
from
122-ft-single-course-dashboard-uiux-design
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
af9679e
Replace course table with card, and improved UI
drfidel e82bf13
ft view enrolled course cards, fetch enrolled courses
drfidel 74ed1cd
Enhanced fetching all and enrolled courses in teachers dashboard comp…
drfidel cbf15e7
enhancement for enroll - resume course button
drfidel bd42e36
lint
drfidel 5427580
Merge branch 'develop' into 122-ft-single-course-dashboard-uiux-design
mariamiah be9506b
cleaned code, improved code fetching
drfidel a61e8e9
Merge branches '122-ft-single-course-dashboard-uiux-design' and '122-…
drfidel 2f25203
Merge branch 'develop' into 122-ft-single-course-dashboard-uiux-design
drfidel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,5 @@ | |
@import "../node_modules/react-bootstrap-table-next/dist/react-bootstrap-table2.min.css"; | ||
@import url("https://bootswatch.com/_vendor/bootstrap/dist/css/bootstrap.min.css"); | ||
@import "../node_modules/react-loader-spinner/dist/loader/css/react-spinner-loader.css"; | ||
@import url(https://fonts.googleapis.com/css?family=Open + Sans:300, 400, 600, 700|Open + Sans + Condensed:300, 700); | ||
@import url("https://fonts.googleapis.com/css?family=Open + Sans:300, 400, 600, 700|Open + Sans + Condensed:300, 700"); | ||
@import url("https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
import SrcImg from "../../assets/images/img_4.jpg"; | ||
|
||
const SingleCourseCard = (props) => { | ||
return ( | ||
<div className="col-sm"> | ||
<Link to={`courses/${props.courseid}`} style={{ color: "#000", textDecoration: "inherit" }}> | ||
<div className="card course"> | ||
<img src={SrcImg} alt={props.courset} className="img-fluid" /> | ||
<div className="course-name">{props.coursecat}</div> | ||
<div className="card-body"> | ||
<h5 className="card-title">{props.courset}</h5> | ||
<p className="card-text">{props.coursedes}</p> | ||
<div className="meta"> | ||
<span className="icon-clock-o"></span>Duration: {props.coursetime} hours | ||
</div> | ||
<div className="meta"> | ||
<span className="icon-user"></span>Mr.{props.courseinstructor} as Instructor | ||
</div> | ||
<div className="d-flex border-top stats"> | ||
<div className="py-3 px-4"> | ||
<span className="icon-users"></span> 2,193 students | ||
</div> | ||
<div className="py-3 px-4 w-25 ml-auto border-left"> | ||
<span className="icon-chat"></span> 2 | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</Link> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SingleCourseCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from "./CourseCard.jsx"; | ||
export * from "./SingleCourseCard.jsx"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question though What are we using jquery for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added it because the nav bar component on the teacher's page that i was testing wasnt working....but i think it was my dev environments issue....let me clean those sections out, thanks