-
+
+ {title || !screenshotMode ? (
+
setTitle(e.target.value)}
+ placeholder={t("tier-list-maker:titlePlaceholder")}
+ className={clsx(styles.titleInput, "plain")}
+ />
+ ) : null}
+ {screenshotMode && title && user ? (
+
+
{t("tier-list-maker:by")}
+
+
+ ) : null}
{state.tiers.map((tier) => (
))}
@@ -143,13 +208,6 @@ function TierListMakerContent() {
>
{t("tier-list-maker:showTierHeaders")}
-
- {t("tier-list-maker:showArrowControls")}
-
diff --git a/locales/da/tier-list-maker.json b/locales/da/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/da/tier-list-maker.json
+++ b/locales/da/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/de/tier-list-maker.json b/locales/de/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/de/tier-list-maker.json
+++ b/locales/de/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/en/tier-list-maker.json b/locales/en/tier-list-maker.json
index 308b3fd26..275d77057 100644
--- a/locales/en/tier-list-maker.json
+++ b/locales/en/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "Add tier",
+ "download": "Download (.png)",
"mainWeapons": "Main Weapons",
"subWeapons": "Sub Weapons",
"specialWeapons": "Special Weapons",
@@ -13,5 +14,6 @@
"resetConfirmation": "Are you sure you want to reset the tier list? This will remove all items and restore default tiers.",
"allowDuplicates": "Allow duplicates",
"showTierHeaders": "Show tier headers",
- "showArrowControls": "Show arrow controls"
+ "titlePlaceholder": "Click to add title...",
+ "by": "Made by"
}
diff --git a/locales/es-ES/tier-list-maker.json b/locales/es-ES/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/es-ES/tier-list-maker.json
+++ b/locales/es-ES/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/es-US/tier-list-maker.json b/locales/es-US/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/es-US/tier-list-maker.json
+++ b/locales/es-US/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/fr-CA/tier-list-maker.json b/locales/fr-CA/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/fr-CA/tier-list-maker.json
+++ b/locales/fr-CA/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/fr-EU/tier-list-maker.json b/locales/fr-EU/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/fr-EU/tier-list-maker.json
+++ b/locales/fr-EU/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/he/tier-list-maker.json b/locales/he/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/he/tier-list-maker.json
+++ b/locales/he/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/it/tier-list-maker.json b/locales/it/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/it/tier-list-maker.json
+++ b/locales/it/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/ja/tier-list-maker.json b/locales/ja/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/ja/tier-list-maker.json
+++ b/locales/ja/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/ko/tier-list-maker.json b/locales/ko/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/ko/tier-list-maker.json
+++ b/locales/ko/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/nl/tier-list-maker.json b/locales/nl/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/nl/tier-list-maker.json
+++ b/locales/nl/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/pl/tier-list-maker.json b/locales/pl/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/pl/tier-list-maker.json
+++ b/locales/pl/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/pt-BR/tier-list-maker.json b/locales/pt-BR/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/pt-BR/tier-list-maker.json
+++ b/locales/pt-BR/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/ru/tier-list-maker.json b/locales/ru/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/ru/tier-list-maker.json
+++ b/locales/ru/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/locales/zh/tier-list-maker.json b/locales/zh/tier-list-maker.json
index d10d8ddc3..f14ed6ee0 100644
--- a/locales/zh/tier-list-maker.json
+++ b/locales/zh/tier-list-maker.json
@@ -1,5 +1,6 @@
{
"addTier": "",
+ "download": "",
"mainWeapons": "",
"subWeapons": "",
"specialWeapons": "",
@@ -13,5 +14,6 @@
"resetConfirmation": "",
"allowDuplicates": "",
"showTierHeaders": "",
- "showArrowControls": ""
+ "titlePlaceholder": "",
+ "by": ""
}
diff --git a/package-lock.json b/package-lock.json
index a27feccb6..de1c6d3eb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -21,6 +21,7 @@
"@remix-run/react": "^2.16.8",
"@remix-run/serve": "^2.16.8",
"@tldraw/tldraw": "^3.12.1",
+ "@zumer/snapdom": "^1.9.14",
"aws-sdk": "^2.1692.0",
"better-sqlite3": "^11.9.1",
"clsx": "^2.1.1",
@@ -7986,6 +7987,12 @@
"integrity": "sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==",
"license": "MIT"
},
+ "node_modules/@zumer/snapdom": {
+ "version": "1.9.14",
+ "resolved": "https://registry.npmjs.org/@zumer/snapdom/-/snapdom-1.9.14.tgz",
+ "integrity": "sha512-kQARFS/jf+fsIFv9qxfNp8YMeun5tTyhFDk3iv47Lywk5YRldhINWicEZI15fP3FDUCeo8ok+BP0CtnDRFMFRg==",
+ "license": "MIT"
+ },
"node_modules/@zxing/text-encoding": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz",
diff --git a/package.json b/package.json
index db4265430..7827a9fda 100644
--- a/package.json
+++ b/package.json
@@ -42,6 +42,7 @@
"@remix-run/react": "^2.16.8",
"@remix-run/serve": "^2.16.8",
"@tldraw/tldraw": "^3.12.1",
+ "@zumer/snapdom": "^1.9.14",
"aws-sdk": "^2.1692.0",
"better-sqlite3": "^11.9.1",
"clsx": "^2.1.1",