← back to Homesonspec

apps/admin/src/app/layout.tsx

33 lines

import type { Metadata } from "next";
import Link from "next/link";
import "./globals.css";

export const metadata: Metadata = {
  title: "HomesOnSpec Admin",
  robots: { index: false, follow: false },
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body className="min-h-screen bg-neutral-50 text-neutral-900 antialiased">
        <header className="border-b border-neutral-200 bg-white">
          <nav className="mx-auto flex max-w-7xl items-center gap-6 px-4 py-3 text-sm">
            <Link href="/" className="text-lg font-bold text-neutral-900">
              HomesOnSpec <span className="text-teal-700">Admin</span>
            </Link>
            <Link href="/ingestion" className="hover:text-teal-700">Live ingestion</Link>
            <Link href="/review" className="hover:text-teal-700">Review queue</Link>
            <Link href="/sources" className="hover:text-teal-700">Sources</Link>
            <Link href="/validation" className="hover:text-teal-700">Validation log</Link>
            <Link href="/snapshots" className="hover:text-teal-700">Snapshots</Link>
            <Link href="/corrections" className="hover:text-teal-700">Corrections</Link>
            <Link href="/leads" className="hover:text-teal-700">Leads</Link>
          </nav>
        </header>
        <main className="mx-auto max-w-7xl px-4 py-6">{children}</main>
      </body>
    </html>
  );
}