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

@@ -1,8 +1,14 @@
import sharp from "sharp";
import { vfs } from "../../../core/blitzkit/vfs";
export { getStaticPaths } from "../_index";
export async function GET() {
const bytes = await vfs.file("Data/Gfx/UI/Hangar/IconCamouflage.packed.webp");
return new Response(bytes);
const buffer = await sharp(
await vfs.file("Data/Gfx/UI/Hangar/IconCamouflage.packed.webp"),
)
.trim()
.toBuffer();
return new Response(new Uint8Array(buffer));
}
@@ -47,8 +47,6 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => {
),
);
console.log(consumable);
if (!styleSheet) {
console.warn(
`No style sheet found for consumable ${consumable.icon}; skipping...`,