Skip to content
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

Add new Changes #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 81 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "robofriends",
"homepage": " https://jamesjaj.github.io/robofriends"
"version": "0.1.0",
"private": true,
"dependencies": {
Expand All @@ -11,11 +12,13 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"predeploy": " npm run build ",
" deploy " :" gh-pages -d build ",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
"production": [
">0.2%",
"not dead",
"not op_mini all"
Expand Down
2 changes: 1 addition & 1 deletion src/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class App extends Component {
<h1>Loading</h1> :
(
<div className='tc'>
<h1 className='f1'>RoboFriends</h1>
<h1 className='f1'>Welcome to robot World </h1>
<SearchBox searchChange={this.onSearchChange}/>
<Scroll>
<CardList robots={filteredRobots} />
Expand Down
33 changes: 2 additions & 31 deletions src/robots.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const robots = [
{
id: 1,
name: 'Leanne Graham',
name: 'James G ',
username: 'Bret',
email: '[email protected]'
},
Expand Down Expand Up @@ -29,34 +29,5 @@ export const robots = [
username: 'Kamren',
email: '[email protected]'
},
{
id: 6,
name: 'Mrs. Dennis Schulist',
username: 'Leopoldo_Corkery',
email: '[email protected]'
},
{
id: 7,
name: 'Kurtis Weissnat',
username: 'Elwyn.Skiles',
email: '[email protected]'
},
{
id: 8,
name: 'Nicholas Runolfsdottir V',
username: 'Maxime_Nienow',
email: '[email protected]'
},
{
id: 9,
name: 'Glenna Reichert',
username: 'Delphine',
email: '[email protected]'
},
{
id: 10,
name: 'Clementina DuBuque',
username: 'Moriah.Stanton',
email: '[email protected]'
}

];