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

44 lines1,254 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 <svg viewBox="0 0 32 32" aria-hidden="true">
8 <g transform="translate(0.7 0.5)">
9 <rect x="6.2" y="9.5" width="4.4" height="17" rx="2.2" fill="var(--g1t-merged)" fill-opacity="0.35"></rect>
10 <rect x="12.4" y="7" width="4.8" height="19.5" rx="2.4" fill="var(--g1t-merged)" fill-opacity="0.65"></rect>
11 <rect x="19" y="4.5" width="5.4" height="22" rx="2.7" fill="currentColor"></rect>
12 <path d="M21.7 7.2 17.6 10.9" fill="none" stroke="currentColor" stroke-width="4.6" stroke-linecap="round"></path>
13 </g>
14 </svg>
15 <span class="g1t-title-name">g1t</span>
16 <span class="g1t-title-docs">Docs</span>
17</a>
18
19<style>
20 .g1t-title {
21 display: inline-flex;
22 align-items: center;
23 gap: 0.55rem;
24 color: var(--g1t-fg);
25 text-decoration: none;
26 }
27 svg {
28 width: 1.35rem;
29 height: 1.35rem;
30 }
31 .g1t-title-name {
32 font-size: 1.05rem;
33 font-weight: 700;
34 letter-spacing: -0.035em;
35 }
36 .g1t-title-docs {
37 border-radius: 999px;
38 padding: 0.1rem 0.5rem;
39 font-size: 0.72rem;
40 font-weight: 500;
41 color: var(--g1t-muted);
42 box-shadow: inset 0 0 0 1px var(--g1t-line-strong);
43 }
44</style>