From 34c09da704e0598716b70f20bad36b7203ec54e8 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Fri, 29 May 2026 16:03:04 +0300 Subject: [PATCH 1/3] 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": [ { From d878b759d2c8a2f275628deed944c8ce85d8db9e Mon Sep 17 00:00:00 2001 From: v4ltages Date: Fri, 29 May 2026 16:35:09 +0300 Subject: [PATCH 2/3] Update to next 16 --- package.json | 26 +++++++++++++------------- tsconfig.json | 6 +++++- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index 9a4f1e3..79c40ec 100644 --- a/package.json +++ b/package.json @@ -15,21 +15,21 @@ "drizzle:studio": "drizzle-kit studio" }, "dependencies": { - "@libsql/client": "^0.15.15", - "@paralleldrive/cuid2": "^2.3.1", + "@libsql/client": "^0.17.3", + "@paralleldrive/cuid2": "^3.3.0", "@radix-ui/react-alert-dialog": "^1.1.15", "@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-select": "^2.2.6", "@radix-ui/react-slot": "^1.2.4", "@radix-ui/react-tooltip": "^1.2.8", "@tanstack/react-table": "^8.21.3", - "@types/three": "^0.178.1", + "@types/three": "^0.184.1", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "drizzle-orm": "^0.44.7", - "lucide-react": "^0.522.0", - "material-symbols": "^0.31.9", - "next": "15.3.0", + "drizzle-orm": "^0.45.2", + "lucide-react": "^1.17.0", + "material-symbols": "^0.44.10", + "next": "16.2.6", "next-intl": "^4.13.0", "next-themes": "^0.4.6", "react": "^19.2.6", @@ -37,24 +37,24 @@ "react-icons": "^5.6.0", "react-markdown": "^10.1.0", "tailwind-merge": "^3.6.0", - "three": "^0.178.0", + "three": "^0.184.0", "tw-animate-css": "^1.4.0" }, "devDependencies": { "@eslint/eslintrc": "^3.3.5", "@tailwindcss/postcss": "^4.3.0", "@types/bun": "^1.3.14", - "@types/node": "^20.19.41", + "@types/node": "^25.9.1", "@types/react": "^19.2.15", "@types/react-dom": "^19.2.3", "autoprefixer": "^10.5.0", - "dotenv": "^16.6.1", + "dotenv": "^17.4.2", "drizzle-kit": "^0.31.10", - "eslint": "^9.39.4", - "eslint-config-next": "15.3.0", + "eslint": "^10.4.0", + "eslint-config-next": "16.2.6", "postcss": "^8.5.15", "tailwindcss": "^4.3.0", "ts-node": "^10.9.2", - "typescript": "^5.9.3" + "typescript": "^6.0.3" } } diff --git a/tsconfig.json b/tsconfig.json index 5d606a9..9a6e0de 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,13 +15,17 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "plugins": [ { "name": "next" } ], + "types": [ + "node", + "bun-types" + ], "paths": { "@/*": [ "./src/*" From 792bf6835cdc755155945bb9218598135a102e60 Mon Sep 17 00:00:00 2001 From: v4ltages Date: Fri, 29 May 2026 16:47:34 +0300 Subject: [PATCH 3/3] Expand BYOC --- translations/en.json | 4 ++-- translations/et.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/translations/en.json b/translations/en.json index 71b9144..650e721 100644 --- a/translations/en.json +++ b/translations/en.json @@ -177,7 +177,7 @@ }, "info": { "title": "GENERAL INFO", - "description": "TipiLAN 2026 CS2 tournament takes place September 11-13 at TalTech, Tallinn, Estonia. This is a BYOC LAN tournament. On-site, each participant is provided with: desk, chair, wired internet connection, power connection (2 outlets)." + "description": "TipiLAN 2026 CS2 tournament takes place September 11-13 at TalTech, Tallinn, Estonia. This is a BYOC (bring your own computer) LAN tournament. On-site, each participant is provided with: desk, chair, wired internet connection, power connection (2 outlets)." }, "prizes": { "title": "PRIZE POOL", @@ -473,7 +473,7 @@ }, "info": { "title": "GENERAL INFO", - "description": "TipiLAN 2026 LoL tournament takes place September 11-13 at TalTech, Tallinn, Estonia. This is a BYOC LAN tournament. On-site, each participant is provided with: desk, chair, wired internet connection, power connection (2 outlets)." + "description": "TipiLAN 2026 LoL tournament takes place September 11-13 at TalTech, Tallinn, Estonia. This is a BYOC (bring your own computer) LAN tournament. On-site, each participant is provided with: desk, chair, wired internet connection, power connection (2 outlets)." }, "prizes": { "title": "PRIZE POOL", diff --git a/translations/et.json b/translations/et.json index 3af5677..ec65fb1 100644 --- a/translations/et.json +++ b/translations/et.json @@ -178,7 +178,7 @@ }, "info": { "title": "ÜLDINE INFO", - "description": "TipiLAN 2026 CS2 turniir toimub 11.-13. septembril TalTechis, Tallinnas, Eestis. Tegemist on BYOC LAN turniiriga. Kohapeal pakutakse igale osalejale: laud, tool, võrgukaabliga internetiühendus, vooluühendus (2 pesa)." + "description": "TipiLAN 2026 CS2 turniir toimub 11.-13. septembril TalTechis, Tallinnas, Eestis. Tegemist on BYOC (bring your own computer) LAN turniiriga. Kohapeal pakutakse igale osalejale: laud, tool, võrgukaabliga internetiühendus, vooluühendus (2 pesa)." }, "prizes": { "title": "AUHINNAFOND", @@ -474,7 +474,7 @@ }, "info": { "title": "ÜLDINE INFO", - "description": "TipiLAN 2026 LoL turniir toimub 11.-13. septembril TalTechis, Tallinnas, Eestis. Tegemist on BYOC LAN turniiriga. Kohapeal pakutakse igale osalejale: laud, tool, võrgukaabliga internetiühendus, vooluühendus (2 pesa)." + "description": "TipiLAN 2026 LoL turniir toimub 11.-13. septembril TalTechis, Tallinnas, Eestis. Tegemist on BYOC (bring your own computer) LAN turniiriga. Kohapeal pakutakse igale osalejale: laud, tool, võrgukaabliga internetiühendus, vooluühendus (2 pesa)." }, "prizes": { "title": "AUHINNAFOND",