diff --git a/src/components/dashboard/LeaderboardSection.astro b/src/components/dashboard/LeaderboardSection.astro new file mode 100644 index 0000000..35dd917 --- /dev/null +++ b/src/components/dashboard/LeaderboardSection.astro @@ -0,0 +1,34 @@ +--- +import LeaderboardTable from "./LeaderboardSection/LeaderboardTable"; +import LeaderboardStats from "./LeaderboardSection/LeaderboardStats"; +--- + +
No users with points found
++ Rank + | ++ User + | ++ Points + | +
---|---|---|
+ {actualRank ? (
+ actualRank <= 3 ? (
+
+ {actualRank === 1 && |
+
+
+
+
+
+
+ {user.avatar ? (
+
+
+
+
+ {user.name}
+
+ {user.major && (
+
+ {user.major}
+
+ )}
+ |
+ + {user.points} + | +
+ Your rank: #{currentUserRank} +
++ Participate in events to earn points and get ranked! +
+