'use client'; /** * Documentation Layout - Final Variant * * Based on Variant A: Clean & Minimal with enhancements * This is the production-ready version combining the best aspects * * Layout Structure: * - Left Sidebar: Thin (256px) with minimal design * - Content Area: Wide margins (max-w-3xl) for comfortable reading * - Right TOC: Subtle and unobtrusive (224px) * * Responsive Behavior: * - Mobile (<768px): Single column, sidebars become overlays * - Tablet (768px-1024px): Content + TOC only * - Desktop (>1024px): Full three-column layout * * Design Characteristics: * - Generous whitespace * - Subtle borders and shadows * - Focus on content clarity * - Minimal visual noise * - Accessibility compliant (WCAG 2.1 AA) */ import { ReactNode } from 'react'; interface DocsLayoutFinalProps { sidebar: ReactNode; children: ReactNode; toc: ReactNode; } export const DocsLayoutFinal = ({ sidebar, children, toc }: DocsLayoutFinalProps) => { return (
{/* Animated gradient background (matching landing page) */}
{/* Left Sidebar - Thin, minimal design */} {/* Main Content Area - Wide margins for comfortable reading */}
{children}
{/* Right TOC - Subtle and unobtrusive */}
); };