40 lines
2.5 KiB
TypeScript
40 lines
2.5 KiB
TypeScript
export default function SignInPage({ provider, notice }: { provider: string; notice: string }) {
|
|
return (
|
|
<main className="grid min-h-screen place-items-center bg-[#071019] px-5 py-10 text-slate-100">
|
|
<div className="pointer-events-none fixed inset-0 bg-[radial-gradient(circle_at_20%_10%,rgba(34,211,238,0.12),transparent_30%),radial-gradient(circle_at_80%_80%,rgba(99,102,241,0.10),transparent_30%)]" />
|
|
<section className="relative w-full max-w-lg overflow-hidden rounded-3xl border border-white/10 bg-[#0a141e]/95 shadow-2xl shadow-black/40">
|
|
<div className="border-b border-white/10 p-7">
|
|
<a href="/demo" className="text-xs text-cyan-300 hover:text-cyan-200">
|
|
← Public demonstration
|
|
</a>
|
|
<div className="mt-8 grid size-11 place-items-center rounded-xl bg-cyan-300 font-black text-slate-950">OP</div>
|
|
<p className="mt-6 text-xs uppercase tracking-[0.22em] text-cyan-300">OpsProof operator access</p>
|
|
<h1 className="mt-3 text-3xl font-semibold tracking-tight text-white">Sign in to the live workspace</h1>
|
|
<p className="mt-4 text-sm leading-6 text-slate-400">{notice}</p>
|
|
</div>
|
|
|
|
<div className="space-y-5 p-7">
|
|
<div className="rounded-2xl border border-white/10 bg-white/[0.025] p-5">
|
|
<p className="text-sm font-medium text-white">Authenticated capabilities</p>
|
|
<ul className="mt-3 space-y-2 text-sm leading-6 text-slate-400">
|
|
<li>• Read live status and focused Doctor evidence through Jeannie</li>
|
|
<li>• Review exact remediation, risk, preconditions, and rollback</li>
|
|
<li>• Approve one constrained execution and retain its validation report</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<a
|
|
href="/auth/dex"
|
|
className="flex w-full items-center justify-center rounded-xl bg-cyan-300 px-4 py-3 font-semibold text-slate-950 hover:bg-cyan-200"
|
|
>
|
|
Continue with {provider}
|
|
</a>
|
|
<p className="text-center text-[11px] leading-5 text-slate-600">
|
|
Access is restricted to verified identities in the server-side operator allowlist.
|
|
</p>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
);
|
|
}
|