Owner pages (overview balances and spend vs caps, decisions with tool trace and Verify on Arc, escalation approve/reject, bills with manual or invoice intake, policy on-chain vs off-chain drift) behind a server-side owner session; public /proof with live metrics and Arcscan links, and /connect onboarding for external teams. The operator API key stays on the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
import type { Metadata } from "next";
|
|
import type { ReactNode } from "react";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Tameion Operator Console",
|
|
description: "An autonomous business operator on Arc: USDC treasury, AP and refunds under on-chain guard rails.",
|
|
};
|
|
|
|
const NAV = [
|
|
{ href: "/", label: "Overview" },
|
|
{ href: "/decisions", label: "Decisions" },
|
|
{ href: "/escalations", label: "Escalations" },
|
|
{ href: "/bills", label: "Bills" },
|
|
{ href: "/policy", label: "Policy" },
|
|
{ href: "/proof", label: "Proof" },
|
|
{ href: "/connect", label: "Connect your business" },
|
|
] as const;
|
|
|
|
export default function RootLayout({ children }: { readonly children: ReactNode }) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<a className="skip-link" href="#main">Skip to content</a>
|
|
<div className="topbar">
|
|
<div className="topbar-inner">
|
|
<a className="brand" href="/">Tameion Operator</a>
|
|
<nav className="nav" aria-label="Primary">
|
|
{NAV.map((item) => (
|
|
<a key={item.href} href={item.href}>{item.label}</a>
|
|
))}
|
|
</nav>
|
|
<span className="network">Arc testnet</span>
|
|
</div>
|
|
</div>
|
|
<main id="main">{children}</main>
|
|
<footer className="site">
|
|
SettleKit autonomous operator. All balances and transactions are on Arc testnet USDC unless marked as simulation.
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|