From e50a52e93b49bcae9962313a47c3f256673ac4b1 Mon Sep 17 00:00:00 2001 From: otobot1 Date: Mon, 15 Apr 2024 13:50:48 -0600 Subject: [PATCH] add link to "rate map" button --- src/components/mods/maps/mapsTable.tsx | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/components/mods/maps/mapsTable.tsx b/src/components/mods/maps/mapsTable.tsx index a1b34c4d..7498e8f6 100644 --- a/src/components/mods/maps/mapsTable.tsx +++ b/src/components/mods/maps/mapsTable.tsx @@ -1,13 +1,15 @@ +import { type Dispatch, type SetStateAction, useEffect, useMemo, useState } from "react"; +import Link from "next/link"; import { ActionIcon, Text, createStyles } from "@mantine/core"; import { DataTable, type DataTableSortStatus } from "mantine-datatable"; import type { MapWithTechAndRatingInfo, Mod } from "~/components/mods/types"; -import { type Dispatch, type SetStateAction, useEffect, useMemo, useState } from "react"; -import { CirclePlus, Tooltip } from "tabler-icons-react"; +import { CirclePlus } from "tabler-icons-react"; import { ModsTableTooltip } from "../modsTableTooltip"; import { expandedModColors } from "~/styles/expandedModColors"; import { TABLE_HEADER_ARROW_ZOOM } from "~/consts/tableHeaderArrowZoom"; import type { DifficultyColor } from "~/styles/difficultyColors"; import { getOrdinal } from "~/utils/getOrdinal"; +import { COMING_SOON_PATHNAME } from "~/consts/pathnames"; @@ -323,13 +325,17 @@ export const MapsTable = ( - - + + + + )} />