Skip to content

Commit

Permalink
feat(game/result): add tier info link
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Oct 23, 2023
1 parent a98b13d commit a958688
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
15 changes: 14 additions & 1 deletion app/_game/components/ResultDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,20 @@ export function ResultDisplay({
</div>
<div className="text-[12px] sm:text-[16px]">{user.name}</div>
</div>
<div className="text-[23px] sm:text-[32px]">{tier.title}</div>
<a
className="block cursor-click text-[23px] sm:text-[32px]"
href="https://x.com/isthatai/status/1716372473103712335"
target="_blank"
>
<span>{tier.title}</span>
<Image
src="/images/result/info.svg"
height={18}
width={18}
alt="tier info"
className="ml-[4px] inline h-[14px] w-[14px] sm:h-[18px] sm:w-[18px]"
/>
</a>
<div className="text-[8px] text-[#A9A9A9] sm:text-[13px]">
{tier.description}
</div>
Expand Down
15 changes: 15 additions & 0 deletions public/images/result/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a958688

Please sign in to comment.