Skip to content

Commit

Permalink
(feature) Add tooltip to Best Run column on game page (#116)
Browse files Browse the repository at this point in the history
Co-authored-by: therun.gg <[email protected]>
  • Loading branch information
developerrowan and therungg authored Nov 8, 2023
1 parent ae22a7f commit e06e028
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/components/game/category-overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
UserLink,
} from "../links/links";
import { Dispatch } from "react";
import { InfoTooltip } from "../tooltip";

export const CategoryOverview = ({
categories,
Expand All @@ -22,7 +23,21 @@ export const CategoryOverview = ({
<thead>
<tr>
<th>Name</th>
<th>Best run</th>
<th>
Best run
<InfoTooltip
title={"Best run"}
content={
<div>
This is the best time out of all users of
The Run. This may or may not be equivalent
to the world record; if the world record
holder does not use The Run, their time will
not be displayed here.
</div>
}
/>
</th>
<th className="d-none d-sm-table-cell">Total playtime</th>
<th className="d-none d-md-table-cell">
Finished/Total Attempts
Expand Down

0 comments on commit e06e028

Please sign in to comment.