import Link from "next/link";
import Image from "next/image";
import {
ArrowRight,
Compass,
MapPin,
Timer,
Blocks,
Upload,
} from "lucide-react";
import { Header, Footer } from "@/components/Shell";
import { MapCard } from "@/components/MapCard";
import { catalog } from "@/lib/catalog";
import { leaderboard } from "@/lib/leaderboard";
import { LeaderboardPreview } from "@/components/Leaderboard";
export const dynamic = "force-dynamic";
export default async function Home() {
const [maps, rankings] = await Promise.all([
catalog(),
leaderboard({ limit: 5 }),
]);
const servers = new Set(maps.map((map) => map.server_id)).size;
const locations = maps.reduce((total, map) => total + map.panorama_count, 0);
return (
<>
A MINECRAFT GUESSING GAME
Guess where you are
in a blocky world.
Drop into a random corner of a Minecraft world.
Look around, spot the landmarks, and
place your pin
before the clock runs out.
Start exploring
Meet the top explorers
Five rounds. No roads. Just your instincts.
N
X: ??? Z: ???Overworld
{servers.toLocaleString()}COMMUNITY SERVERS
{maps.length.toLocaleString()}PUBLISHED MAPS
{locations.toLocaleString()}PLACES TO DISCOVER
5 roundsEVERY EXPEDITION
COMMUNITY MAPS
Where will you go today?
All {maps.length} maps
{maps.length ? (
{maps.slice(0, 4).map((map, index) => (
))}
) : (
YOUR WORLD HERE
THE FIRST EXPEDITION STARTS WITH YOU
Put your server on the map.
No community maps have been published yet. Export your world
with the server plugin, or capture five locations with the
Fabric mod. Preview your map and submit it for review.
Get the capture tools
)}
HOW TO PLAY
Know your blocks?
01
Pick your world
Choose a community server, map, and difficulty.
02
Look for the clues
Rotate the panorama. Find builds, biomes, and landmarks.
03
Make your guess
Drop a pin on the map. Closer guesses earn more points.