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

@@ -1,17 +1,22 @@
import { Header, Footer } from "@/components/Shell";
import { DraftEditor } from "@/components/DraftEditor";
import { user } from "@/lib/supabase";
import { redirect } from "next/navigation";
export default async function Draft({
params,
}: {
params: Promise<{ id: string }>;
}) {
const { id } = await params;
if (!(await user()))
redirect(`/log-in?next=${encodeURIComponent("/dashboard/" + id)}`);
return (
<>
<Header />
<main className="section page-content">
<span className="eyebrow">YOUR WORLD, BEFORE THE WORLD SEES IT</span>
<h1>At the drawing board.</h1>
<DraftEditor id={(await params).id} />
<DraftEditor id={id} />
</main>
<Footer />
</>