Skip to content

Commit d6f9751

Browse files
authored
Merge pull request #35 from druvkotwani/feat-worth
Feat worth
2 parents 3665625 + ded2dbc commit d6f9751

File tree

14 files changed

+760
-33
lines changed

14 files changed

+760
-33
lines changed

client/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,18 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12+
"@types/react-calendar-heatmap": "^1.6.7",
1213
"@vercel/analytics": "^1.3.1",
1314
"@vercel/speed-insights": "^1.0.12",
1415
"axios": "^1.7.3",
16+
"html2canvas": "^1.4.1",
1517
"mongoose": "^8.5.2",
1618
"next": "14.2.5",
1719
"react": "^18",
20+
"react-calendar-heatmap": "^1.9.0",
1821
"react-dom": "^18",
19-
"react-toastify": "^10.0.5"
22+
"react-toastify": "^10.0.5",
23+
"react-tooltip": "^5.28.0"
2024
},
2125
"devDependencies": {
2226
"@types/node": "^20",
Lines changed: 6 additions & 0 deletions
Loading

client/public/assets/icons/money.svg

Lines changed: 10 additions & 0 deletions
Loading

client/public/assets/icons/money2.svg

Lines changed: 6 additions & 0 deletions
Loading

client/src/app/components/Card.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ export const data = {
3636
easySolved: 175,
3737
mediumSolved: 110,
3838
hardSolved: 21,
39+
activeYears: [2021, 2024],
40+
calendarData: {
41+
userCalendar: {
42+
streak: 39,
43+
totalActiveDays: 89,
44+
},
45+
},
3946
};
4047

4148
export default function Card({ userData = data, index }: any) {

client/src/app/components/Circle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Circle = ({ total }: any) => {
2929
strokeWidth="5"
3030
strokeLinecap="round"
3131
stroke="#FFC11F"
32-
className="cursor-pointer "
32+
className=""
3333
strokeDasharray={`${dashLength} ${circumference}`}
3434
strokeDashoffset="0"
3535
data-difficulty="ALL"

0 commit comments

Comments
 (0)