Skip to content

Commit

Permalink
Prototype: claim guide on game picker
Browse files Browse the repository at this point in the history
  • Loading branch information
augustinhiebel committed Dec 6, 2023
1 parent eeda1e7 commit f64901f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pages/stryda/components/GamePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export default function GamePicker(props) {
<span>
<span>{item.shortName}</span>
</span>
{item.id === 1 && (
<span className="icon icon-present animate-bounce ml-1" />
)}
</button>
</li>
))}
Expand Down
2 changes: 1 addition & 1 deletion pages/stryda/ladders/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default function Ladders() {
selectedTab === item.url ? "is-active" : ""
}`}
>
<span><span>{item.label}</span> {item.badge && item.badge === "badge" && (<i className="badge animate-bounce" />)}</span>
<span><span>{item.label}</span> {item.badge && item.badge === "badge" && selectedGame.id === 1 && (<i className="badge animate-bounce" />)}</span>
</button>
</Link>
</li>
Expand Down

0 comments on commit f64901f

Please sign in to comment.