This commit is contained in:
2026-01-12 17:17:53 +03:00
parent e28d5f2658
commit d94614c793

View File

@@ -26,6 +26,9 @@
<span v-else>N/A</span>
</div>
<div class="version">{{ server.version_name }}</div>
<div v-if="server.bluemap_url" class="bluemap-link">
<a :href="server.bluemap_url" target="_blank" rel="noopener noreferrer">Карта мира</a>
</div>
</div>
</div>
</div>
@@ -44,6 +47,7 @@ interface GameServer {
max_players: number | null;
version_name: string | null;
ping_proxy_server: number | null;
bluemap_url: string | null;
}
const servers = ref<GameServer[]>([]);
@@ -140,4 +144,20 @@ onUnmounted(() => {
margin-bottom: 1rem;
font-weight: bold;
}
.bluemap-link {
margin-top: 0.5rem;
text-align: right;
}
.bluemap-link a {
display: inline-block;
padding: 0.25rem 0.5rem;
background-color: #3eaf7c;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 0.9em;
}
.bluemap-link a:hover {
background-color: #339265;
}
</style>