site: add X (Twitter) links to header & footer
All checks were successful
deploy / deploy (push) Successful in 7s

https://x.com/AgentsQuant in src/data/site.ts; linked from the landing header
nav, footer brand chip and Network column, plus the terminal StatusBar (parity
with the Telegram links).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
zefiroff 2026-06-09 21:04:09 +04:00
parent 7a2f83f781
commit 6edd2c5b23
3 changed files with 28 additions and 2 deletions

View file

@ -2,8 +2,8 @@
export const SITE = {
/** Telegram alert bot — live verdicts & paper fills, /status /positions /pnl /help. */
telegramBot: 'https://t.me/agentsquant_bot',
/** Project X / Twitter (fill when available). */
x: '',
/** Project X / Twitter. */
x: 'https://x.com/AgentsQuant',
/** $QUANT Solana mint (post-TGE). */
contract: '',
} as const

View file

@ -43,6 +43,14 @@ export function Landing() {
<span className="font-display text-base font-bold tracking-tight text-bone">Quant<span className="text-muted"> Agent</span></span>
</span>
<nav className="flex items-center gap-5">
<a
href={SITE.x}
target="_blank"
rel="noreferrer"
className="font-mono text-micro uppercase tracking-[0.14em] text-muted transition-colors hover:text-accent"
>
X
</a>
<a
href={SITE.telegramBot}
target="_blank"
@ -162,6 +170,14 @@ export function Landing() {
>
Telegram
</a>
<a
href={SITE.x}
target="_blank"
rel="noreferrer"
className="flex items-center gap-1.5 rounded-sm border border-line-soft px-2 py-1 font-mono text-micro text-muted transition-colors hover:border-line-strong hover:text-bone"
>
X
</a>
</div>
</div>
@ -177,6 +193,7 @@ export function Landing() {
{ label: 'L4 · Decision', href: '#how' },
]} />
<FooterCol title="Network" links={[
{ label: 'X (Twitter) ↗', href: SITE.x },
{ label: 'Telegram bot ↗', href: SITE.telegramBot },
{ label: 'Hyperliquid ↗', href: 'https://hyperliquid.xyz' },
{ label: 'Hyperliquid docs ↗', href: 'https://hyperliquid.gitbook.io' },

View file

@ -180,6 +180,15 @@ function StatusBar({ live, ago, stale, onReload }: { live: boolean; ago: number
{ago != null && <span className="tnum hidden sm:inline">{ago}s</span>}
</button>
<span className="tnum hidden text-bone-dim md:inline">{clock} UTC</span>
<a
href={SITE.x}
target="_blank"
rel="noreferrer"
title="Quant Agent on X"
className="hidden text-faint transition-colors hover:text-accent sm:inline"
>
X
</a>
<a
href={SITE.telegramBot}
target="_blank"