cloudflare/kumo
Publicmirrored fromhttps://github.com/cloudflare/kumoAvailable
packages/kumo-docs-astro/src/components/Header.astro
25lines · modecode
| 1 | --- |
| 2 | declare const __KUMO_VERSION__: string; |
| 3 | |
| 4 | const kumoVersion = typeof __KUMO_VERSION__ !== "undefined" ? __KUMO_VERSION__ : "dev"; |
| 5 | --- |
| 6 | |
| 7 | <header |
| 8 | class="sticky top-0 z-10 border-b border-kumo-line bg-kumo-elevated md:pr-12" |
| 9 | > |
| 10 | <div |
| 11 | class="mx-auto hidden h-12 items-center md:flex md:border-r md:border-kumo-line px-4" |
| 12 | > |
| 13 | <a |
| 14 | href="https://github.com/cloudflare/kumo" |
| 15 | target="_blank" |
| 16 | rel="noopener noreferrer" |
| 17 | class="ml-auto font-mono text-sm text-kumo-subtle transition-colors hover:text-kumo-default" |
| 18 | > |
| 19 | @cloudflare/kumo |
| 20 | <span class="ml-1 rounded bg-kumo-control px-1.5 py-0.5 text-xs"> |
| 21 | v{kumoVersion} |
| 22 | </span> |
| 23 | </a> |
| 24 | </div> |
| 25 | </header> |
| 26 | |