export interface Quote { text: string; author: string; } export const christmasQuotes: Quote[] = [ { text: 'Christmas waves a magic wand over this world, and behold, everything is softer and more beautiful.', author: 'Norman Vincent Peale' }, { text: 'The best way to spread Christmas cheer is singing loud for all to hear.', author: 'Buddy the Elf' }, { text: 'Christmas is not a time nor a season, but a state of mind. To cherish peace and goodwill, to be plenteous in mercy, is to have the real spirit of Christmas.', author: 'Calvin Coolidge' }, { text: 'I will honor Christmas in my heart, and try to keep it all the year.', author: 'Charles Dickens' }, { text: 'Christmas is doing a little something extra for someone.', author: 'Charles M. Schulz' }, { text: 'The magic of Christmas is not in the presents, but in His presence.', author: 'Anonymous' }, { text: 'Christmas is the season of joy, of gift-giving, and of families united.', author: 'Norman Vincent Peale' }, { text: 'Peace on earth will come to stay, when we live Christmas every day.', author: 'Helen Steiner Rice' }, { text: 'Christmas is most truly Christmas when we celebrate it by giving the light of love to those who need it most.', author: 'Ruth Carter Stapleton' }, { text: 'The best of all gifts around any Christmas tree: the presence of a happy family all wrapped up in each other.', author: 'Burton Hillis' }, { text: 'Christmas is a season not only of rejoicing but of reflection.', author: 'Winston Churchill' }, { text: 'Christmas is the day that holds all time together.', author: 'Alexander Smith' }, { text: 'Gifts of time and love are surely the basic ingredients of a truly merry Christmas.', author: 'Peg Bracken' }, { text: 'Christmas, my child, is love in action.', author: 'Dale Evans' }, { text: 'Christmas is the spirit of giving without a thought of getting.', author: 'Thomas S. Monson' }, { text: "The joy of brightening other lives, bearing each others' burdens, easing other's loads and supplanting empty hearts and lives with generous gifts becomes for us the magic of Christmas.", author: 'W. C. Jones' }, { text: "Christmas is a time when you get homesick - even when you're home.", author: 'Carol Nelson' }, { text: 'Christmas is the season for kindling the fire of hospitality in the hall, the genial flame of charity in the heart.', author: 'Washington Irving' }, { text: "A lovely thing about Christmas is that it's compulsory, like a thunderstorm, and we all go through it together.", author: 'Garrison Keillor' }, { text: 'The best Christmas trees come very close to exceeding nature.', author: 'Andy Rooney' }, { text: 'Christmas is not as much about opening our presents as opening our hearts.', author: 'Janice Maeditere' }, { text: 'At Christmas, all roads lead home.', author: 'Marjorie Holmes' }, { text: 'May you have the gladness of Christmas which is hope; The spirit of Christmas which is peace; The heart of Christmas which is love.', author: 'Ada V. Hendricks' }, { text: 'Christmas is a time when everybody wants his past forgotten and his present remembered.', author: 'Phyllis Diller' }, ]; export const businessQuotes: Quote[] = [ // --- STEVE JOBS --- { text: 'Your work is going to fill a large part of your life, and the only way to be truly satisfied is to do what you believe is great work.', author: 'Steve Jobs' }, { text: 'Innovation distinguishes between a leader and a follower.', author: 'Steve Jobs' }, { text: 'If you really look closely, most overnight successes took a long time.', author: 'Steve Jobs' }, { text: 'The only way to do great work is to love what you do.', author: 'Steve Jobs' }, { text: 'Get closer than ever to your customers. So close that you tell them what they need well before they realize it themselves.', author: 'Steve Jobs' }, { text: 'Innovation is the ability to see change as an opportunity – not a threat.', author: 'Steve Jobs' }, { text: 'Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple.', author: 'Steve Jobs' }, { text: "Stay hungry, stay foolish.", author: 'Steve Jobs' }, { text: "Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.", author: 'Steve Jobs' }, // --- BILL GATES --- { text: 'Your most unhappy customers are your greatest source of learning.', author: 'Bill Gates' }, { text: 'As we look ahead into the next century, leaders will be those who empower others.', author: 'Bill Gates' }, { text: 'To win big, you sometimes have to take big risks.', author: 'Bill Gates' }, { text: "Success is a lousy teacher. It seduces smart people into thinking they can't lose.", author: 'Bill Gates' }, { text: "Patience is a key element of success.", author: 'Bill Gates' }, { text: "We always overestimate the change that will occur in the next two years and underestimate the change that will occur in the next ten.", author: 'Bill Gates' }, // --- ELON MUSK --- { text: 'Work like hell. I mean you just have to put in 80 to 100 hour weeks every week.', author: 'Elon Musk' }, { text: 'When something is important enough, you do it even if the odds are not in your favor.', author: 'Elon Musk' }, { text: 'Persistence is very important. You should not give up unless you are forced to give up.', author: 'Elon Musk' }, { text: "If you get up in the morning and think the future is going to be better, it is a bright day. Otherwise, it's not.", author: 'Elon Musk' }, { text: "Failure is an option here. If things are not failing, you are not innovating enough.", author: 'Elon Musk' }, { text: "The first step is to establish that something is possible; then probability will occur.", author: 'Elon Musk' }, // --- NAVAL RAVIKANT --- { text: 'Play long-term games with long-term people.', author: 'Naval Ravikant' }, { text: "Specific knowledge is found by pursuing your genuine curiosity and passion rather than whatever is hot right now.", author: 'Naval Ravikant' }, { text: "Code and media are permissionless leverage. They are the leverage behind the newly rich.", author: 'Naval Ravikant' }, { text: "Wealth is having assets that earn while you sleep.", author: 'Naval Ravikant' }, { text: "Earn with your mind, not your time.", author: 'Naval Ravikant' }, { text: "The closer you are to the truth, the more silent you become inside.", author: 'Naval Ravikant' }, { text: "Intentions don't matter. Actions do. That's why being ethical is hard.", author: 'Naval Ravikant' }, // --- ALEX HORMOZI --- { text: "You don't become confident by shouting affirmations in the mirror, but by having a stack of undeniable proof that you are who you say you are.", author: 'Alex Hormozi' }, { text: "The distance between who you are and who you want to be is only separated by what you do.", author: 'Alex Hormozi' }, { text: "Focus is the ultimate competitive advantage.", author: 'Alex Hormozi' }, { text: "If you can delay gratification longer than your competition, you will win.", author: 'Alex Hormozi' }, { text: "Volume is the only way to overcome a lack of skill.", author: 'Alex Hormozi' }, { text: "The man who loves walking will walk further than the man who loves the destination.", author: 'Alex Hormozi' }, { text: "Skill is what you can do. Motivation determines what you do. Attitude determines how well you do it.", author: 'Alex Hormozi' }, // --- CHARLIE MUNGER --- { text: "Invert, always invert.", author: 'Charlie Munger' }, { text: "The big money is not in the buying and the selling, but in the waiting.", author: 'Charlie Munger' }, { text: "All I want to know is where I'm going to die, so I'll never go there.", author: 'Charlie Munger' }, { text: "Knowing what you don't know is more useful than being brilliant.", author: 'Charlie Munger' }, { text: "Spend each day trying to be a little wiser than you were when you woke up.", author: 'Charlie Munger' }, // --- WARREN BUFFETT --- { text: 'Price is what you pay. Value is what you get.', author: 'Warren Buffett' }, { text: "It takes 20 years to build a reputation and five minutes to ruin it. If you think about that, you'll do things differently.", author: 'Warren Buffett' }, { text: "Risk comes from not knowing what you're doing.", author: 'Warren Buffett' }, { text: "Rule No. 1: Never lose money. Rule No. 2: Never forget rule No. 1.", author: 'Warren Buffett' }, { text: "Only when the tide goes out do you discover who has been swimming naked.", author: 'Warren Buffett' }, // --- STOICISM & MINDSET --- { text: "The impediment to action advances action. What stands in the way becomes the way.", author: 'Marcus Aurelius' }, { text: "You have power over your mind — not outside events. Realize this, and you will find strength.", author: 'Marcus Aurelius' }, { text: "Waste no more time arguing what a good man should be. Be one.", author: 'Marcus Aurelius' }, { text: "The soul becomes dyed with the color of its thoughts.", author: 'Marcus Aurelius' }, { text: "We suffer more often in imagination than in reality.", author: 'Seneca' }, { text: "Luck is what happens when preparation meets opportunity.", author: 'Seneca' }, { text: "Difficulties strengthen the mind, as labor does the body.", author: 'Seneca' }, { text: "If a man knows not to which port he sails, no wind is favorable.", author: 'Seneca' }, { text: "It is not that we have a short time to live, but that we waste a lot of it.", author: 'Seneca' }, { text: "How long are you going to wait before you demand the best for yourself?", author: 'Epictetus' }, { text: "He who is brave is free.", author: 'Seneca' }, // --- PERSISTENCE & DISCIPLINE --- { text: 'Discipline is the bridge between goals and accomplishment.', author: 'Jim Rohn' }, { text: "If you really want to do something, you'll find a way. If you don't, you'll find an excuse.", author: 'Jim Rohn' }, { text: 'The secret of getting ahead is getting started.', author: 'Mark Twain' }, { text: 'Success is not final; failure is not fatal: It is the courage to continue that counts.', author: 'Winston Churchill' }, { text: 'Success is walking from failure to failure with no loss of enthusiasm.', author: 'Winston Churchill' }, { text: 'Don’t watch the clock; do what it does. Keep going.', author: 'Sam Levenson' }, { text: 'One day or day one. You decide.', author: 'Anonymous' }, { text: 'Don’t be busy. Be productive.', author: 'Anonymous' }, { text: 'Success isn’t owned, it’s leased. And rent is due every day.', author: 'J.J. Watt' }, { text: 'Hardships often prepare ordinary people for an extraordinary destiny.', author: 'C.S. Lewis' }, { text: 'It’s not whether you get knocked down, it’s whether you get up.', author: 'Vince Lombardi' }, { text: "Believe you can and you're halfway there.", author: 'Theodore Roosevelt' }, { text: 'Strength and growth come only through continuous effort and struggle.', author: 'Napoleon Hill' }, { text: 'A goal is a dream with a deadline.', author: 'Napoleon Hill' }, { text: "I have not failed. I've just found 10,000 ways that won't work.", author: 'Thomas Edison' }, { text: 'Vision without execution is hallucination.', author: 'Thomas Edison' }, { text: 'Done is better than perfect.', author: 'Sheryl Sandberg' }, { text: 'Success usually comes to those who are too busy to be looking for it.', author: 'Henry David Thoreau' }, { text: 'Success is the sum of small efforts, repeated day in and day out.', author: 'Robert Collier' }, // --- SALES & MARKETPLACE --- { text: 'Your brand is what people say about you when you are not in the room.', author: 'Jeff Bezos' }, { text: 'If you do build a great experience, customers tell each other about that. Word of mouth is very powerful.', author: 'Jeff Bezos' }, { text: 'Build something 100 people love, not something 1 million people kind of like.', author: 'Brian Chesky' }, { text: "People don't buy what you do; they buy why you do it.", author: 'Simon Sinek' }, { text: 'Make something people want and sell that.', author: 'Paul Graham' }, { text: 'Your most unhappy customers are your greatest source of learning.', author: 'Bill Gates' }, { text: "Opportunities don't happen. You create them.", author: 'Chris Grosser' }, { text: 'The best way to predict the future is to create it.', author: 'Peter Drucker' }, { text: 'Always deliver more than expected.', author: 'Larry Page' }, { text: 'Your reputation is more important than your paycheck.', author: 'Ryan Freitas' }, { text: 'Ideas are easy. Implementation is hard.', author: 'Guy Kawasaki' }, { text: 'Business has only two functions — marketing and innovation.', author: 'Peter Drucker' }, { text: 'The best vision is insight.', author: 'Malcolm Forbes' }, { text: 'To be successful, you have to have your heart in your business, and your business in your heart.', author: 'Thomas Watson Sr.' }, { text: 'Every sale has five basic obstacles: no need, no money, no hurry, no desire, no trust.', author: 'Zig Ziglar' }, { text: 'Stop selling. Start helping.', author: 'Zig Ziglar' }, { text: 'You will get all you want in life, if you help enough other people get what they want.', author: 'Zig Ziglar' }, // --- MISC WISDOM --- { text: 'The man who moves a mountain begins by carrying away small stones.', author: 'Confucius' }, { text: 'The way to get started is to quit talking and begin doing.', author: 'Walt Disney' }, { text: 'Growth and comfort do not coexist.', author: 'Ginni Rometty' }, { text: "Don't be afraid to give up the good to go for the great.", author: 'John D. Rockefeller' }, { text: 'Success is not in what you have, but who you are.', author: 'Bo Bennett' }, { text: 'In the middle of difficulty lies opportunity.', author: 'Albert Einstein' }, { text: 'A person who never made a mistake never tried anything new.', author: 'Albert Einstein' }, { text: 'The biggest risk is not taking any risk.', author: 'Mark Zuckerberg' }, { text: 'Move fast and break things.', author: 'Mark Zuckerberg' }, { text: 'Whether you think you can or you think you cannot, you are right.', author: 'Henry Ford' }, { text: 'Quality is doing it right when no one is looking.', author: 'Henry Ford' }, { text: 'The future belongs to those who believe in the beauty of their dreams.', author: 'Eleanor Roosevelt' }, { text: 'Be so good they can’t ignore you.', author: 'Steve Martin' }, { text: 'Work until you no longer have to introduce yourself.', author: 'Anonymous' }, { text: 'Don’t count the days, make the days count.', author: 'Muhammad Ali' }, { text: "If everything seems under control, you're not going fast enough.", author: 'Mario Andretti' }, { text: 'Compound interest is the eighth wonder of the world.', author: 'Albert Einstein' }, { text: 'The only limit to our realization of tomorrow will be our doubts of today.', author: 'Franklin D. Roosevelt' }, { text: "It's fine to celebrate success but it is more important to heed the lessons of failure.", author: 'Bill Gates' }, { text: 'Action is the foundational key to all success.', author: 'Pablo Picasso' }, { text: 'Everything you’ve ever wanted is on the other side of fear.', author: 'George Addair' }, { text: 'The starting point of all achievement is desire.', author: 'Napoleon Hill' }, { text: 'A man is but the product of his thoughts; what he thinks, he becomes.', author: 'Mahatma Gandhi' }, { text: 'There is no substitute for hard work.', author: 'Thomas Edison' }, { text: 'You miss 100% of the shots you don’t take.', author: 'Wayne Gretzky' }, { text: 'I follow my own path. I don’t follow the crowd.', author: 'Anonymous' }, { text: 'Excellence is not a skill. It is an attitude.', author: 'Ralph Marston' }, { text: 'Small deeds done are better than great deeds planned.', author: 'Peter Marshall' }, { text: 'Do what you can, with what you have, where you are.', author: 'Theodore Roosevelt' }, { text: 'Success is getting what you want. Happiness is wanting what you get.', author: 'Dale Carnegie' }, { text: 'What lies behind us and what lies before us are tiny matters compared to what lies within us.', author: 'Ralph Waldo Emerson' }, { text: 'The only person you are destined to become is the person you decide to be.', author: 'Ralph Waldo Emerson' }, { text: "Don't let yesterday take up too much of today.", author: 'Will Rogers' }, ]; export const quotes = businessQuotes; export default businessQuotes; /** * Check if the current date is in December */ function isDecember(): boolean { const now = new Date(); return now.getMonth() === 11; // December is month 11 (0-indexed) } /** * Returns a random quote - Christmas quotes during December, business quotes otherwise */ export function getRandomQuote(): Quote { if (isDecember()) { const randomIndex = Math.floor(Math.random() * christmasQuotes.length); return christmasQuotes[randomIndex]; } const randomIndex = Math.floor(Math.random() * businessQuotes.length); return businessQuotes[randomIndex]; } /** * Returns a random quote by a specific author if available, * otherwise returns a random quote from any author */ export function getRandomQuoteByAuthor(author: string): Quote { const quotesToSearch = isDecember() ? christmasQuotes : businessQuotes; const authorQuotes = quotesToSearch.filter(quote => quote.author.toLowerCase() === author.toLowerCase() ); if (authorQuotes.length === 0) return getRandomQuote(); const randomIndex = Math.floor(Math.random() * authorQuotes.length); return authorQuotes[randomIndex]; } /** * Returns quotes filtered by a theme or keyword in the text */ export function getQuotesByTheme(keyword: string): Quote[] { const quotesToSearch = isDecember() ? christmasQuotes : businessQuotes; return quotesToSearch.filter(quote => quote.text.toLowerCase().includes(keyword.toLowerCase()) ); } /** * Returns all available quotes (Christmas quotes in December, business quotes otherwise) */ export function getAllQuotes(): Quote[] { return isDecember() ? christmasQuotes : businessQuotes; }