Skip to content

Commit

Permalink
Fix: Deleted quote component
Browse files Browse the repository at this point in the history
replace the accidentally deleted component oops
  • Loading branch information
ajstrongdev committed Sep 13, 2024
1 parent fcd92ec commit 35d8958
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/components/quote.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react';

const quoteText = [
{
quote: "Rhino Linux's latest release makes it the Swiss Army knife of Linux distributions.",
author: "Jack Wallen",
link: "https://www.zdnet.com/article/rhino-linux-latest-release-makes-it-the-swiss-army-knife-of-linux-distributions/",
source: "ZDNET"
},
];

function Quote() {
return (
<div className="md:w-[85%] m-auto md:grid md:grid-cols-1 md:gap-4">
{quoteText.map((item, index) => (
<blockquote key={index} className="text-2xl italic text-white text-center w-full p-8 md:p-16 lg:p-24">
<p>"{item.quote}"</p>
<p className="text-white">- {item.author}, <a href={item.link} className="text-rhino-purple">{item.source}</a></p>
</blockquote>
))}
</div>
);
}

export default Quote;

0 comments on commit 35d8958

Please sign in to comment.