Improve MineGeo exploration and mapping features
This commit is contained in:
@@ -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 />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user