Git Product home page Git Product logo

react-router-challenge's Introduction

Getting Started

This challenge is designed to step you through implementing a multi-page Sinatra-and-React portfolio site (for Jane Jupiter, Developer) using React Router. We have provided the React components. It's up to you to set up the routes!

Setup

From your challenges directory, run the following:

$ et get react-router-challenge
$ cd react-router-challenge
$ bundle install
$ bundle exec ruby app.rb -o 0.0.0.0

Then, in another terminal tab, run:

$ npm install
$ npm start

Navigate to localhost:4567. You should see a blank page and no errors in your console.

Requirements

  • Create a navigation bar component with links to "Jane's Resume" and "Jane's Projects."

  • The nav bar should also include a Back Button (utilizing browserHistory) that takes you to the previous page.

  • The navigation bar should display on every page.

  • When you first navigate to the site, you should see the "About Jane" page, rendered by the About component.

  • The /resume path should display the Resume component.

  • The /projects path should display the ProjectsIndexContainer.

  • The /projects/:id path should display the ProjectShowContainer.

  • On the "Jane's Projects" page, clicking on a project's name should send you to the show page for that project. Create dynamic links (using <Link />) for each project.

  • The categories ("Skills", "Past Work", "Education", and "Volunteer Experiences") listed at the top of Jane's Resume should link to the appropriate sub-sections of that page.

Hint: This part may not actually require work in Router itself!

  • Everything should be nicely styled! This is a portfolio site, after all. Use your knowledge of CSS to make things pretty, and feel free to strip out the initial styling. The Foundation framework and Font Awesome have also been provided to you via a CDN.

Pro Tips

  • We have created most of the components and containers you need, but you will need to set up an <App /> component and define your routes in there.
  • You will need to finish the (already existing) Layout.js and BackButton.js components.
  • You will need to add code to your main.js file.
  • Utilize nested routes to share UI across different pages.

react-router-challenge's People

Contributors

charrhia avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.