g1t/apps/docs/src/components/SiteTitle.astro
Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Docs worth reading, and kept that way | 1 | --- |
| The fleet: g1t's new mark | 2 | // The fleet, the name and "Docs": the same mark as g1t.sh, so the two read |
| Docs worth reading, and kept that way | 3 | // as one product. |
| 4 | --- | |
| 5 | ||
| 6 | <a href="/" class="g1t-title" aria-label="g1t docs home"> | |
| The logo stands on the baseline beside its name | 7 | <span class="g1t-title-lockup"> |
| 8 | <svg viewBox="6.9 5 18.2 22" aria-hidden="true"> | |
| The fleet: g1t's new mark | 9 | <g transform="translate(0.7 0.5)"> |
| 10 | <rect x="6.2" y="9.5" width="4.4" height="17" rx="2.2" fill="var(--g1t-merged)" fill-opacity="0.35"></rect> | |
| 11 | <rect x="12.4" y="7" width="4.8" height="19.5" rx="2.4" fill="var(--g1t-merged)" fill-opacity="0.65"></rect> | |
| 12 | <rect x="19" y="4.5" width="5.4" height="22" rx="2.7" fill="currentColor"></rect> | |
| 13 | <path d="M21.7 7.2 17.6 10.9" fill="none" stroke="currentColor" stroke-width="4.6" stroke-linecap="round"></path> | |
| 14 | </g> | |
| Docs worth reading, and kept that way | 15 | </svg> |
| 16 | <span class="g1t-title-name">g1t</span> | |
| The logo stands on the baseline beside its name | 17 | </span> |
| Docs worth reading, and kept that way | 18 | <span class="g1t-title-docs">Docs</span> |
| 19 | </a> | |
| 20 | ||
| 21 | <style> | |
| 22 | .g1t-title { | |
| 23 | display: inline-flex; | |
| 24 | align-items: center; | |
| The logo stands on the baseline beside its name | 25 | gap: 0.6rem; |
| Docs worth reading, and kept that way | 26 | color: var(--g1t-fg); |
| 27 | text-decoration: none; | |
| 28 | } | |
| The logo stands on the baseline beside its name | 29 | /* As on g1t.sh: the mark as tall as the capitals, on the baseline. */ |
| 30 | .g1t-title-lockup { | |
| 31 | display: inline-flex; | |
| 32 | align-items: baseline; | |
| 33 | gap: 0.3em; | |
| 34 | font-size: 1.25rem; | |
| 35 | font-weight: 700; | |
| 36 | line-height: 1; | |
| 37 | } | |
| Docs worth reading, and kept that way | 38 | svg { |
| The logo stands on the baseline beside its name | 39 | height: 0.74em; |
| 40 | width: auto; | |
| 41 | flex-shrink: 0; | |
| Docs worth reading, and kept that way | 42 | } |
| 43 | .g1t-title-name { | |
| The logo stands on the baseline beside its name | 44 | letter-spacing: -0.045em; |
| Docs worth reading, and kept that way | 45 | } |
| 46 | .g1t-title-docs { | |
| 47 | border-radius: 999px; | |
| 48 | padding: 0.1rem 0.5rem; | |
| 49 | font-size: 0.72rem; | |
| 50 | font-weight: 500; | |
| 51 | color: var(--g1t-muted); | |
| 52 | box-shadow: inset 0 0 0 1px var(--g1t-line-strong); | |
| 53 | } | |
| 54 | </style> |