mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-21 12:53:56 +01:00
optimize html, css, svg's, and webp delivery
This commit is contained in:
75 files changed
+452
-331
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { alias } from "@blitzkit/core";
|
||||
import { LazyImage } from "./LazyImage";
|
||||
|
||||
interface SmallTankIconProps {
|
||||
id: number;
|
||||
@@ -17,7 +18,7 @@ export function SmallTankIcon({ id, size = HEIGHT }: SmallTankIconProps) {
|
||||
width: WIDTH * (size / HEIGHT),
|
||||
}}
|
||||
>
|
||||
<img
|
||||
<LazyImage
|
||||
alt={`Tank ${id}`}
|
||||
src={alias("api", `/tanks/${id}/icons/small.webp`)}
|
||||
style={{
|
||||
|
||||
Reference in new issue
Block a user