migrate compare and tankopedia loadout to new data-driven components, splitting the old monolithic loadout and compare UI into smaller pieces and adding shared Table, Dialog and Scroller primitives

This commit is contained in:
tresabhi committed 2026-11-14 01:17:38 -06:00
1 parent 287aba853f
commit c311a6ab8b
111 files changed
+4009 -3917

No files matched your search

@@ -0,0 +1,9 @@
.empty-state {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--space-3);
}
@@ -0,0 +1,17 @@
import { Heading } from "../Heading";
import { Text } from "../Text";
import styles from "./index.module.css";
interface EmptyStateProps {
title: string;
body: string;
}
export function EmptyState({ title, body }: EmptyStateProps) {
return (
<div className={styles["empty-state"]}>
<Heading size="4">{title}</Heading>
<Text lowContrast>{body}</Text>
</div>
);
}