commit 53d7b263c4ce371edd9c6ba3fb98b880487e3377 Author: pavel444-byte Date: Sun Oct 4 14:20:13 2026 +0500 The first commit, the core and all files is adding to repo diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..6c50556 --- /dev/null +++ b/.env.example @@ -0,0 +1,12 @@ +# Public website URL (HTTPS for hosted contributor pairing) +MINEGEO_URL=http://localhost:3000 +NEXT_PUBLIC_SUPABASE_URL= +NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY= +# Server only. Never prefix this key with NEXT_PUBLIC_. +SUPABASE_SECRET_KEY= +# Optional direct PostgreSQL connection for maintenance. Runtime uses the Supabase API. +DATABASE_URL= +# Explicit local guest sandbox when no hosted project is configured. +MINEGEO_LOCAL_MODE=true +MINEGEO_FACE_SIZE=1024 +MINEGEO_MAX_UPLOAD_BYTES=268435456 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1caafc9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +node_modules/ +.next/ +.env* +!.env.example +.cache/ +.data/ +artifacts/ +*.log +**/.gradle/ +**/build/ +playwright-report/ +test-results/ +public/generated/ +public/downloads/*.jar diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..643577d --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,9 @@ + + +# This is NOT the Next.js you know + +This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices. + +This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean. + + diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..43c994c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md diff --git a/app/about/page.tsx b/app/about/page.tsx new file mode 100644 index 0000000..212cf25 --- /dev/null +++ b/app/about/page.tsx @@ -0,0 +1,48 @@ +import { Header, Footer } from "@/components/Shell"; +import Link from "next/link"; +export default function About() { + return ( + <> +
+
+ THE EXPLORER’S FIELD GUIDE +

+ You know this place. +
+ Probably. +

+

+ MineGeo drops you into a panorama from a community Minecraft world. + Find out where you are before the clock runs out. +

+

Look for the little things

+

+ Drag to look around. Mountains, shorelines, roofs, and landmarks all + help. You stay in one place throughout a round. +

+

Make your guess

+

+ Expand the map in the bottom-right corner and click to place a pin. + North is up, X increases east, and Z increases south. Move your pin + until you’re ready, then submit. +

+

Five chances to find your way

+

+ Easy gives you 180 seconds, Normal 90, and Hard 30. Hard disables + zoom. A timed-out round scores zero; you can still finish the + expedition. +

+

Closer means better

+

+ Each round awards up to 5,000 points based on horizontal distance. A + guess within one block earns a perfect score. Compare all five guesses + at the end. +

+ + Let’s find a world → + +
+