Skip to content

Commit

Permalink
changed stars to beers
Browse files Browse the repository at this point in the history
  • Loading branch information
toddalbert committed Oct 31, 2023
1 parent ec010ec commit 06b37b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#2C2560",
"titleBar.activeBackground": "#3E3386",
"titleBar.activeForeground": "#FBFBFD"
}
}
4 changes: 2 additions & 2 deletions src/components/BeerCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export default function BeerCard({ name, image, avgRating, setSelectedBeer }) {
</div>
<h2>{name}</h2>
<div className="rating">
<p className="grey-stars">⭐️⭐️⭐️⭐️⭐️</p>
<p className="yellow-stars" style={{ width: avgRating + 'em'}}>⭐️⭐️⭐️⭐️⭐️</p>
<p className="grey-stars">🍺🍺🍺🍺🍺</p>
<p className="yellow-stars" style={{ width: avgRating + 'em'}}>🍺🍺🍺🍺🍺</p>
</div>
</div>
)
Expand Down

0 comments on commit 06b37b5

Please sign in to comment.