optimize html, css, svg's, and webp delivery

This commit is contained in:
tresabhi committed 2026-11-20 23:23:40 -06:00
1 parent 457f04ce0c
commit 68335de62c
75 files changed
+452 -331

No files matched your search

@@ -4,6 +4,7 @@ import { useDuelModules } from "../../hooks/useDuelModules";
import { useStrings } from "../../hooks/useStrings";
import { useUnwrapper } from "../../hooks/useUnwrapper";
import { Heading } from "../Heading";
import { LazyImage } from "../LazyImage";
import { Text } from "../Text";
import styles from "./index.module.css";
@@ -86,7 +87,7 @@ export function TankopediaGameModeAbilities() {
function Ability({ icon, name }: { icon: string; name: string }) {
return (
<Text lowContrast className={styles.ability}>
<img src={icon} alt={name} />
<LazyImage src={icon} alt={name} />
{name}
</Text>
);