Improve MineGeo exploration and mapping features

This commit is contained in:
2026-10-05 13:41:36 +05:00
parent aec0641f87
commit c5368fa8cc
69 changed files with 3581 additions and 333 deletions

View File

@@ -3,6 +3,7 @@ import Image from "next/image";
import { Header, Footer } from "@/components/Shell";
import { StartGame } from "@/components/StartGame";
import { getMap } from "@/lib/catalog";
import { ContributionInstructions } from "@/components/ContributionInstructions";
export default async function ServerPage({
params,
}: {
@@ -25,6 +26,10 @@ export default async function ServerPage({
</span>
<h1>{map.name}</h1>
<p className="lead">{map.description}</p>
<p className="map-credit">Created by {map.credit}</p>
<p className="muted">
Map ID: <code>{map.id}</code>
</p>
<div className="detail-grid">
<div>
<div className="detail-map">
@@ -47,6 +52,13 @@ export default async function ServerPage({
</div>
<StartGame datasetId={id} />
</div>
{map.allow_contributions && (
<ContributionInstructions
id={id}
bounds={map.bounds}
serverAddress={map.contribution_server_address}
/>
)}
</main>
<Footer />
</>