From da139e88e7fe9f75b7223112a084de47044ac9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o?= <43091603+glazk0@users.noreply.github.com> Date: Sun, 12 Feb 2023 19:09:03 +0100 Subject: [PATCH] Update card & dashboard --- .vscode/settings.json | 2 +- app/dashboard/layout.tsx | 2 +- app/dashboard/page.tsx | 45 +++---- app/dashboard/puzzles/page.tsx | 1 - ui/Card.tsx | 20 ++- ui/CardTable.tsx | 214 ++++++++++++++++++++------------- ui/dashboard/Usernav.tsx | 2 +- 7 files changed, 163 insertions(+), 123 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 58ff454..0e16096 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,4 @@ { - "typescript.tsdk": "node_modules\\.pnpm\\typescript@4.9.5\\node_modules\\typescript\\lib", + "typescript.tsdk": "node_modules/.pnpm/typescript@4.9.5/node_modules/typescript/lib", "typescript.enablePromptUseWorkspaceTsdk": true } \ No newline at end of file diff --git a/app/dashboard/layout.tsx b/app/dashboard/layout.tsx index d132f03..7dd6000 100644 --- a/app/dashboard/layout.tsx +++ b/app/dashboard/layout.tsx @@ -4,7 +4,7 @@ import Wrapper from '@/ui/dashboard/Wrapper'; export default function Layout({ children }: { children: ReactNode }) { return ( -
Ceci est la page d'accueil du dashboard
Bold data
-Simple data
-Bold data
-Simple data
-{title}
+{data}
+Exercice @@ -22,164 +24,212 @@ export default function CardTable() { | |||||
---|---|---|---|---|---|
+ | |||||
Exercice 1 | 30 | 300 | 10/10/2010 |
-
+ |
|
+ | |||||
Exercice 1 | -40 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+ | |||||
Exercice 1 | -60 | +30 | 300 | 10/10/2010 |
-
+ |
+
+ Exercice 1 + | +30 | +300 | +10/10/2010 | +
+ |
+ |
+ Exercice 1 + | +30 | +300 | +10/10/2010 | +
+ |
+ |
+ Exercice 1 + | +30 | +300 | +10/10/2010 | +
+ |