From 0368d64bcc554ae7bb98aee5931a90a3039f602e Mon Sep 17 00:00:00 2001 From: v4ltages Date: Sat, 2 May 2026 20:18:48 +0300 Subject: [PATCH] Tons of fixes to every page --- package.json | 40 +++---- src/app/[locale]/layout.tsx | 8 +- src/app/[locale]/page.tsx | 5 +- src/app/[locale]/piletid/page.tsx | 104 ++++++++++-------- src/app/[locale]/turniirid/cs2/page.tsx | 67 ++++++----- src/app/[locale]/turniirid/lol/page.tsx | 38 ++++--- src/app/[locale]/turniirid/page.tsx | 34 +++--- src/components/CS2Sidebar.tsx | 66 ----------- src/components/Footer.tsx | 14 +-- src/components/Header.tsx | 88 ++++++++++----- src/components/RuleNav.tsx | 84 ++++++++++++++ .../{CS2Rules.tsx => RulesContent.tsx} | 35 ++++-- src/components/Sponsors.tsx | 98 ++++++++++++++--- src/components/TeaserCarousel.tsx | 93 +++++++++++----- tsconfig.json | 2 +- 15 files changed, 490 insertions(+), 286 deletions(-) delete mode 100644 src/components/CS2Sidebar.tsx create mode 100644 src/components/RuleNav.tsx rename src/components/{CS2Rules.tsx => RulesContent.tsx} (69%) diff --git a/package.json b/package.json index cee61bf..ae8092a 100644 --- a/package.json +++ b/package.json @@ -16,45 +16,45 @@ }, "dependencies": { "@libsql/client": "^0.15.15", - "@paralleldrive/cuid2": "^2.2.2", + "@paralleldrive/cuid2": "^2.3.1", "@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.3", + "@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", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", - "drizzle-orm": "^0.44.5", + "drizzle-orm": "^0.44.7", "lucide-react": "^0.522.0", "material-symbols": "^0.31.9", "next": "15.3.0", - "next-intl": "^4.3.9", + "next-intl": "^4.11.0", "next-themes": "^0.4.6", - "react": "^19.1.1", - "react-dom": "^19.1.1", - "react-icons": "^5.5.0", + "react": "^19.2.5", + "react-dom": "^19.2.5", + "react-icons": "^5.6.0", "react-markdown": "^10.1.0", - "tailwind-merge": "^3.3.1", + "tailwind-merge": "^3.5.0", "three": "^0.178.0", "tw-animate-css": "^1.4.0" }, "devDependencies": { - "@eslint/eslintrc": "^3.3.1", - "@tailwindcss/postcss": "^4.1.13", - "@types/bun": "^1.2.22", - "@types/node": "^20.19.17", - "@types/react": "^19.1.13", - "@types/react-dom": "^19.1.9", - "autoprefixer": "^10.4.21", + "@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", + "@types/react-dom": "^19.2.3", + "autoprefixer": "^10.5.0", "dotenv": "^16.6.1", - "drizzle-kit": "^0.31.4", - "eslint": "^9.36.0", + "drizzle-kit": "^0.31.10", + "eslint": "^9.39.4", "eslint-config-next": "15.3.0", - "postcss": "^8.5.6", - "tailwindcss": "^4.1.13", + "postcss": "^8.5.13", + "tailwindcss": "^4.2.4", "ts-node": "^10.9.2", - "typescript": "^5.9.2" + "typescript": "^5.9.3" } } diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 386d0d5..dc3815b 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -28,9 +28,11 @@ export default async function LocaleLayout({ enableSystem disableTransitionOnChange > - - {children} -