f34ae9eb00
Module rename across page H1, navbar tab, URL (/en/btc → /en/macro), all metadata/JSON-LD, sitemap, llms.txt, opengraph image, and SystemControl copy. Old /btc route fully removed. New components/btc/MacroPanel.tsx polls /api/macro/snapshot and lays out the 8 indicators in four sections (Valuation / Bottom trigger reference / Market structure / Sentiment & flows / Positioning) with tone-coloured values, current-band threshold chips, and a single CoinGlass / source chart link per card. Composite -100..+100 needle pulses on score change. Also fixes the pinned bottom-reversal alert on the homepage, which still linked to the now-404 /en/btc — now routes to /en/macro. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30 lines
919 B
TypeScript
30 lines
919 B
TypeScript
/**
|
|
* One-line "what is this page" tagline that sits right under the page title.
|
|
*
|
|
* Replaces ad-hoc <p className="page-sub"> spots that ended up as ghost-gray
|
|
* unreadable status lines ("Macro cycle bottom · 2 signals"). The new contract:
|
|
*
|
|
* * ALWAYS one short sentence — game-tutorial style. Tells the user the
|
|
* "what" in plain English, not the "how" (the how lives in InfoTip's).
|
|
* * Slightly bigger + higher contrast than page-sub. Meant to be read,
|
|
* not glanced past.
|
|
* * Optional `count` slot for the dim stat ("2 signals", "30 posts").
|
|
* Renders muted after a separator so the tagline itself stays clean.
|
|
*/
|
|
export default function PageHint({
|
|
children,
|
|
count,
|
|
}: {
|
|
children: React.ReactNode
|
|
count?: string
|
|
}) {
|
|
return (
|
|
<p className="page-hint">
|
|
{children}
|
|
{count && (
|
|
<span className="page-hint-count">{count}</span>
|
|
)}
|
|
</p>
|
|
)
|
|
}
|