Skip to content

Commit

g1t on X: @g1t_sh in the site footer, the docs header and the structured data

syntaqxcommitted Parentc37b08bBrowse files
4 files+11−40/4 viewed
+4−1
11 ---
2−// The header's right side: where people go from the docs, then the source.
2+// The header's right side: where people go from the docs, then g1t on X and the source.
33 import { GitBranch } from '@lucide/astro';
44 ---
55
66 <nav class="g1t-nav" aria-label="g1t">
77 <a href="https://g1t.sh/">g1t.sh</a>
88 <a href="https://g1t.sh/register" class="g1t-nav-cta">Sign up</a>
9+ <a href="https://x.com/g1t_sh" aria-label="g1t on X" title="g1t on X" class="g1t-nav-icon">
10+ <svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" /></svg>
11+ </a>
912 <a href="https://g1t.sh/flagon-io/g1t" aria-label="Source on g1t" title="Source on g1t" class="g1t-nav-icon">
1013 <GitBranch />
1114 </a>
+2−1
1010 import type { User } from "@g1t/contracts";
1111
1212 import { Mark } from "./logo";
13−import { COMPANY, MAKER_PRODUCTS, copyright, listed } from "../lib/legal";
13+import { COMPANY, MAKER_PRODUCTS, SOCIAL, copyright, listed } from "../lib/legal";
1414 import { type OverallState, STATUS_JSON_URL, STATUS_URL, STATUS_WORDS, type StatusReport, dotClass } from "../lib/status";
1515
1616 /** How long one fetched report is reused across the pages of one visit. */
9494 title: "Company",
9595 links: [
9696 ["Flagon, Inc.", COMPANY.url],
97+ ...SOCIAL.map((account): [string, string] => [account.label, account.url]),
9798 ["Support", "/support"],
9899 ["Security", "/security"],
99100 ["Status", STATUS_URL],
+3−0
1414 founder: "Chase Pierce",
1515 };
1616
17+/** g1t's own accounts elsewhere. */
18+export const SOCIAL: { label: string; url: string }[] = [{ label: "X", url: "https://x.com/g1t_sh" }];
19+
1720 /**
1821 * Flagon's other launched products, which the footer's maker line names
1922 * ("…, the people behind X and Y"). None yet: add each here when it ships.
+2−2
55 */
66 import type { MetaDescriptor } from "react-router";
77
8−import { COMPANY } from "./legal";
8+import { COMPANY, SOCIAL } from "./legal";
99 import { DESCRIPTION, SITE } from "./meta";
1010
1111 export function organization(): MetaDescriptor {
1616 name: COMPANY.name,
1717 url: COMPANY.url,
1818 founder: { "@type": "Person", name: COMPANY.founder },
19− brand: { "@type": "Brand", name: "g1t", url: SITE },
19+ brand: { "@type": "Brand", name: "g1t", url: SITE, sameAs: SOCIAL.map((account) => account.url) },
2020 },
2121 };
2222 }