package main import ( "bytes" "context" "git.dev.alexdunmow.com/block/core/blocks" ) // NavbarTerminalMeta defines metadata for the cyberpunk:navbar_terminal block. var NavbarTerminalMeta = blocks.BlockMeta{ Key: "navbar_terminal", Title: "Terminal Navbar", Description: "Mono-spaced navbar with $ command prefix and optional status dot", Category: blocks.CategoryNavigation, Source: "cyberpunk", } // NavbarTerminalData is the typed view of the navbar_terminal content map. type NavbarTerminalData struct { MenuName string CommandPrefix string StatusDot bool } // NavbarTerminalBlock renders the navbar_terminal block. // // Content shape: // {menuName, commandPrefix, statusDot:"on"|"off"|bool} // // menuName is the slug of a CMS-managed menu; the actual