diff --git a/apps/frontend/messages/en.json b/apps/frontend/messages/en.json index 75cdaee4..150a2a5e 100644 --- a/apps/frontend/messages/en.json +++ b/apps/frontend/messages/en.json @@ -124,6 +124,7 @@ "BuildTheEarth is divided into subteams, which build specific countries or areas of the world.", "Each Team has its own Minecraft server, where you can join and start building." ], + "viewTeamOnMap": "Explore Teams on Map", "tooltip": { "location": "A list of countries this team builds in", "members": "Number of members in this team" diff --git a/apps/frontend/src/app/[locale]/teams/page.tsx b/apps/frontend/src/app/[locale]/teams/page.tsx index d24b86f3..c8bfe181 100644 --- a/apps/frontend/src/app/[locale]/teams/page.tsx +++ b/apps/frontend/src/app/[locale]/teams/page.tsx @@ -5,7 +5,7 @@ import { Link } from '@/i18n/navigation'; import { getCountryNames } from '@/util/countries'; import prisma from '@/util/db'; import { getLanguageAlternates } from '@/util/seo'; -import { Avatar, Group, SimpleGrid, Stack, Text, Tooltip } from '@mantine/core'; +import { Avatar, Button, Group, SimpleGrid, Stack, Text, Tooltip } from '@mantine/core'; import { IconPin, IconUsers, IconWorld } from '@tabler/icons-react'; import { Metadata } from 'next'; import { Locale } from 'next-intl'; @@ -65,7 +65,12 @@ export default async function Page({
{t('description.1')} - + + + + {buildTeams .filter((element) => {