relay: - relay/ui rebrand — RelayLogo, 'Relay Gateway Configuration', page titles, API-keys headings, package name (wire-level tensorzero client/env/routes left intact) - GET /relay/billing/summary gateway endpoint aggregating relay_cost_events + relay_settlement_evidence (relay-contract BillingSummary DTOs + PostgresBillingSummaryStore) + /billing UI route (wallet, spend by key/model, settlement history) rago: - usage.rs reel-catalog charges load from RAGO_REEL_PRICING (was hardcoded '0') + menivor-reels seed - webhook_emit.rs event catalog expanded toward Lago parity (credit_note.voided, payment.requires_action, invoice.drafted/paid, wallet.depleted/credited, subscription.trial_ended, ...) - cargo check green (gateway, rago-api, rago-jobs); relay/ui build green Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
23 lines
790 B
TypeScript
23 lines
790 B
TypeScript
import { useBreadcrumbs } from "~/hooks/use-breadcrumbs";
|
|
|
|
export function ContentLayout({ children }: React.PropsWithChildren) {
|
|
const { segments } = useBreadcrumbs();
|
|
const pageTitle =
|
|
segments.length > 0
|
|
? [...segments.map((b) => b.label), "Relay"].join(" • ")
|
|
: "Overview • Relay";
|
|
|
|
return (
|
|
<>
|
|
<title>{pageTitle}</title>
|
|
<div className="bg-bg-tertiary w-full min-w-0 flex-1 py-2 pr-2 pl-0 max-md:p-0">
|
|
<div className="h-[calc(100vh-16px)] w-full">
|
|
<div className="border-border bg-bg-secondary flex h-full flex-col overflow-hidden rounded-md border max-md:rounded-none max-md:border-none">
|
|
<div className="min-h-0 flex-1 overflow-auto">{children}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
}
|