mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
@@ -11,13 +11,14 @@ import {
|
|||||||
hoveredMapTournamentIdAtom,
|
hoveredMapTournamentIdAtom,
|
||||||
debouncedHoveredMapTournamentIdAtom,
|
debouncedHoveredMapTournamentIdAtom,
|
||||||
debouncedHoveredListTournamentIdAtom,
|
debouncedHoveredListTournamentIdAtom,
|
||||||
searchStringAtom,
|
|
||||||
} from "@/app/atoms";
|
} from "@/app/atoms";
|
||||||
|
|
||||||
import SearchBar from "./SearchBar";
|
import SearchBar from "./SearchBar";
|
||||||
import TimeControlFilters from "./TimeControlFilters";
|
import TimeControlFilters from "./TimeControlFilters";
|
||||||
import ScrollToTopButton from "./ScrollToTopButton";
|
import ScrollToTopButton from "./ScrollToTopButton";
|
||||||
|
|
||||||
|
import { FaExternalLinkAlt } from "react-icons/fa";
|
||||||
|
|
||||||
export default function TournamentTable() {
|
export default function TournamentTable() {
|
||||||
const t = useTranslations("Tournaments");
|
const t = useTranslations("Tournaments");
|
||||||
|
|
||||||
@@ -85,6 +86,7 @@ export default function TournamentTable() {
|
|||||||
<th className="sticky top-0 bg-teal-600 p-3 text-white dark:bg-gray-600">
|
<th className="sticky top-0 bg-teal-600 p-3 text-white dark:bg-gray-600">
|
||||||
{t("timeControl")}
|
{t("timeControl")}
|
||||||
</th>
|
</th>
|
||||||
|
<th className="sticky w-[50px] top-0 bg-teal-600 p-3 text-white dark:bg-gray-600"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@@ -128,6 +130,11 @@ export default function TournamentTable() {
|
|||||||
{t("timeControlEnum", { tc: tournament.timeControl })}
|
{t("timeControlEnum", { tc: tournament.timeControl })}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td className="p-3">
|
||||||
|
<a href={tournament.url} target="_blank">
|
||||||
|
<FaExternalLinkAlt />
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
))
|
))
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user