Merge pull request #126 from Lapikud/development

Rule translation fixes and migration to next 16
This commit is contained in:
2026-05-29 16:48:51 +03:00
committed by GitHub
5 changed files with 45 additions and 46 deletions

View File

@@ -15,46 +15,46 @@
"drizzle:studio": "drizzle-kit studio" "drizzle:studio": "drizzle-kit studio"
}, },
"dependencies": { "dependencies": {
"@libsql/client": "^0.15.15", "@libsql/client": "^0.17.3",
"@paralleldrive/cuid2": "^2.3.1", "@paralleldrive/cuid2": "^3.3.0",
"@radix-ui/react-alert-dialog": "^1.1.15", "@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16", "@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-select": "^2.2.6", "@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slot": "^1.2.4", "@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-tooltip": "^1.2.8", "@radix-ui/react-tooltip": "^1.2.8",
"@tanstack/react-table": "^8.21.3", "@tanstack/react-table": "^8.21.3",
"@types/three": "^0.178.1", "@types/three": "^0.184.1",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"drizzle-orm": "^0.44.7", "drizzle-orm": "^0.45.2",
"lucide-react": "^0.522.0", "lucide-react": "^1.17.0",
"material-symbols": "^0.31.9", "material-symbols": "^0.44.10",
"next": "15.3.0", "next": "16.2.6",
"next-intl": "^4.11.0", "next-intl": "^4.13.0",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
"react": "^19.2.5", "react": "^19.2.6",
"react-dom": "^19.2.5", "react-dom": "^19.2.6",
"react-icons": "^5.6.0", "react-icons": "^5.6.0",
"react-markdown": "^10.1.0", "react-markdown": "^10.1.0",
"tailwind-merge": "^3.5.0", "tailwind-merge": "^3.6.0",
"three": "^0.178.0", "three": "^0.184.0",
"tw-animate-css": "^1.4.0" "tw-animate-css": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
"@eslint/eslintrc": "^3.3.5", "@eslint/eslintrc": "^3.3.5",
"@tailwindcss/postcss": "^4.2.4", "@tailwindcss/postcss": "^4.3.0",
"@types/bun": "^1.3.13", "@types/bun": "^1.3.14",
"@types/node": "^20.19.39", "@types/node": "^25.9.1",
"@types/react": "^19.2.14", "@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"autoprefixer": "^10.5.0", "autoprefixer": "^10.5.0",
"dotenv": "^16.6.1", "dotenv": "^17.4.2",
"drizzle-kit": "^0.31.10", "drizzle-kit": "^0.31.10",
"eslint": "^9.39.4", "eslint": "^10.4.0",
"eslint-config-next": "15.3.0", "eslint-config-next": "16.2.6",
"postcss": "^8.5.13", "postcss": "^8.5.15",
"tailwindcss": "^4.2.4", "tailwindcss": "^4.3.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.9.3" "typescript": "^6.0.3"
} }
} }

View File

@@ -111,18 +111,9 @@ export default async function CS2Tournament({
{t("cs2page.prizes.mainTitle")} {t("cs2page.prizes.mainTitle")}
</h3> </h3>
<ul className="text-white mb-2 leading-[19px]"> <ul className="text-white mb-2 leading-[19px]">
<li> <li>{t("cs2page.prizes.mainPlace1")}</li>
1. koht - 3000, 600 inimese kohta, 50% ehk 1/2 <li>{t("cs2page.prizes.mainPlace2")}</li>
auhinnafondist. <li>{t("cs2page.prizes.mainPlace3")}</li>
</li>
<li>
2. koht - 2000, 400 inimese kohta, 33.3...(3)% ehk 1/3
auhinnafondist.
</li>
<li>
3. koht - 1000, 200 inimese kohta, 16.6...(6)% ehk 1/6
auhinnafondist.
</li>
</ul> </ul>
<p className="text-white/80 text-sm mb-6 leading-[19px]"> <p className="text-white/80 text-sm mb-6 leading-[19px]">
{t("cs2page.prizes.mainNote")} {t("cs2page.prizes.mainNote")}
@@ -134,14 +125,8 @@ export default async function CS2Tournament({
{t("cs2page.prizes.secondTitle")} {t("cs2page.prizes.secondTitle")}
</h3> </h3>
<ul className="text-white mb-2 leading-[19px]"> <ul className="text-white mb-2 leading-[19px]">
<li> <li>{t("cs2page.prizes.secondPlace1")}</li>
1. koht - 500, 100 inimese kohta, 66.6...(6)% ehk 2/3 <li>{t("cs2page.prizes.secondPlace2")}</li>
auhinnafondist.
</li>
<li>
2. koht - 250, 50 inimese kohta, 33.3...(3)% ehk 1/3
auhinnafondist.
</li>
</ul> </ul>
<p className="text-white/80 text-sm leading-[19px]"> <p className="text-white/80 text-sm leading-[19px]">
{t("cs2page.prizes.secondNote")} {t("cs2page.prizes.secondNote")}

View File

@@ -177,13 +177,18 @@
}, },
"info": { "info": {
"title": "GENERAL 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": { "prizes": {
"title": "PRIZE POOL", "title": "PRIZE POOL",
"mainTitle": "MAIN TOURNAMENT - 6000€", "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.", "mainNote": "Teams and players outside the prize pool will not receive additional compensation.",
"secondTitle": "SECOND CHANCE TOURNAMENT - 750€", "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." "secondNote": "Teams and players outside the prize pool will not receive additional compensation."
}, },
"format": { "format": {
@@ -468,7 +473,7 @@
}, },
"info": { "info": {
"title": "GENERAL 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": { "prizes": {
"title": "PRIZE POOL", "title": "PRIZE POOL",

View File

@@ -178,13 +178,18 @@
}, },
"info": { "info": {
"title": "ÜLDINE 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": { "prizes": {
"title": "AUHINNAFOND", "title": "AUHINNAFOND",
"mainTitle": "PEATURNIIR - 6000€", "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.", "mainNote": "Auhinnafondist väljaspoole jäävatele meeskondadele ja mängijatele lisahüvitisi ei pakuta.",
"secondTitle": "TEISE VÕIMALUSE TURNIIR - 750€", "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." "secondNote": "Auhinnafondist väljaspoole jäävatele meeskondadele ja mängijatele lisahüvitisi ei pakuta."
}, },
"format": { "format": {
@@ -469,7 +474,7 @@
}, },
"info": { "info": {
"title": "ÜLDINE 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": { "prizes": {
"title": "AUHINNAFOND", "title": "AUHINNAFOND",

View File

@@ -22,6 +22,10 @@
"name": "next" "name": "next"
} }
], ],
"types": [
"node",
"bun-types"
],
"paths": { "paths": {
"@/*": [ "@/*": [
"./src/*" "./src/*"