Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ccbp Time Line

NotificationsYou must be signed in to change notification settings

MPrashanthR/CCBP-TIMELINE-react.js

Repository files navigation

In this project, let's build aCCBP Timeline by applying the concepts we have learned till now.


ccbp timeline output

Design Files

Click to view

Set Up Instructions

Click to view
  • Download dependencies by runningnpm install
  • Start up the app usingnpm start

Completion Instructions

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 thecategoryId

  • TheTimelineView component is provided withtimelineItemsList. It consists of a list of timeline item objects with the following properties in each timeline item object

    • ThetimelineItemObject withcategoryId asCOURSE will have the following properties

      KeyData Type
      idString
      categoryIdString
      titleString
      courseTitleString
      descriptionString
      durationString
      tagsListArray
    • ThetagsListObject will have the following properties

      KeyData Type
      idString
      nameString
    • ThetimelineItemObject withcategoryId asPROJECT will have the following properties

      KeyData Type
      idString
      categoryIdString
      titleString
      projectTitleString
      descriptionString
      imageUrlString
      durationString
      projectUrlString
  • If the value of the keycategoryId intimelineItemObject isPROJECT then Project card should be rendered

    • TheProjectTimelineCard should consist ofVisit link when a user clicks on it, then the page should be navigated to the respective project
    • TheProjectTimelineCard should consist of aCalendar icon with respectiveduration text
  • If the value of the keycategoryId intimelineItemObject isCOURSE then the Course card should be rendered

    • TheCourseTimelineCard should consist of aClock icon with respectiveduration text
  • Give the timeline items list data as a value toitems prop for theChrono component fromreact-chrono, so that the title will be displayed beside each card

Components Structure
component structure breakdown

Implementation Files

Use these files to complete the implementation:

  • src/components/TimelineView/index.js
  • src/components/TimelineView/index.css
  • src/components/CourseTimelineCard/index.js
  • src/components/CourseTimelineCard/index.css
  • src/components/ProjectTimelineCard/index.js
  • src/components/ProjectTimelineCard/index.css

Important Note

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,AiFillCalendar icons fromreact-icons should be used forclock andcalender icons in card respectively

Resources

Colors
Hex: #171f46
Hex: #1e293b
Hex: #ffffff
Hex: #0967d2
Hex: #2b237c
Font-families
  • Roboto

Things to Keep in Mind

  • All components you implement should go in thesrc/components directory.
  • 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp