From 34c09da704e0598716b70f20bad36b7203ec54e8 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Fri, 29 May 2026 16:03:04 +0300 Subject: [PATCH] Update packages, fix translations --- package.json | 20 ++++++++++---------- src/app/[locale]/turniirid/cs2/page.tsx | 25 +++++-------------------- translations/en.json | 5 +++++ translations/et.json | 5 +++++ tsconfig.json | 2 +- 5 files changed, 26 insertions(+), 31 deletions(-) diff --git a/package.json b/package.json index ae8092a..9a4f1e3 100644 --- a/package.json +++ b/package.json @@ -30,30 +30,30 @@ "lucide-react": "^0.522.0", "material-symbols": "^0.31.9", "next": "15.3.0", - "next-intl": "^4.11.0", + "next-intl": "^4.13.0", "next-themes": "^0.4.6", - "react": "^19.2.5", - "react-dom": "^19.2.5", + "react": "^19.2.6", + "react-dom": "^19.2.6", "react-icons": "^5.6.0", "react-markdown": "^10.1.0", - "tailwind-merge": "^3.5.0", + "tailwind-merge": "^3.6.0", "three": "^0.178.0", "tw-animate-css": "^1.4.0" }, "devDependencies": { "@eslint/eslintrc": "^3.3.5", - "@tailwindcss/postcss": "^4.2.4", - "@types/bun": "^1.3.13", - "@types/node": "^20.19.39", - "@types/react": "^19.2.14", + "@tailwindcss/postcss": "^4.3.0", + "@types/bun": "^1.3.14", + "@types/node": "^20.19.41", + "@types/react": "^19.2.15", "@types/react-dom": "^19.2.3", "autoprefixer": "^10.5.0", "dotenv": "^16.6.1", "drizzle-kit": "^0.31.10", "eslint": "^9.39.4", "eslint-config-next": "15.3.0", - "postcss": "^8.5.13", - "tailwindcss": "^4.2.4", + "postcss": "^8.5.15", + "tailwindcss": "^4.3.0", "ts-node": "^10.9.2", "typescript": "^5.9.3" } diff --git a/src/app/[locale]/turniirid/cs2/page.tsx b/src/app/[locale]/turniirid/cs2/page.tsx index 3dc423b..d330638 100644 --- a/src/app/[locale]/turniirid/cs2/page.tsx +++ b/src/app/[locale]/turniirid/cs2/page.tsx @@ -111,18 +111,9 @@ export default async function CS2Tournament({ {t("cs2page.prizes.mainTitle")}

{t("cs2page.prizes.mainNote")} @@ -134,14 +125,8 @@ export default async function CS2Tournament({ {t("cs2page.prizes.secondTitle")}

{t("cs2page.prizes.secondNote")} diff --git a/translations/en.json b/translations/en.json index 00d90f7..71b9144 100644 --- a/translations/en.json +++ b/translations/en.json @@ -182,8 +182,13 @@ "prizes": { "title": "PRIZE POOL", "mainTitle": "MAIN TOURNAMENT - 6000€", + "mainPlace1": "1st place - 3000€, 600€ per player, 50% or 1/2 of the prize pool.", + "mainPlace2": "2nd place - 2000€, 400€ per player, 33.3...(3)% or 1/3 of the prize pool.", + "mainPlace3": "3rd place - 1000€, 200€ per player, 16.6...(6)% or 1/6 of the prize pool.", "mainNote": "Teams and players outside the prize pool will not receive additional compensation.", "secondTitle": "SECOND CHANCE TOURNAMENT - 750€", + "secondPlace1": "1st place - 500€, 100€ per player, 66.6...(6)% or 2/3 of the prize pool.", + "secondPlace2": "2nd place - 250€, 50€ per player, 33.3...(3)% or 1/3 of the prize pool.", "secondNote": "Teams and players outside the prize pool will not receive additional compensation." }, "format": { diff --git a/translations/et.json b/translations/et.json index d147425..3af5677 100644 --- a/translations/et.json +++ b/translations/et.json @@ -183,8 +183,13 @@ "prizes": { "title": "AUHINNAFOND", "mainTitle": "PEATURNIIR - 6000€", + "mainPlace1": "1. koht - 3000€, 600€ inimese kohta, 50% ehk 1/2 auhinnafondist.", + "mainPlace2": "2. koht - 2000€, 400€ inimese kohta, 33.3...(3)% ehk 1/3 auhinnafondist.", + "mainPlace3": "3. koht - 1000€, 200€ inimese kohta, 16.6...(6)% ehk 1/6 auhinnafondist.", "mainNote": "Auhinnafondist väljaspoole jäävatele meeskondadele ja mängijatele lisahüvitisi ei pakuta.", "secondTitle": "TEISE VÕIMALUSE TURNIIR - 750€", + "secondPlace1": "1. koht - 500€, 100€ inimese kohta, 66.6...(6)% ehk 2/3 auhinnafondist.", + "secondPlace2": "2. koht - 250€, 50€ inimese kohta, 33.3...(3)% ehk 1/3 auhinnafondist.", "secondNote": "Auhinnafondist väljaspoole jäävatele meeskondadele ja mängijatele lisahüvitisi ei pakuta." }, "format": { diff --git a/tsconfig.json b/tsconfig.json index b575f7d..5d606a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react-jsx", + "jsx": "preserve", "incremental": true, "plugins": [ {