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/SocialIcons.astro

59 lines1,793 bytesCodeBlame
1---
2// The header's right side: where people go from the docs, then the source.
3---
4
5<nav class="g1t-nav" aria-label="g1t">
6 <a href="/api/reference/">API reference</a>
7 <a href="https://g1t.sh/">g1t.sh</a>
8 <a href="https://g1t.sh/register" class="g1t-nav-cta">Sign up</a>
9 <a href="https://github.com/syntaqx/g1t" aria-label="Source on GitHub" class="g1t-nav-icon">
10 <svg viewBox="0 0 16 16" aria-hidden="true" fill="currentColor">
11 <path
12 d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"
13 ></path>
14 </svg>
15 </a>
16</nav>
17
18<style>
19 .g1t-nav {
20 display: flex;
21 align-items: center;
22 gap: 0.25rem;
23 }
24 a {
25 border-radius: 0.4rem;
26 padding: 0.3rem 0.6rem;
27 font-size: 0.85rem;
28 color: var(--g1t-muted);
29 text-decoration: none;
30 transition: color 0.15s, background 0.15s;
31 }
32 a:hover {
33 background: var(--g1t-raised);
34 color: var(--g1t-fg);
35 }
36 .g1t-nav-cta {
37 margin-left: 0.25rem;
38 background: var(--g1t-fg);
39 color: var(--g1t-bg);
40 font-weight: 500;
41 }
42 .g1t-nav-cta:hover {
43 background: #fff;
44 color: var(--g1t-bg);
45 }
46 .g1t-nav-icon {
47 display: inline-flex;
48 padding: 0.4rem;
49 }
50 .g1t-nav-icon svg {
51 width: 1rem;
52 height: 1rem;
53 }
54 @media (max-width: 50rem) {
55 a:not(.g1t-nav-icon):not(.g1t-nav-cta) {
56 display: none;
57 }
58 }
59</style>