- Notifications
You must be signed in to change notification settings - Fork1
ccbp Time Line
MPrashanthR/CCBP-TIMELINE-react.js
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
In this project, let's build aCCBP Timeline by applying the concepts we have learned till now.
Click to view
Click to view
- Download dependencies by running
npm install - Start up the app using
npm start
Functionality to be added
The app must have the following functionalities
Initially, the page should display the timeline items list usingChrono custom rendering based on the
categoryIdThe
TimelineViewcomponent is provided withtimelineItemsList. It consists of a list of timeline item objects with the following properties in each timeline item objectThe
timelineItemObjectwithcategoryIdasCOURSEwill have the following propertiesKey Data Type id String categoryId String title String courseTitle String description String duration String tagsList Array The
tagsListObjectwill have the following propertiesKey Data Type id String name String The
timelineItemObjectwithcategoryIdasPROJECTwill have the following propertiesKey Data Type id String categoryId String title String projectTitle String description String imageUrl String duration String projectUrl String
If the value of the key
categoryIdintimelineItemObjectisPROJECTthen Project card should be rendered- The
ProjectTimelineCardshould consist ofVisit link when a user clicks on it, then the page should be navigated to the respective project - The
ProjectTimelineCardshould consist of aCalendar icon with respectivedurationtext
- The
If the value of the key
categoryIdintimelineItemObjectisCOURSEthen the Course card should be rendered- The
CourseTimelineCardshould consist of aClock icon with respectivedurationtext
- The
Give the timeline items list data as a value to
itemsprop for theChronocomponent fromreact-chrono, so that the title will be displayed beside each card
Implementation Files
Use these files to complete the implementation:
src/components/TimelineView/index.jssrc/components/TimelineView/index.csssrc/components/CourseTimelineCard/index.jssrc/components/CourseTimelineCard/index.csssrc/components/ProjectTimelineCard/index.jssrc/components/ProjectTimelineCard/index.css
Click to view
- To build this project, take a look at theReact Chrono reading material
The following instructions are required for the tests to pass
AiFillClockCircle,AiFillCalendaricons fromreact-iconsshould be used forclock andcalender icons in card respectively
Colors
Font-families
- Roboto
- All components you implement should go in the
src/componentsdirectory.- Don't change the component folder names as those are the files being imported into the tests.
- Do not remove the pre-filled code
- Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.
About
ccbp Time Line
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.

