mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-05 07:43:49 +01:00
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:
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...`,
|
||||
|
||||
Reference in new issue
Block a user