chore(snapshot): sync frontend workspace state

This commit is contained in:
u1
2026-03-29 13:14:30 +02:00
parent e20a1f5198
commit a188308013
44 changed files with 11187 additions and 362 deletions

View File

@@ -9,6 +9,7 @@ export type TickerItem = {
type Props = {
items: TickerItem[];
className?: string;
};
function formatPct(v: number): string {
@@ -16,9 +17,9 @@ function formatPct(v: number): string {
return `${s}${v.toFixed(2)}%`;
}
export default function TickerBar({ items }: Props) {
export default function TickerBar({ items, className }: Props) {
return (
<div className="tickerBar">
<div className={['tickerBar', className].filter(Boolean).join(' ')}>
{items.map((t) => (
<div key={t.key} className={['ticker', t.active ? 'ticker--active' : ''].filter(Boolean).join(' ')}>
<span className="ticker__label">{t.label}</span>
@@ -28,4 +29,3 @@ export default function TickerBar({ items }: Props) {
</div>
);
}