-
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.
- Loading branch information
1 parent
f07afee
commit d19cffe
Showing
4 changed files
with
46 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Title, Paragraph } from "@/components/general/typography"; | ||
import quotes from "@/components/quote/quotes"; | ||
import Quote from "@/types/quote.type"; | ||
|
||
const Quotes = () => { | ||
return ( | ||
<> | ||
<Title>My Favorite Quotes</Title> | ||
|
||
{quotes.map((quote: Quote) => ( | ||
<div | ||
className="border border-black-500 p-4 rounded-xl shadow-md mb-4" | ||
key={quote.id} | ||
> | ||
<p className="text-xl font-medium italic mb-4">{quote.quote}</p> | ||
<p className="text-[#3b64b8] font-bold">{quote.author}</p> | ||
</div> | ||
))} | ||
</> | ||
); | ||
}; | ||
|
||
export default Quotes; |
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,4 +1,5 @@ | ||
interface Quote { | ||
id: string; | ||
quote: string; | ||
author: string; | ||
} | ||
|