diff --git a/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx b/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx
index 2f098a7bb..709e665f6 100644
--- a/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx
+++ b/src/app/tools/tankopedia/[id]/components/Model/components/Options.tsx
@@ -1,5 +1,7 @@
import {
CameraIcon,
+ CopyIcon,
+ DownloadIcon,
EnterFullScreenIcon,
ExitFullScreenIcon,
EyeOpenIcon,
@@ -303,21 +305,56 @@ export function Options({ thicknessRange, canvas }: OptionsProps) {
)}
- {
- if (!canvas.current) return;
+
+
+
+
+
+
- const anchor = document.createElement('a');
+
+
+
+
+ const anchor = document.createElement('a');
+
+ anchor.setAttribute('download', `${protagonist.name}.png`);
+ anchor.setAttribute(
+ 'href',
+ canvas.current.toDataURL('image/png'),
+ );
+ anchor.click();
+ }}
+ >
+
+ Download
+
+
+
+
+
+
+
+
)[tank.nation]
} ${strings.common.tank_class_short[tank.class]}`;
- const description = `Statistics, armor, and equipment for ${tank.name} in World of Tanks Blitz | WoTB`;
+ const description = `Statistics, armor, and equipment for ${tank.name} in World of Tanks Blitz (WoTB)`;
return (