diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/details.md b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/details.md new file mode 100644 index 0000000..a513d90 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/details.md @@ -0,0 +1,33 @@ +# Details + +Date : 2025-03-01 14:18:38 + +Directory c:\\Users\\Admin\\Documents\\VS Code Projects\\project\\services\\frontend\\src + +Total : 18 files, 736 codes, 5 comments, 85 blanks, all 826 lines + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | +| [src/App.tsx](/src/App.tsx) | TypeScript JSX | 11 | 0 | 3 | 14 | +| [src/components/ui/alert.tsx](/src/components/ui/alert.tsx) | TypeScript JSX | 60 | 0 | 7 | 67 | +| [src/components/ui/badge.tsx](/src/components/ui/badge.tsx) | TypeScript JSX | 41 | 0 | 6 | 47 | +| [src/components/ui/button.tsx](/src/components/ui/button.tsx) | TypeScript JSX | 53 | 0 | 6 | 59 | +| [src/components/ui/card.tsx](/src/components/ui/card.tsx) | TypeScript JSX | 60 | 0 | 9 | 69 | +| [src/components/ui/skeleton.tsx](/src/components/ui/skeleton.tsx) | TypeScript JSX | 11 | 0 | 3 | 14 | +| [src/components/ui/tabs.tsx](/src/components/ui/tabs.tsx) | TypeScript JSX | 64 | 0 | 6 | 70 | +| [src/main.tsx](/src/main.tsx) | TypeScript JSX | 11 | 0 | 2 | 13 | +| [src/pages/CompetitionsPage/components/CompetitionCard/index.tsx](/src/pages/CompetitionsPage/components/CompetitionCard/index.tsx) | TypeScript JSX | 41 | 0 | 5 | 46 | +| [src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx](/src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx) | TypeScript JSX | 18 | 0 | 2 | 20 | +| [src/pages/CompetitionsPage/components/CompetitionTag/index.tsx](/src/pages/CompetitionsPage/components/CompetitionTag/index.tsx) | TypeScript JSX | 23 | 0 | 3 | 26 | +| [src/pages/CompetitionsPage/index.tsx](/src/pages/CompetitionsPage/index.tsx) | TypeScript JSX | 145 | 4 | 15 | 164 | +| [src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx](/src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx) | TypeScript JSX | 41 | 0 | 5 | 46 | +| [src/pages/CompetitionsPage/types.ts](/src/pages/CompetitionsPage/types.ts) | TypeScript | 12 | 0 | 2 | 14 | +| [src/shared/lib/utils.ts](/src/shared/lib/utils.ts) | TypeScript | 5 | 0 | 2 | 7 | +| [src/styles/fonts.css](/src/styles/fonts.css) | CSS | 18 | 0 | 2 | 20 | +| [src/styles/globals.css](/src/styles/globals.css) | CSS | 122 | 0 | 6 | 128 | +| [src/vite-env.d.ts](/src/vite-env.d.ts) | TypeScript | 0 | 1 | 1 | 2 | + +[Summary](results.md) / Details / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff-details.md b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff-details.md new file mode 100644 index 0000000..146bcff --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff-details.md @@ -0,0 +1,15 @@ +# Diff Details + +Date : 2025-03-01 14:18:38 + +Directory c:\\Users\\Admin\\Documents\\VS Code Projects\\project\\services\\frontend\\src + +Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details + +## Files +| filename | language | code | comment | blank | total | +| :--- | :--- | ---: | ---: | ---: | ---: | + +[Summary](results.md) / [Details](details.md) / [Diff Summary](diff.md) / Diff Details \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.csv b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.csv new file mode 100644 index 0000000..b7d8d75 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.csv @@ -0,0 +1,2 @@ +"filename", "language", "", "comment", "blank", "total" +"Total", "-", , 0, 0, 0 \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.md b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.md new file mode 100644 index 0000000..3cdff44 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.md @@ -0,0 +1,19 @@ +# Diff Summary + +Date : 2025-03-01 14:18:38 + +Directory c:\\Users\\Admin\\Documents\\VS Code Projects\\project\\services\\frontend\\src + +Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | + +[Summary](results.md) / [Details](details.md) / Diff Summary / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.txt b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.txt new file mode 100644 index 0000000..a2fa4a1 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/diff.txt @@ -0,0 +1,22 @@ +Date : 2025-03-01 14:18:38 +Directory : c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src +Total : 0 files, 0 codes, 0 comments, 0 blanks, all 0 lines + +Languages ++----------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------+------------+------------+------------+------------+------------+ ++----------+------------+------------+------------+------------+------------+ + +Directories ++------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++------+------------+------------+------------+------------+------------+ ++------+------------+------------+------------+------------+------------+ + +Files ++----------+----------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++----------+----------+------------+------------+------------+------------+ +| Total | | 0 | 0 | 0 | 0 | ++----------+----------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.csv b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.csv new file mode 100644 index 0000000..0579daf --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.csv @@ -0,0 +1,20 @@ +"filename", "language", "TypeScript", "TypeScript JSX", "CSS", "comment", "blank", "total" +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\App.tsx", "TypeScript JSX", 0, 11, 0, 0, 3, 14 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\alert.tsx", "TypeScript JSX", 0, 60, 0, 0, 7, 67 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\badge.tsx", "TypeScript JSX", 0, 41, 0, 0, 6, 47 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\button.tsx", "TypeScript JSX", 0, 53, 0, 0, 6, 59 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\card.tsx", "TypeScript JSX", 0, 60, 0, 0, 9, 69 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\skeleton.tsx", "TypeScript JSX", 0, 11, 0, 0, 3, 14 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\tabs.tsx", "TypeScript JSX", 0, 64, 0, 0, 6, 70 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\main.tsx", "TypeScript JSX", 0, 11, 0, 0, 2, 13 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionCard\index.tsx", "TypeScript JSX", 0, 41, 0, 0, 5, 46 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionSkeleton\index.tsx", "TypeScript JSX", 0, 18, 0, 0, 2, 20 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionTag\index.tsx", "TypeScript JSX", 0, 23, 0, 0, 3, 26 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\index.tsx", "TypeScript JSX", 0, 145, 0, 4, 15, 164 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\modules\CompetitionGrid\index.tsx", "TypeScript JSX", 0, 41, 0, 0, 5, 46 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\types.ts", "TypeScript", 12, 0, 0, 0, 2, 14 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\shared\lib\utils.ts", "TypeScript", 5, 0, 0, 0, 2, 7 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\styles\fonts.css", "CSS", 0, 0, 18, 0, 2, 20 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\styles\globals.css", "CSS", 0, 0, 122, 0, 6, 128 +"c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\vite-env.d.ts", "TypeScript", 0, 0, 0, 1, 1, 2 +"Total", "-", 17, 579, 140, 5, 85, 826 \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.json b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.json new file mode 100644 index 0000000..da49227 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.json @@ -0,0 +1 @@ +{"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/vite-env.d.ts":{"language":"TypeScript","code":0,"comment":1,"blank":1},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/main.tsx":{"language":"TypeScript JSX","code":11,"comment":0,"blank":2},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/styles/fonts.css":{"language":"CSS","code":18,"comment":0,"blank":2},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/shared/lib/utils.ts":{"language":"TypeScript","code":5,"comment":0,"blank":2},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/styles/globals.css":{"language":"CSS","code":122,"comment":0,"blank":6},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/types.ts":{"language":"TypeScript","code":12,"comment":0,"blank":2},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/components/CompetitionTag/index.tsx":{"language":"TypeScript JSX","code":23,"comment":0,"blank":3},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/tabs.tsx":{"language":"TypeScript JSX","code":64,"comment":0,"blank":6},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/skeleton.tsx":{"language":"TypeScript JSX","code":11,"comment":0,"blank":3},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx":{"language":"TypeScript JSX","code":41,"comment":0,"blank":5},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/card.tsx":{"language":"TypeScript JSX","code":60,"comment":0,"blank":9},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/badge.tsx":{"language":"TypeScript JSX","code":41,"comment":0,"blank":6},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/button.tsx":{"language":"TypeScript JSX","code":53,"comment":0,"blank":6},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/components/ui/alert.tsx":{"language":"TypeScript JSX","code":60,"comment":0,"blank":7},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx":{"language":"TypeScript JSX","code":18,"comment":0,"blank":2},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/App.tsx":{"language":"TypeScript JSX","code":11,"comment":0,"blank":3},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/components/CompetitionCard/index.tsx":{"language":"TypeScript JSX","code":41,"comment":0,"blank":5},"file:///c%3A/Users/Admin/Documents/VS%20Code%20Projects/project/services/frontend/src/pages/CompetitionsPage/index.tsx":{"language":"TypeScript JSX","code":145,"comment":4,"blank":15}} \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.md b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.md new file mode 100644 index 0000000..a25ca88 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.md @@ -0,0 +1,38 @@ +# Summary + +Date : 2025-03-01 14:18:38 + +Directory c:\\Users\\Admin\\Documents\\VS Code Projects\\project\\services\\frontend\\src + +Total : 18 files, 736 codes, 5 comments, 85 blanks, all 826 lines + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) + +## Languages +| language | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| TypeScript JSX | 13 | 579 | 4 | 72 | 655 | +| CSS | 2 | 140 | 0 | 8 | 148 | +| TypeScript | 3 | 17 | 1 | 5 | 23 | + +## Directories +| path | files | code | comment | blank | total | +| :--- | ---: | ---: | ---: | ---: | ---: | +| . | 18 | 736 | 5 | 85 | 826 | +| . (Files) | 3 | 22 | 1 | 6 | 29 | +| components | 6 | 289 | 0 | 37 | 326 | +| components\\ui | 6 | 289 | 0 | 37 | 326 | +| pages | 6 | 280 | 4 | 32 | 316 | +| pages\\CompetitionsPage | 6 | 280 | 4 | 32 | 316 | +| pages\\CompetitionsPage (Files) | 2 | 157 | 4 | 17 | 178 | +| pages\\CompetitionsPage\\components | 3 | 82 | 0 | 10 | 92 | +| pages\\CompetitionsPage\\components\\CompetitionCard | 1 | 41 | 0 | 5 | 46 | +| pages\\CompetitionsPage\\components\\CompetitionSkeleton | 1 | 18 | 0 | 2 | 20 | +| pages\\CompetitionsPage\\components\\CompetitionTag | 1 | 23 | 0 | 3 | 26 | +| pages\\CompetitionsPage\\modules | 1 | 41 | 0 | 5 | 46 | +| pages\\CompetitionsPage\\modules\\CompetitionGrid | 1 | 41 | 0 | 5 | 46 | +| shared | 1 | 5 | 0 | 2 | 7 | +| shared\\lib | 1 | 5 | 0 | 2 | 7 | +| styles | 2 | 140 | 0 | 8 | 148 | + +Summary / [Details](details.md) / [Diff Summary](diff.md) / [Diff Details](diff-details.md) \ No newline at end of file diff --git a/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.txt b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.txt new file mode 100644 index 0000000..9144604 --- /dev/null +++ b/services/frontend/.VSCodeCounter/2025-03-01_14-18-38/results.txt @@ -0,0 +1,59 @@ +Date : 2025-03-01 14:18:38 +Directory : c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src +Total : 18 files, 736 codes, 5 comments, 85 blanks, all 826 lines + +Languages ++----------------+------------+------------+------------+------------+------------+ +| language | files | code | comment | blank | total | ++----------------+------------+------------+------------+------------+------------+ +| TypeScript JSX | 13 | 579 | 4 | 72 | 655 | +| CSS | 2 | 140 | 0 | 8 | 148 | +| TypeScript | 3 | 17 | 1 | 5 | 23 | ++----------------+------------+------------+------------+------------+------------+ + +Directories ++-----------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| path | files | code | comment | blank | total | ++-----------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ +| . | 18 | 736 | 5 | 85 | 826 | +| . (Files) | 3 | 22 | 1 | 6 | 29 | +| components | 6 | 289 | 0 | 37 | 326 | +| components\ui | 6 | 289 | 0 | 37 | 326 | +| pages | 6 | 280 | 4 | 32 | 316 | +| pages\CompetitionsPage | 6 | 280 | 4 | 32 | 316 | +| pages\CompetitionsPage (Files) | 2 | 157 | 4 | 17 | 178 | +| pages\CompetitionsPage\components | 3 | 82 | 0 | 10 | 92 | +| pages\CompetitionsPage\components\CompetitionCard | 1 | 41 | 0 | 5 | 46 | +| pages\CompetitionsPage\components\CompetitionSkeleton | 1 | 18 | 0 | 2 | 20 | +| pages\CompetitionsPage\components\CompetitionTag | 1 | 23 | 0 | 3 | 26 | +| pages\CompetitionsPage\modules | 1 | 41 | 0 | 5 | 46 | +| pages\CompetitionsPage\modules\CompetitionGrid | 1 | 41 | 0 | 5 | 46 | +| shared | 1 | 5 | 0 | 2 | 7 | +| shared\lib | 1 | 5 | 0 | 2 | 7 | +| styles | 2 | 140 | 0 | 8 | 148 | ++-----------------------------------------------------------------------------------------------------------------------------------------+------------+------------+------------+------------+------------+ + +Files ++-----------------------------------------------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+ +| filename | language | code | comment | blank | total | ++-----------------------------------------------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+ +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\App.tsx | TypeScript JSX | 11 | 0 | 3 | 14 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\alert.tsx | TypeScript JSX | 60 | 0 | 7 | 67 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\badge.tsx | TypeScript JSX | 41 | 0 | 6 | 47 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\button.tsx | TypeScript JSX | 53 | 0 | 6 | 59 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\card.tsx | TypeScript JSX | 60 | 0 | 9 | 69 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\skeleton.tsx | TypeScript JSX | 11 | 0 | 3 | 14 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\components\ui\tabs.tsx | TypeScript JSX | 64 | 0 | 6 | 70 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\main.tsx | TypeScript JSX | 11 | 0 | 2 | 13 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionCard\index.tsx | TypeScript JSX | 41 | 0 | 5 | 46 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionSkeleton\index.tsx | TypeScript JSX | 18 | 0 | 2 | 20 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\components\CompetitionTag\index.tsx | TypeScript JSX | 23 | 0 | 3 | 26 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\index.tsx | TypeScript JSX | 145 | 4 | 15 | 164 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\modules\CompetitionGrid\index.tsx | TypeScript JSX | 41 | 0 | 5 | 46 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\pages\CompetitionsPage\types.ts | TypeScript | 12 | 0 | 2 | 14 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\shared\lib\utils.ts | TypeScript | 5 | 0 | 2 | 7 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\styles\fonts.css | CSS | 18 | 0 | 2 | 20 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\styles\globals.css | CSS | 122 | 0 | 6 | 128 | +| c:\Users\Admin\Documents\VS Code Projects\project\services\frontend\src\vite-env.d.ts | TypeScript | 0 | 1 | 1 | 2 | +| Total | | 736 | 5 | 85 | 826 | ++-----------------------------------------------------------------------------------------------------------------------------------------+----------------+------------+------------+------------+------------+ \ No newline at end of file diff --git a/services/frontend/bun.lock b/services/frontend/bun.lock index 47cb214..1e65b63 100644 --- a/services/frontend/bun.lock +++ b/services/frontend/bun.lock @@ -4,18 +4,24 @@ "": { "name": "frontend", "dependencies": { + "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-slot": "^1.1.2", + "@radix-ui/react-tabs": "^1.1.3", "@tailwindcss/vite": "^4.0.9", + "autoprefixer": "^10.4.20", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.476.0", "ofetch": "^1.4.1", + "postcss": "^8.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router": "^7.2.0", + "react-router-dom": "^7.2.0", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", "tailwindcss-animate": "^1.0.7", + "vaul": "^1.1.2", }, "devDependencies": { "@eslint/js": "^9.21.0", @@ -117,10 +123,46 @@ "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], + "@radix-ui/primitive": ["@radix-ui/primitive@1.1.1", "", {}, "sha512-SJ31y+Q/zAyShtXJc8x83i9TYdbAfHZ++tUZnvjJJqFjzsdUnKsxPL6IEtBlxKkU7yzer//GQtZSV4GbldL3YA=="], + + "@radix-ui/react-collection": ["@radix-ui/react-collection@1.1.2", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-context": "1.1.1", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-slot": "1.1.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-9z54IEKRxIa9VityapoEYMuByaG42iSy1ZXlY2KcuLSEtq8x4987/N6m15ppoMffgZX72gER2uHe1D9Y6Unlcw=="], + "@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw=="], + "@radix-ui/react-context": ["@radix-ui/react-context@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-UASk9zi+crv9WteK/NU4PLvOoL3OuE6BWVKNF6hPRBtYBDXQ2u5iu3O59zUlJiTVvkyuycnqrztsHVJwcK9K+Q=="], + + "@radix-ui/react-dialog": ["@radix-ui/react-dialog@1.1.6", "", { "dependencies": { "@radix-ui/primitive": "1.1.1", "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-context": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.5", "@radix-ui/react-focus-guards": "1.1.1", "@radix-ui/react-focus-scope": "1.1.2", "@radix-ui/react-id": "1.1.0", "@radix-ui/react-portal": "1.1.4", "@radix-ui/react-presence": "1.1.2", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-slot": "1.1.2", "@radix-ui/react-use-controllable-state": "1.1.0", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-/IVhJV5AceX620DUJ4uYVMymzsipdKBzo3edo+omeskCKGm9FRHM0ebIdbPnlQVJqyuHbuBltQUOG2mOTq2IYw=="], + + "@radix-ui/react-direction": ["@radix-ui/react-direction@1.1.0", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-BUuBvgThEiAXh2DWu93XsT+a3aWrGqolGlqqw5VU1kG7p/ZH2cuDlM1sRLNnY3QcBS69UIz2mcKhMxDsdewhjg=="], + + "@radix-ui/react-dismissable-layer": ["@radix-ui/react-dismissable-layer@1.1.5", "", { "dependencies": { "@radix-ui/primitive": "1.1.1", "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-use-callback-ref": "1.1.0", "@radix-ui/react-use-escape-keydown": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-E4TywXY6UsXNRhFrECa5HAvE5/4BFcGyfTyK36gP+pAW1ed7UTK4vKwdr53gAJYwqbfCWC6ATvJa3J3R/9+Qrg=="], + + "@radix-ui/react-focus-guards": ["@radix-ui/react-focus-guards@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-pSIwfrT1a6sIoDASCSpFwOasEwKTZWDw/iBdtnqKO7v6FeOzYJ7U53cPzYFVR3geGGXgVHaH+CdngrrAzqUGxg=="], + + "@radix-ui/react-focus-scope": ["@radix-ui/react-focus-scope@1.1.2", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-use-callback-ref": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-zxwE80FCU7lcXUGWkdt6XpTTCKPitG1XKOwViTxHVKIJhZl9MvIl2dVHeZENCWD9+EdWv05wlaEkRXUykU27RA=="], + + "@radix-ui/react-id": ["@radix-ui/react-id@1.1.0", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA=="], + + "@radix-ui/react-portal": ["@radix-ui/react-portal@1.1.4", "", { "dependencies": { "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-use-layout-effect": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-sn2O9k1rPFYVyKd5LAJfo96JlSGVFpa1fS6UuBJfrZadudiw5tAmru+n1x7aMRQ84qDM71Zh1+SzK5QwU0tJfA=="], + + "@radix-ui/react-presence": ["@radix-ui/react-presence@1.1.2", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-use-layout-effect": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg=="], + + "@radix-ui/react-primitive": ["@radix-ui/react-primitive@2.0.2", "", { "dependencies": { "@radix-ui/react-slot": "1.1.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w=="], + + "@radix-ui/react-roving-focus": ["@radix-ui/react-roving-focus@1.1.2", "", { "dependencies": { "@radix-ui/primitive": "1.1.1", "@radix-ui/react-collection": "1.1.2", "@radix-ui/react-compose-refs": "1.1.1", "@radix-ui/react-context": "1.1.1", "@radix-ui/react-direction": "1.1.0", "@radix-ui/react-id": "1.1.0", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-use-callback-ref": "1.1.0", "@radix-ui/react-use-controllable-state": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-zgMQWkNO169GtGqRvYrzb0Zf8NhMHS2DuEB/TiEmVnpr5OqPU3i8lfbxaAmC2J/KYuIQxyoQQ6DxepyXp61/xw=="], + "@radix-ui/react-slot": ["@radix-ui/react-slot@1.1.2", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ=="], + "@radix-ui/react-tabs": ["@radix-ui/react-tabs@1.1.3", "", { "dependencies": { "@radix-ui/primitive": "1.1.1", "@radix-ui/react-context": "1.1.1", "@radix-ui/react-direction": "1.1.0", "@radix-ui/react-id": "1.1.0", "@radix-ui/react-presence": "1.1.2", "@radix-ui/react-primitive": "2.0.2", "@radix-ui/react-roving-focus": "1.1.2", "@radix-ui/react-use-controllable-state": "1.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-9mFyI30cuRDImbmFF6O2KUJdgEOsGh9Vmx9x/Dh9tOhL7BngmQPQfwW4aejKm5OHpfWIdmeV6ySyuxoOGjtNng=="], + + "@radix-ui/react-use-callback-ref": ["@radix-ui/react-use-callback-ref@1.1.0", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-CasTfvsy+frcFkbXtSJ2Zu9JHpN8TYKxkgJGWbjiZhFivxaeW7rMeZt7QELGVLaYVfFMsKHjb7Ak0nMEe+2Vfw=="], + + "@radix-ui/react-use-controllable-state": ["@radix-ui/react-use-controllable-state@1.1.0", "", { "dependencies": { "@radix-ui/react-use-callback-ref": "1.1.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-MtfMVJiSr2NjzS0Aa90NPTnvTSg6C/JLCV7ma0W6+OMV78vd8OyRpID+Ng9LxzsPbLeuBnWBA1Nq30AtBIDChw=="], + + "@radix-ui/react-use-escape-keydown": ["@radix-ui/react-use-escape-keydown@1.1.0", "", { "dependencies": { "@radix-ui/react-use-callback-ref": "1.1.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-L7vwWlR1kTTQ3oh7g1O0CBF3YCyyTj8NmhLR+phShpyA50HCfBFKVJTpshm9PzLiKmehsrQzTYTpX9HvmC9rhw=="], + + "@radix-ui/react-use-layout-effect": ["@radix-ui/react-use-layout-effect@1.1.0", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w=="], + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.34.8", "", { "os": "android", "cpu": "arm" }, "sha512-q217OSE8DTp8AFHuNHXo0Y86e1wtlfVrXiAlwkIvGRQv9zbc6mE3sjIVfwI8sYUyNxwOg0j/Vm1RKM04JcWLJw=="], "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.34.8", "", { "os": "android", "cpu": "arm64" }, "sha512-Gigjz7mNWaOL9wCggvoK3jEIUUbGul656opstjaUSGC3eT0BM7PofdAJaBfPFWWkXNVAXbaQtC99OCg4sJv70Q=="], @@ -253,14 +295,22 @@ "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], + "aria-hidden": ["aria-hidden@1.2.4", "", { "dependencies": { "tslib": "^2.0.0" } }, "sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A=="], + + "autoprefixer": ["autoprefixer@10.4.20", "", { "dependencies": { "browserslist": "^4.23.3", "caniuse-lite": "^1.0.30001646", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", "picocolors": "^1.0.1", "postcss-value-parser": "^4.2.0" }, "peerDependencies": { "postcss": "^8.1.0" }, "bin": { "autoprefixer": "bin/autoprefixer" } }, "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g=="], + "balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], "brace-expansion": ["brace-expansion@1.1.11", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="], "braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], + "browserslist": ["browserslist@4.24.4", "", { "dependencies": { "caniuse-lite": "^1.0.30001688", "electron-to-chromium": "^1.5.73", "node-releases": "^2.0.19", "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" } }, "sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A=="], + "callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], + "caniuse-lite": ["caniuse-lite@1.0.30001701", "", {}, "sha512-faRs/AW3jA9nTwmJBSO1PQ6L/EOgsB5HMQQq4iCu5zhPgVVgO/pZRHlmatwijZKetFw8/Pr4q6dEN8sJuq8qTw=="], + "chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], "class-variance-authority": ["class-variance-authority@0.7.1", "", { "dependencies": { "clsx": "^2.1.1" } }, "sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg=="], @@ -287,10 +337,16 @@ "detect-libc": ["detect-libc@1.0.3", "", { "bin": { "detect-libc": "./bin/detect-libc.js" } }, "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg=="], + "detect-node-es": ["detect-node-es@1.1.0", "", {}, "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="], + + "electron-to-chromium": ["electron-to-chromium@1.5.109", "", {}, "sha512-AidaH9JETVRr9DIPGfp1kAarm/W6hRJTPuCnkF+2MqhF4KaAgRIcBc8nvjk+YMXZhwfISof/7WG29eS4iGxQLQ=="], + "enhanced-resolve": ["enhanced-resolve@5.18.1", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" } }, "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg=="], "esbuild": ["esbuild@0.25.0", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.25.0", "@esbuild/android-arm": "0.25.0", "@esbuild/android-arm64": "0.25.0", "@esbuild/android-x64": "0.25.0", "@esbuild/darwin-arm64": "0.25.0", "@esbuild/darwin-x64": "0.25.0", "@esbuild/freebsd-arm64": "0.25.0", "@esbuild/freebsd-x64": "0.25.0", "@esbuild/linux-arm": "0.25.0", "@esbuild/linux-arm64": "0.25.0", "@esbuild/linux-ia32": "0.25.0", "@esbuild/linux-loong64": "0.25.0", "@esbuild/linux-mips64el": "0.25.0", "@esbuild/linux-ppc64": "0.25.0", "@esbuild/linux-riscv64": "0.25.0", "@esbuild/linux-s390x": "0.25.0", "@esbuild/linux-x64": "0.25.0", "@esbuild/netbsd-arm64": "0.25.0", "@esbuild/netbsd-x64": "0.25.0", "@esbuild/openbsd-arm64": "0.25.0", "@esbuild/openbsd-x64": "0.25.0", "@esbuild/sunos-x64": "0.25.0", "@esbuild/win32-arm64": "0.25.0", "@esbuild/win32-ia32": "0.25.0", "@esbuild/win32-x64": "0.25.0" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw=="], + "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + "escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], "eslint": ["eslint@9.21.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.19.2", "@eslint/core": "^0.12.0", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "9.21.0", "@eslint/plugin-kit": "^0.2.7", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.2.0", "eslint-visitor-keys": "^4.2.0", "espree": "^10.3.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-KjeihdFqTPhOMXTt7StsDxriV4n66ueuF/jfPNC3j/lduHwr/ijDwJMsF+wyMJethgiKi5wniIE243vi07d3pg=="], @@ -333,8 +389,12 @@ "flatted": ["flatted@3.3.3", "", {}, "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg=="], + "fraction.js": ["fraction.js@4.3.7", "", {}, "sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew=="], + "fsevents": ["fsevents@2.3.3", "", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], + "get-nonce": ["get-nonce@1.0.1", "", {}, "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q=="], + "glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], "globals": ["globals@15.15.0", "", {}, "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg=="], @@ -417,6 +477,10 @@ "node-fetch-native": ["node-fetch-native@1.6.6", "", {}, "sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ=="], + "node-releases": ["node-releases@2.0.19", "", {}, "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw=="], + + "normalize-range": ["normalize-range@0.1.2", "", {}, "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA=="], + "ofetch": ["ofetch@1.4.1", "", { "dependencies": { "destr": "^2.0.3", "node-fetch-native": "^1.6.4", "ufo": "^1.5.4" } }, "sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw=="], "optionator": ["optionator@0.9.4", "", { "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", "word-wrap": "^1.2.5" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="], @@ -437,6 +501,8 @@ "postcss": ["postcss@8.5.3", "", { "dependencies": { "nanoid": "^3.3.8", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A=="], + "postcss-value-parser": ["postcss-value-parser@4.2.0", "", {}, "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ=="], + "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], "prettier": ["prettier@3.5.2", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg=="], @@ -451,8 +517,16 @@ "react-dom": ["react-dom@19.0.0", "", { "dependencies": { "scheduler": "^0.25.0" }, "peerDependencies": { "react": "^19.0.0" } }, "sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ=="], + "react-remove-scroll": ["react-remove-scroll@2.6.3", "", { "dependencies": { "react-remove-scroll-bar": "^2.3.7", "react-style-singleton": "^2.2.3", "tslib": "^2.1.0", "use-callback-ref": "^1.3.3", "use-sidecar": "^1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ=="], + + "react-remove-scroll-bar": ["react-remove-scroll-bar@2.3.8", "", { "dependencies": { "react-style-singleton": "^2.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react"] }, "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q=="], + "react-router": ["react-router@7.2.0", "", { "dependencies": { "@types/cookie": "^0.6.0", "cookie": "^1.0.1", "set-cookie-parser": "^2.6.0", "turbo-stream": "2.4.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" }, "optionalPeers": ["react-dom"] }, "sha512-fXyqzPgCPZbqhrk7k3hPcCpYIlQ2ugIXDboHUzhJISFVy2DEPsmHgN588MyGmkIOv3jDgNfUE3kJi83L28s/LQ=="], + "react-router-dom": ["react-router-dom@7.2.0", "", { "dependencies": { "react-router": "7.2.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" } }, "sha512-cU7lTxETGtQRQbafJubvZKHEn5izNABxZhBY0Jlzdv0gqQhCPQt2J8aN5ZPjS6mQOXn5NnirWNh+FpE8TTYN0Q=="], + + "react-style-singleton": ["react-style-singleton@2.2.3", "", { "dependencies": { "get-nonce": "^1.0.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ=="], + "resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="], "reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="], @@ -491,6 +565,8 @@ "tsconfck": ["tsconfck@3.1.5", "", { "peerDependencies": { "typescript": "^5.0.0" }, "optionalPeers": ["typescript"], "bin": { "tsconfck": "bin/tsconfck.js" } }, "sha512-CLDfGgUp7XPswWnezWwsCRxNmgQjhYq3VXHM0/XIRxhVrKw0M1if9agzryh1QS3nxjCROvV+xWxoJO1YctzzWg=="], + "tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + "turbo-stream": ["turbo-stream@2.4.0", "", {}, "sha512-FHncC10WpBd2eOmGwpmQsWLDoK4cqsA/UT/GqNoaKOQnT8uzhtCbg3EoUDMvqpOSAI0S26mr0rkjzbOO6S3v1g=="], "type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="], @@ -503,8 +579,16 @@ "undici-types": ["undici-types@6.20.0", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="], + "update-browserslist-db": ["update-browserslist-db@1.1.3", "", { "dependencies": { "escalade": "^3.2.0", "picocolors": "^1.1.1" }, "peerDependencies": { "browserslist": ">= 4.21.0" }, "bin": { "update-browserslist-db": "cli.js" } }, "sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw=="], + "uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], + "use-callback-ref": ["use-callback-ref@1.3.3", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg=="], + + "use-sidecar": ["use-sidecar@1.1.3", "", { "dependencies": { "detect-node-es": "^1.1.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ=="], + + "vaul": ["vaul@1.1.2", "", { "dependencies": { "@radix-ui/react-dialog": "^1.1.1" }, "peerDependencies": { "react": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA=="], + "vite": ["vite@6.2.0", "", { "dependencies": { "esbuild": "^0.25.0", "postcss": "^8.5.3", "rollup": "^4.30.1" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "jiti": ">=1.21.0", "less": "*", "lightningcss": "^1.21.0", "sass": "*", "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-7dPxoo+WsT/64rDcwoOjk76XHj+TqNTIvHKcuMQ1k4/SeHDaQt5GFAeLYzrimZrMpn/O6DtdI03WUjdxuPM0oQ=="], "vite-tsconfig-paths": ["vite-tsconfig-paths@5.1.4", "", { "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", "tsconfck": "^3.0.3" }, "peerDependencies": { "vite": "*" }, "optionalPeers": ["vite"] }, "sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w=="], diff --git a/services/frontend/package.json b/services/frontend/package.json index 59286e8..c6a6f4f 100644 --- a/services/frontend/package.json +++ b/services/frontend/package.json @@ -10,18 +10,24 @@ "preview": "vite preview" }, "dependencies": { + "@radix-ui/react-dialog": "^1.1.6", "@radix-ui/react-slot": "^1.1.2", + "@radix-ui/react-tabs": "^1.1.3", "@tailwindcss/vite": "^4.0.9", + "autoprefixer": "^10.4.20", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.476.0", "ofetch": "^1.4.1", + "postcss": "^8.5.3", "react": "^19.0.0", "react-dom": "^19.0.0", "react-router": "^7.2.0", + "react-router-dom": "^7.2.0", "tailwind-merge": "^3.0.2", "tailwindcss": "^4.0.9", - "tailwindcss-animate": "^1.0.7" + "tailwindcss-animate": "^1.0.7", + "vaul": "^1.1.2" }, "devDependencies": { "@eslint/js": "^9.21.0", diff --git a/services/frontend/public/DANO.png b/services/frontend/public/DANO.png new file mode 100644 index 0000000..aa3a56a Binary files /dev/null and b/services/frontend/public/DANO.png differ diff --git a/services/frontend/public/fonts/HSESans-Black.otf b/services/frontend/public/fonts/HSESans-Black.otf new file mode 100644 index 0000000..1ab7d2a Binary files /dev/null and b/services/frontend/public/fonts/HSESans-Black.otf differ diff --git a/services/frontend/public/fonts/HSESans-Bold.otf b/services/frontend/public/fonts/HSESans-Bold.otf new file mode 100644 index 0000000..32ddef0 Binary files /dev/null and b/services/frontend/public/fonts/HSESans-Bold.otf differ diff --git a/services/frontend/public/fonts/HSESans-Italic.otf b/services/frontend/public/fonts/HSESans-Italic.otf new file mode 100644 index 0000000..804ed8f Binary files /dev/null and b/services/frontend/public/fonts/HSESans-Italic.otf differ diff --git a/services/frontend/public/fonts/HSESans-Regular.otf b/services/frontend/public/fonts/HSESans-Regular.otf new file mode 100644 index 0000000..8101ed8 Binary files /dev/null and b/services/frontend/public/fonts/HSESans-Regular.otf differ diff --git a/services/frontend/public/fonts/HSESans-SemiBold.otf b/services/frontend/public/fonts/HSESans-SemiBold.otf new file mode 100644 index 0000000..ca60925 Binary files /dev/null and b/services/frontend/public/fonts/HSESans-SemiBold.otf differ diff --git a/services/frontend/public/fonts/HSESans-Thin.otf b/services/frontend/public/fonts/HSESans-Thin.otf new file mode 100644 index 0000000..374525e Binary files /dev/null and b/services/frontend/public/fonts/HSESans-Thin.otf differ diff --git a/services/frontend/src/App.tsx b/services/frontend/src/App.tsx index daf09bc..7becd34 100644 --- a/services/frontend/src/App.tsx +++ b/services/frontend/src/App.tsx @@ -1,6 +1,14 @@ -import { Routes } from "react-router"; +import { Routes, Route } from "react-router"; import "./styles/globals.css"; +import CompetitionsPage from "./pages/CompetitionsPage"; -export default function App() { - return ; -} +const App = () => { + return ( + + } /> + + + ); +}; + +export default App; \ No newline at end of file diff --git a/services/frontend/src/components/ui/alert.tsx b/services/frontend/src/components/ui/alert.tsx new file mode 100644 index 0000000..dd7eaa4 --- /dev/null +++ b/services/frontend/src/components/ui/alert.tsx @@ -0,0 +1,66 @@ +import * as React from "react" +import { cva, type VariantProps } from "class-variance-authority" + +import { cn } from "@/shared/lib/utils" + +const alertVariants = cva( + "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current", + { + variants: { + variant: { + default: "bg-background text-foreground", + destructive: + "text-destructive-foreground [&>svg]:text-current *:data-[slot=alert-description]:text-destructive-foreground/80", + }, + }, + defaultVariants: { + variant: "default", + }, + } +) + +function Alert({ + className, + variant, + ...props +}: React.ComponentProps<"div"> & VariantProps) { + return ( + + ) +} + +function AlertTitle({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function AlertDescription({ + className, + ...props +}: React.ComponentProps<"div">) { + return ( + + ) +} + +export { Alert, AlertTitle, AlertDescription } diff --git a/services/frontend/src/components/ui/badge.tsx b/services/frontend/src/components/ui/badge.tsx new file mode 100644 index 0000000..52ee562 --- /dev/null +++ b/services/frontend/src/components/ui/badge.tsx @@ -0,0 +1,46 @@ +import * as React from "react" +import { Slot } from "@radix-ui/react-slot" +import { cva, type VariantProps } from "class-variance-authority" + +import { cn } from "@/shared/lib/utils" + +const badgeVariants = cva( + "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", + { + variants: { + variant: { + default: + "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90", + secondary: + "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90", + destructive: + "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40", + outline: + "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground", + }, + }, + defaultVariants: { + variant: "default", + }, + } +) + +function Badge({ + className, + variant, + asChild = false, + ...props +}: React.ComponentProps<"span"> & + VariantProps & { asChild?: boolean }) { + const Comp = asChild ? Slot : "span" + + return ( + + ) +} + +export { Badge, badgeVariants } diff --git a/services/frontend/src/components/ui/card.tsx b/services/frontend/src/components/ui/card.tsx new file mode 100644 index 0000000..4704955 --- /dev/null +++ b/services/frontend/src/components/ui/card.tsx @@ -0,0 +1,68 @@ +import * as React from "react" + +import { cn } from "@/shared/lib/utils" + +function Card({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function CardHeader({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function CardTitle({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function CardDescription({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function CardContent({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +function CardFooter({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +export { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } diff --git a/services/frontend/src/components/ui/skeleton.tsx b/services/frontend/src/components/ui/skeleton.tsx new file mode 100644 index 0000000..75be418 --- /dev/null +++ b/services/frontend/src/components/ui/skeleton.tsx @@ -0,0 +1,13 @@ +import { cn } from "@/shared/lib/utils" + +function Skeleton({ className, ...props }: React.ComponentProps<"div">) { + return ( + + ) +} + +export { Skeleton } diff --git a/services/frontend/src/components/ui/tabs.tsx b/services/frontend/src/components/ui/tabs.tsx new file mode 100644 index 0000000..55c8eae --- /dev/null +++ b/services/frontend/src/components/ui/tabs.tsx @@ -0,0 +1,70 @@ +import * as React from "react" +import * as TabsPrimitive from "@radix-ui/react-tabs" + +import { cn } from "@/shared/lib/utils" + +function Tabs({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function TabsList({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function TabsTrigger({ + className, + value, + ...props +}: React.ComponentProps & { value: string }) { + return ( + + ) +} + +function TabsContent({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +export { Tabs, TabsList, TabsTrigger, TabsContent } \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/components/CompetitionCard/index.tsx b/services/frontend/src/pages/CompetitionsPage/components/CompetitionCard/index.tsx new file mode 100644 index 0000000..222d233 --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/components/CompetitionCard/index.tsx @@ -0,0 +1,46 @@ +import { Competition } from "../../types"; +import { cn } from "@/shared/lib/utils"; +import { + Card, + CardContent, + CardFooter, +} from "@/components/ui/card"; + +interface CompetitionCardProps { + competition: Competition; + className?: string; +} + +export function CompetitionCard({ competition, className }: CompetitionCardProps) { + const { name, imageUrl, isOlympics, status } = competition; + + return ( + + + + + + + + {isOlympics ? "Олимпиада" : "Тренировка"} + + + + {status.replace(/^\w/, c => c.toUpperCase())} + + + + + {name} + + + ); +} \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx b/services/frontend/src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx new file mode 100644 index 0000000..607d9b4 --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/components/CompetitionSkeleton/index.tsx @@ -0,0 +1,20 @@ +import { Card, CardContent, CardFooter } from "@/components/ui/card"; +import { Skeleton } from "@/components/ui/skeleton"; + +const CompetitionSkeleton = () => { + return ( + + + + + + + + + + + + ); +} + +export default CompetitionSkeleton \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/components/CompetitionTag/index.tsx b/services/frontend/src/pages/CompetitionsPage/components/CompetitionTag/index.tsx new file mode 100644 index 0000000..445688f --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/components/CompetitionTag/index.tsx @@ -0,0 +1,26 @@ +import { cn } from "@/shared/lib/utils"; +import { Badge } from "@/components/ui/badge"; + +interface CompetitionTagProps { + label: string; + variant: 'olympics' | 'status'; + className?: string; +} + +const CompetitionTag = ({ label, variant, className }: CompetitionTagProps) => { + return ( + + {label} + + ); +} + +export default CompetitionTag \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/index.tsx b/services/frontend/src/pages/CompetitionsPage/index.tsx new file mode 100644 index 0000000..7417790 --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/index.tsx @@ -0,0 +1,143 @@ +import { useState, useEffect } from 'react'; +import { Competition, Status } from './types'; +import { CompetitionGrid } from './modules/CompetitionGrid'; +import { Alert, AlertDescription } from "@/components/ui/alert"; +import { AlertCircle } from "lucide-react"; +import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; +import Navbar from './modules/Navbar'; + +const mockCompetitions: Competition[] = [ + { + id: '1', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: true, + status: Status.InProgress + }, + { + id: '2', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: false, + status: Status.NotParticipating + }, + { + id: '3', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: false, + status: Status.InProgress + }, + { + id: '4', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: true, + status: Status.Completed + }, + { + id: '5', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: false, + status: Status.Completed + }, + { + id: '6', + name: 'Олимпиада DANO 2025. Индивидуальный этап', + imageUrl: '/DANO.png', + isOlympics: true, + status: Status.NotParticipating + } +]; + + +const CompetitionsPage = () => { + const [competitions, setCompetitions] = useState([]); + const [isLoading, setIsLoading] = useState(true); + const [error, setError] = useState(null); + const [activeTab, setActiveTab] = useState("ongoing"); + + useEffect(() => { + // ! симуляция фетча + const fetchCompetitions = async () => { + try { + setTimeout(() => { + setCompetitions(mockCompetitions); + setIsLoading(false); + }, 800); + } catch (error) { + setError('Соревнования не найдены, пожалуйста, попробуйте позже'); + setIsLoading(false); + } + }; + + fetchCompetitions(); + }, []); + + const myCompetitions = competitions.filter(comp => + comp.status === Status.InProgress || comp.status === Status.Completed + ); + + const filteredMyCompetitions = myCompetitions.filter(comp => + activeTab === "ongoing" ? comp.status === Status.InProgress : comp.status === Status.Completed + ); + + const availableCompetitions = competitions.filter(comp => + comp.status === 'Не участвую' + ); + + return ( + <> + + + {error && ( + + + {error} + + )} + + + + Мои события + + + Текущие + Завершенные + + + + + {isLoading ? ( + + ) : filteredMyCompetitions.length > 0 ? ( + + ) : ( + + + {activeTab === "ongoing" ? "У вас нет текущих соревнований" : "У вас нет завершенных соревнований"} + + + )} + + + + Доступные события + + {isLoading ? ( + + ) : availableCompetitions.length > 0 ? ( + + ) : ( + + Нет доступных соревнований + + )} + + + > + ); +} + +export default CompetitionsPage; \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx b/services/frontend/src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx new file mode 100644 index 0000000..abbe28e --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/modules/CompetitionGrid/index.tsx @@ -0,0 +1,46 @@ +import { Competition } from "../../types"; +import { CompetitionCard } from "../../components/CompetitionCard"; +import CompetitionSkeleton from "../../components/CompetitionSkeleton"; +import { cn } from "@/shared/lib/utils"; + +interface CompetitionGridProps { + competitions: Competition[]; + isLoading?: boolean; + className?: string; + skeletonCount?: number; +} + +export function CompetitionGrid({ + competitions, + isLoading = false, + className, + skeletonCount +}: CompetitionGridProps) { + const gridClasses = cn( + "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6", + className + ); + + const numberOfSkeletons = skeletonCount ?? (competitions.length > 0 ? competitions.length : 4); + + if (isLoading) { + return ( + + {Array.from({ length: numberOfSkeletons }).map((_, index) => ( + + ))} + + ); + } + + return ( + + {competitions.map((competition) => ( + + ))} + + ); +} \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/modules/Navbar/index.tsx b/services/frontend/src/pages/CompetitionsPage/modules/Navbar/index.tsx new file mode 100644 index 0000000..ba1062a --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/modules/Navbar/index.tsx @@ -0,0 +1,24 @@ +import { ChevronDown } from "lucide-react"; + +const Navbar = () => { + return ( + + + + + DATA + RUSH + + + + + itqdev + + + + + ); +}; + + +export default Navbar \ No newline at end of file diff --git a/services/frontend/src/pages/CompetitionsPage/types.ts b/services/frontend/src/pages/CompetitionsPage/types.ts new file mode 100644 index 0000000..544f4f3 --- /dev/null +++ b/services/frontend/src/pages/CompetitionsPage/types.ts @@ -0,0 +1,13 @@ +export enum Status { + InProgress = 'В процессе', + NotParticipating = 'Не участвую', + Completed = 'Завершено' +} + +export interface Competition { + id: string; + name: string; + imageUrl: string; + isOlympics: boolean; + status: Status; +} diff --git a/services/frontend/src/styles/fonts.css b/services/frontend/src/styles/fonts.css new file mode 100644 index 0000000..8f6986d --- /dev/null +++ b/services/frontend/src/styles/fonts.css @@ -0,0 +1,20 @@ +@font-face { + font-family: 'HSE Sans'; + src: url('/fonts/HSESans-Regular.otf') format('opentype'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'HSE Sans'; + src: url('/fonts/HSESans-Bold.otf') format('opentype'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'HSE Sans'; + src: url('/fonts/HSESans-SemiBold.otf') format('opentype'); + font-weight: 600; + font-style: normal; +} \ No newline at end of file diff --git a/services/frontend/src/styles/globals.css b/services/frontend/src/styles/globals.css index 1f613d0..9df6fec 100644 --- a/services/frontend/src/styles/globals.css +++ b/services/frontend/src/styles/globals.css @@ -1,5 +1,5 @@ @import "tailwindcss"; - +@import "./fonts.css"; @plugin "tailwindcss-animate"; @custom-variant dark (&:is(.dark *)); @@ -40,6 +40,9 @@ --sidebar-ring: oklch(0.87 0 0); } +@theme inline { + --font-hse-sans: "HSE Sans", system-ui, sans-serif +} .dark { --background: oklch(0.145 0 0); --foreground: oklch(0.985 0 0); diff --git a/services/frontend/tailwind.config.js b/services/frontend/tailwind.config.js new file mode 100644 index 0000000..50cd5f6 --- /dev/null +++ b/services/frontend/tailwind.config.js @@ -0,0 +1,11 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + theme: { + extend: { + fontFamily: { + 'hse-sans': ['"HSE Sans"', 'system-ui', 'sans-serif'], + }, + }, + }, + plugins: [], +}
+ {activeTab === "ongoing" ? "У вас нет текущих соревнований" : "У вас нет завершенных соревнований"} +
Нет доступных соревнований