forked from reactplay/react-play
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: api error handling in random quote card generator (reactplay#973)
* feat: Random Quote Card Generator * fix: Api error handling in Random Quote Card Generator
- Loading branch information
1 parent
8fc7ea3
commit 135976f
Showing
4 changed files
with
223 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
export const backupQuotes = [ | ||
{ | ||
id: 1, | ||
quote: 'It is not how long but how well we live that matters.', | ||
author: 'Jeremiah Say' | ||
}, | ||
{ | ||
id: 2, | ||
quote: 'Life is not a solo but a chorus. We live in relationships from cradle to grave.', | ||
author: 'Anon' | ||
}, | ||
{ | ||
id: 3, | ||
quote: "If you can't explain it simply, you don't understand it well enough.", | ||
author: 'Albert Einstein' | ||
}, | ||
{ | ||
id: 4, | ||
quote: | ||
'Live your best, and act your best, and think your best each day, for there may be no tomorrows.', | ||
author: 'Anon' | ||
}, | ||
{ | ||
id: 5, | ||
quote: 'Everything in life is a test of character.', | ||
author: 'John Blanchard' | ||
}, | ||
{ | ||
id: 6, | ||
quote: 'The quality of life is more important than life itself.', | ||
author: 'Alexis Carrel' | ||
}, | ||
{ | ||
id: 7, | ||
quote: 'Life is too short to be small.', | ||
author: 'Benjamin Disraeli' | ||
}, | ||
{ | ||
id: 8, | ||
quote: 'Make sure the thing you are living for is worth dying for.', | ||
author: 'Charles Mayes' | ||
}, | ||
{ | ||
id: 9, | ||
quote: 'The seven ages of man: spills, drills, thrills, bills, ills, pills, wills.', | ||
author: 'Richard J. Needham' | ||
}, | ||
{ | ||
id: 10, | ||
quote: 'We are here to add what we can to life, not to get what we can from it.', | ||
author: 'William Osler' | ||
}, | ||
{ | ||
id: 11, | ||
quote: 'The whole of life is a test, a trial of what is in us, so arranged by God himself.', | ||
author: 'William S. Plumer' | ||
}, | ||
{ | ||
id: 12, | ||
quote: | ||
'The two most important days in your life are the day you are born and the day you find out why.', | ||
author: 'Mark Twain' | ||
}, | ||
{ | ||
id: 13, | ||
quote: | ||
'We should employ our passions in the service of life, not spend life in the service of our passions.', | ||
author: 'Richard Steele' | ||
}, | ||
{ | ||
id: 14, | ||
quote: | ||
'Let us live as people who are prepared to die, and die as people who are prepared to live.', | ||
author: 'James S. Stewart' | ||
}, | ||
{ | ||
id: 15, | ||
quote: | ||
'Let us endeavour so to live that when we come to die even the undertaker will be sorry.', | ||
author: 'Mark Twain' | ||
}, | ||
{ | ||
id: 16, | ||
quote: 'No one can live well until they can die well.', | ||
author: 'David Watson' | ||
}, | ||
{ | ||
id: 17, | ||
quote: 'Take care of your life and the Lord will take care of your death.', | ||
author: 'George Whitefield' | ||
}, | ||
{ | ||
id: 18, | ||
quote: 'Success is walking from failure to failure with no loss of enthusiasm.', | ||
author: 'Winston Churchill' | ||
}, | ||
{ | ||
id: 19, | ||
quote: 'Great minds discuss ideas; average minds discuss events; small minds discuss people.', | ||
author: 'Eleanor Roosevelt' | ||
}, | ||
{ | ||
id: 20, | ||
quote: "I have not failed. I've just found 10,000 ways that won't work.", | ||
author: 'Thomas A. Edison' | ||
}, | ||
{ | ||
id: 21, | ||
quote: | ||
'A successful man is one who can lay a firm foundation with the bricks others have thrown at him.', | ||
author: 'David Brinkley' | ||
}, | ||
{ | ||
id: 22, | ||
quote: 'No one can make you feel inferior without your consent.', | ||
author: 'Eleanor Roosevelt' | ||
}, | ||
{ | ||
id: 23, | ||
quote: 'The distance between insanity and genius is measured only by success.', | ||
author: 'Bruce Feirstein' | ||
}, | ||
{ | ||
id: 24, | ||
quote: | ||
'When you stop chasing the wrong things, you give the right things a chance to catch you.', | ||
author: 'Lolly Daskal' | ||
}, | ||
{ | ||
id: 25, | ||
quote: "Don't be afraid to give up the good to go for the great.", | ||
author: 'John D. Rockefeller' | ||
} | ||
]; | ||
|
||
export const gradients = [ | ||
{ id: '1', gradient_color1: '#FF9966', gradient_color2: '#FF5E62' }, | ||
{ id: '2', gradient_color1: '#EC008C', gradient_color2: '#FC6767' }, | ||
{ id: '3', gradient_color1: '#4646FB', gradient_color2: '#BE4DFF' }, | ||
{ id: '4', gradient_color1: '#2D47A2', gradient_color2: '#00FFFF' }, | ||
{ id: '5', gradient_color1: '#870FFF', gradient_color2: '#F89B29' }, | ||
{ id: '6', gradient_color1: '#B1FE64', gradient_color2: '#24C75B' }, | ||
{ id: '7', gradient_color1: '#BAFFAD', gradient_color2: '#ADCEFF' }, | ||
{ id: '8', gradient_color1: '#FFC7CA', gradient_color2: '#E299FF' } | ||
]; |