Skip to content

Feat/first challenge#77

Open
alain-chevanier wants to merge 28 commits into
wizelineacademy:masterfrom
alain-chevanier:feat/first-challenge
Open

Feat/first challenge#77
alain-chevanier wants to merge 28 commits into
wizelineacademy:masterfrom
alain-chevanier:feat/first-challenge

Conversation

@alain-chevanier

Copy link
Copy Markdown

First Challenge solution.

screen shot 2018-07-09 at 2 07 53 am

screen shot 2018-07-09 at 2 08 31 am

Comment thread src/AppRouting.jsx Outdated

const AppRouting = () => (
<Router>
<Switch>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread src/AppRouting.jsx Outdated
<Switch>
<Route path="/trending" component={Trending} />
<Route path="/favorite" component={Favorite} />
<Redirect to="/trending" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to send an object to let the user know what happened with that not found route.

const NavBarElement = styled(Link)`
float: left;
color: ${props => (props.active ? 'white' : '#f2f2f2')};
background-color: ${props => (props.active ? '#4CAF50' : 'inherit')};

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread src/index.js

import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still using global css

text-align: center;
}

.c2 {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:uff:

Alain Perez Chevanier added 3 commits July 12, 2018 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants