From d0d961f1d3a458065240dfca3e0ddbfe22a504fe Mon Sep 17 00:00:00 2001 From: miggymofongo2 Date: Sat, 15 Jun 2024 01:25:53 -0400 Subject: [PATCH] beginning to add styles to the quote card --- src/Components/Quote/QuoteCard.js | 14 ++++++++++---- src/Components/Quote/quote.css | 18 +++++++++++++++--- 2 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/Components/Quote/QuoteCard.js b/src/Components/Quote/QuoteCard.js index 25d7b29..bfa62bd 100644 --- a/src/Components/Quote/QuoteCard.js +++ b/src/Components/Quote/QuoteCard.js @@ -2,10 +2,16 @@ import React from 'react'; import './quote.css' export default function -QuoteCard(props) { - const { name, key } = props; +QuoteCard({ quote, game, name, key}) { + - return (

{name}

-

{key}

+ return (
+ {quote} +

{name}

+ +

{game}

+ +
+
); } diff --git a/src/Components/Quote/quote.css b/src/Components/Quote/quote.css index a38aeb9..c9e591e 100644 --- a/src/Components/Quote/quote.css +++ b/src/Components/Quote/quote.css @@ -1,5 +1,17 @@ -.quotes { +@font-face { + font-family: KHGummi; + src: url(../Assets/Fonts/KHGummi.otf); +} - font-family: "../Assets/Fonts/KHGummi"; +quote { + font-family: KHGummi; +} + +.quote-wrapper { + border: solid black 4px; + padding: 50; + background: none; + cursor: pointer; + margin: 10px 0; +} -} \ No newline at end of file