This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seperated default and custom cats, setup default cats to auto update …
…if cats.js changes Closes #34
- Loading branch information
1 parent
40ee99a
commit 5abd90f
Showing
10 changed files
with
1,394 additions
and
1,559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,69 @@ | ||
const cats = {cats: [ | ||
{ | ||
id: 'CamperCat', | ||
likes: 3, | ||
tags: ['Coding', 'Guru', 'Ninja'], | ||
title: 'Camper Cat', | ||
url: 'https://media.giphy.com/media/o0vwzuFwCGAFO/giphy.gif', | ||
}, | ||
{ | ||
id: 'Cat-in-a-hat', | ||
likes: 7, | ||
tags: ['Cute', 'Hat', 'Standing'], | ||
title: 'Cat-in-a-hat', | ||
url: 'https://s-media-cache-ak0.pinimg.com/564x/27/df/cc/27dfcc17a8cefe56c99277d63be0d815.jpg', | ||
}, | ||
{ | ||
id: 'FluffBall', | ||
likes: 2, | ||
tags: ['Fluffy', 'No-legs', 'Ball', 'Flying'], | ||
title: 'Fluff Ball', | ||
url: 'http://www.top13.net/wp-content/uploads/2015/10/perfectly-timed-funny-cat-pictures-5.jpg', | ||
}, | ||
{ | ||
id: 'GrumpyCat', | ||
likes: 4, | ||
tags: ['Grumpy', 'Funny', 'Famous'], | ||
title: 'Grumpy Cat', | ||
url: 'http://i.dailymail.co.uk/i/pix/2014/08/05/1407225932091_wps_6_SANTA_MONICA_CA_AUGUST_04.jpg', | ||
}, | ||
{ | ||
id: 'HappyCat', | ||
likes: 9, | ||
tags: ['Happy', 'Winking', 'Smiling'], | ||
title: 'Happy Cat', | ||
url: 'https://pbs.twimg.com/profile_images/2167035896/123cat_400x400.jpg', | ||
}, | ||
{ | ||
id: 'LaughingCat', | ||
likes: 27, | ||
tags: ['laughing', 'Funny', 'Snicker'], | ||
title: 'Laughing Cat', | ||
url: 'http://blog.nekoflies.com/wp-content/uploads/2014/01/funny-cat.jpg', | ||
}, | ||
{ | ||
id: 'ScaredyCat', | ||
likes: 18, | ||
tags: ['Hiding', 'Cute', 'Scared'], | ||
title: 'Scaredy Cat ', | ||
url: 'https://i.ytimg.com/vi/MG8KADiRbOU/maxresdefault.jpg', | ||
}, | ||
{ | ||
id: 'ShockedCat', | ||
likes: 11, | ||
tags: ['What is THAT!?', 'Shocked', 'Funny'], | ||
title: 'Shocked Cat', | ||
url: 'https://i.ytimg.com/vi/icqDxNab3Do/maxresdefault.jpg', | ||
}, | ||
{ | ||
id: 'SleepingCat', | ||
likes: 2, | ||
tags: ['Sleeping', 'Cute', 'Kitten'], | ||
title: 'Sleeping Cat', | ||
url: 'http://www.acuteaday.com/blog/wp-content/uploads/2012/09/sleeping-kitty-cat.jpg', | ||
}, | ||
], | ||
const cats = { | ||
defaultCats: [ | ||
{ | ||
id: 'CamperCat', | ||
likes: 3, | ||
tags: ['Coding', 'Guru', 'Ninja'], | ||
title: 'Camper Cat', | ||
url: 'https://media.giphy.com/media/o0vwzuFwCGAFO/giphy.gif', | ||
}, | ||
{ | ||
id: 'Cat-in-a-hat', | ||
likes: 7, | ||
tags: ['Cute', 'Hat', 'Standing'], | ||
title: 'Cat-in-a-hat', | ||
url: 'https://s-media-cache-ak0.pinimg.com/564x/27/df/cc/27dfcc17a8cefe56c99277d63be0d815.jpg', | ||
}, | ||
{ | ||
id: 'FluffBall', | ||
likes: 2, | ||
tags: ['Fluffy', 'No-legs', 'Ball', 'Flying'], | ||
title: 'Fluff Ball', | ||
url: 'http://www.top13.net/wp-content/uploads/2015/10/perfectly-timed-funny-cat-pictures-5.jpg', | ||
}, | ||
{ | ||
id: 'GrumpyCat', | ||
likes: 4, | ||
tags: ['Grumpy', 'Funny', 'Famous'], | ||
title: 'Grumpy Cat', | ||
url: 'http://i.dailymail.co.uk/i/pix/2014/08/05/1407225932091_wps_6_SANTA_MONICA_CA_AUGUST_04.jpg', | ||
}, | ||
{ | ||
id: 'HappyCat', | ||
likes: 9, | ||
tags: ['Happy', 'Winking', 'Smiling'], | ||
title: 'Happy Cat', | ||
url: 'https://pbs.twimg.com/profile_images/2167035896/123cat_400x400.jpg', | ||
}, | ||
{ | ||
id: 'LaughingCat', | ||
likes: 27, | ||
tags: ['laughing', 'Funny', 'Snicker'], | ||
title: 'Laughing Cat', | ||
url: 'http://blog.nekoflies.com/wp-content/uploads/2014/01/funny-cat.jpg', | ||
}, | ||
{ | ||
id: 'ScaredyCat', | ||
likes: 18, | ||
tags: ['Hiding', 'Cute', 'Scared'], | ||
title: 'Scaredy Cat ', | ||
url: 'https://i.ytimg.com/vi/MG8KADiRbOU/maxresdefault.jpg', | ||
}, | ||
{ | ||
id: 'ShockedCat', | ||
likes: 11, | ||
tags: ['What is THAT!?', 'Shocked', 'Funny'], | ||
title: 'Shocked Cat', | ||
url: 'https://i.ytimg.com/vi/icqDxNab3Do/maxresdefault.jpg', | ||
}, | ||
{ | ||
id: 'SleepingCat', | ||
likes: 2, | ||
tags: ['Sleeping', 'Cute', 'Kitten'], | ||
title: 'Sleeping Cat', | ||
url: 'http://www.acuteaday.com/blog/wp-content/uploads/2012/09/sleeping-kitty-cat.jpg', | ||
}, | ||
], | ||
}; | ||
|
||
export default cats; |
Oops, something went wrong.