/// import { NAME, pattern, UI } from "commontools"; // note: you may need to zoom in our out in the browser to see the // content and/or tabs export default pattern(() => { return { [NAME]: "Aside", [UI]: ( // ct-screen provides a full-height layout with header/main/footer areas {/* Header slot - fixed at top */}

Header Section

{/* ct-autolayout creates responsive multi-panel layout with optional sidebars */} {/* tabNames: Labels for main content panels (shown as tabs on mobile) */} {/* Shows all panels side-by-side in a grid */} {/* Left sidebar - use slot="left" */} {/* Main content panels - no slot attribute needed */} {/* Number of divs should match number of tabNames */}

Main Content Area

This is the main content with sidebars

Main Button

Second Content Area

This is the second content with sidebars

Second Button
{/* Right sidebar - use slot="right" */}
{/* Footer slot - fixed at bottom */}

Footer Section

), }; });