devsandbox 0.11.1

Manage devcontainer-style sandboxes on docker, podman, or Apple container โ€” many throwaway instances per repo from one TOML config.
---
import { ArrowUpRight, Menu, Search } from '@lucide/astro';
import { activeHeaderHref, headerNav, VERSION } from '../lib/nav';
import GitHubMark from './GitHubMark.astro';
import Mark from './Mark.astro';

const active = activeHeaderHref(Astro.url.pathname);
---

<header class="site-header">
  <div class="header-inner">
    <a class="brand" href="/" aria-label={`devsandboxes home (docs for v${VERSION})`}>
      <Mark />
      <span>devsandboxes</span>
      <span class="brand-version">DOCS ยท v{VERSION}</span>
    </a>
    <nav class="header-nav" aria-label="Main">
      {
        headerNav.map((link) =>
          link.external ? (
            <a class="header-github" href={link.href} target="_blank" rel="noopener noreferrer">
              <GitHubMark size={16} />
              {link.label} <ArrowUpRight size={13} aria-hidden="true" />
              <span class="visually-hidden">(opens in a new tab)</span>
            </a>
          ) : (
            <a href={link.href} aria-current={active === link.href ? 'page' : undefined}>
              {link.label}
            </a>
          ),
        )
      }
    </nav>
    <div class="header-actions">
      <button type="button" class="search-trigger" data-search-open aria-label="Search documentation" aria-keyshortcuts="Control+K Meta+K /">
        <Search size={16} aria-hidden="true" />
        <span>Search docs...</span>
        <kbd aria-hidden="true">โŒ˜ K</kbd>
      </button>
      <button type="button" class="mobile-search" data-search-open aria-label="Search documentation">
        <Search size={20} aria-hidden="true" />
      </button>
      <button type="button" class="menu-button" data-drawer-open aria-label="Open navigation menu" aria-controls="mobile-drawer" aria-expanded="false">
        <Menu size={21} aria-hidden="true" />
      </button>
    </div>
  </div>
</header>