Skip to content

Commit

Permalink
Merge pull request #30 from Pma913/edit/facts
Browse files Browse the repository at this point in the history
Remove additional detail to declutter the fact cards
  • Loading branch information
Pma913 authored Mar 27, 2024
2 parents a99260a + 6ee977a commit d89c9c8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/FactCard/FactCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,8 @@ const FactCard = ({ details, favFact, removeFav, leftArrow, rightArrow }) => {
</div>
</div>
</div>
<p className="dog-friendly">{`Dog Friendly: ${details.dogFriendly}`}</p>
<p className="energy-level">{`Energy Level: ${details.energyLevel}`}</p>
<p className="affection-level">{`Affection Level: ${details.affectionLevel}`}</p>
<p className="origin">{`Origin: ${details.origin}`}</p>
<p className="temperament">{`Temperaments: ${details.temperament}`}</p>
<p className="fact">{`Description: ${details.description}`}</p>
<p className="fact">{details.description}</p>
</div>


</div>
<img className="fact-img" src={details.image}
alt={`A ${details.name} cat`} />
Expand Down

0 comments on commit d89c9c8

Please sign in to comment.