spb/market-atlas
Public
TypeScript 96.7%
SQL 1.6%
CSS 0.8%
JavaScript 0.5%
1import type { Metadata } from "next";2import { LiveFeed } from "@/components/market/live-feed";3import { Page, PageHeader } from "@/components/ui/section";4import { api } from "@/lib/api";5import type { MarketEvent } from "@/lib/types";67export const metadata: Metadata = { title: "Live feed", description: "Global market activity stream: canonical events and price changes across every source Market Atlas observes.", alternates: { canonical: "/live" } };8export const dynamic = "force-dynamic";910export default async function LivePage() {11 const events = await api<MarketEvent[]>("/v1/events?limit=100");12 return (13 <Page wide>14 <PageHeader kicker="Live" title="Global activity stream" lead="Canonical market events and price changes as they are formed — filter by asset class, country, type, severity and confidence. Every item names its sources." />15 <LiveFeed initial={events} />16 </Page>17 );18}19