Files
zeekay c2edc5d3eb docs: post-quantum + ecosystem pages, brand ⚡, sidebar de-dup
— content/docs/post-quantum.mdx: X-Wing (IETF hybrid X25519 + ML-KEM-768,
  ZAP default), Z-Wing (ZAP-specific triple hybrid + Classic McEliece),
  hybrid signature scheme, per-SDK status matrix, migration ladder.
— content/docs/ecosystem.mdx: real OSS users grepped from go.mod /
  Cargo.toml — Hanzo Gateway, Ingress, PubSub, Storage, Tasks,
  Playground, Cloud, Base-HA, Lux ZAP. Native ZAP RPC vs. ZAP-HTTP
  table.
— Favicon: bare ⚡ emoji SVG (no fake blue background rect).
— Header: emoji ⚡ replaces lucide-react Zap icon. ONE icon everywhere.
— Sidebar de-dup: dropped redundant `---SDKs---` / `---Protocols over
  ZAP---` dividers from parent meta; folder titles drive sidebar
  headers. Folder index pages titled "Overview" so they don't restate
  the folder name in the dropdown.
— Home page: replaced broken `/docs/sub-protocols` link, surfaced
  Native ZAP RPC + Protocols + Post-quantum cards.
2026-05-27 04:18:31 -07:00

33 lines
803 B
TypeScript

import { source } from '@/lib/source';
import { DocsLayout } from '@hanzo/docs-radix-ui/layouts/docs';
import type { ReactNode } from 'react';
export default function Layout({ children }: { children: ReactNode }) {
return (
<DocsLayout
tree={source.getPageTree()}
nav={{
title: (
<div className="flex items-center gap-2">
<span className="inline-block rotate-[-15deg]" aria-hidden>⚡</span>
<span className="font-bold">ZAP Protocol</span>
</div>
),
url: '/',
}}
links={[
{
text: 'GitHub',
url: 'https://github.com/zap-proto',
external: true,
},
]}
sidebar={{
defaultOpenLevel: 1,
}}
>
{children}
</DocsLayout>
);
}