diff --git a/app/routes/index.tsx b/app/routes/index.tsx index 2269387b7..02d3a7cd9 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -20,6 +20,7 @@ import { BUILDS_PAGE, calendarEventPage, CALENDAR_PAGE, + mapsPage, navIconUrl, plusSuggestionPage, userPage, @@ -85,6 +86,12 @@ export default function Index() { description={t("front:badges.description")} to={BADGES_PAGE} /> + diff --git a/app/routes/maps.tsx b/app/routes/maps.tsx index 5caa3221c..42e1f65d9 100644 --- a/app/routes/maps.tsx +++ b/app/routes/maps.tsx @@ -77,17 +77,9 @@ const DEFAULT_MAP_POOL = { export default function MapListPage() { const data = useLoaderData(); - const user = useUser(); const [searchParams] = useSearchParams(); const { mapPool, handleMapPoolChange } = useSearchParamMapPool(); - if ( - process.env.NODE_ENV !== "development" && - user?.discordId !== ADMIN_DISCORD_ID - ) { - return
Coming soon :)
; - } - return (
{data.calendarEvent && !searchParams.has("pool") && ( diff --git a/public/locales/en/front.json b/public/locales/en/front.json index 2eb9e8bf8..9f403cce6 100644 --- a/public/locales/en/front.json +++ b/public/locales/en/front.json @@ -6,6 +6,7 @@ "plus.description": "View Plus Server voting history and more", "badges.description": "List of all the badges you can earn for your profile", "analyzer.description": "Find out what your builds actually do", + "maps.description": "Turn pool of maps into a list to play on", "recentWinners": "Recent winners", "upcomingEvents": "Upcoming events", "articleBy": "by {{author}}"