flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/apps/docs/src/components/SiteTitle.astro

54 lines1,490 bytesCodeBlame
1---
2// The fleet, the name and "Docs": the same mark as g1t.sh, so the two read
3// as one product.
4---
5
6<a href="/" class="g1t-title" aria-label="g1t docs home">
7 <span class="g1t-title-lockup">
8 <svg viewBox="6.9 5 18.2 22" aria-hidden="true">
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>
15 </svg>
16 <span class="g1t-title-name">g1t</span>
17 </span>
18 <span class="g1t-title-docs">Docs</span>
19</a>
20
21<style>
22 .g1t-title {
23 display: inline-flex;
24 align-items: center;
25 gap: 0.6rem;
26 color: var(--g1t-fg);
27 text-decoration: none;
28 }
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 }
38 svg {
39 height: 0.74em;
40 width: auto;
41 flex-shrink: 0;
42 }
43 .g1t-title-name {
44 letter-spacing: -0.045em;
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>