feat: implement dashboard page with focus metrics, habit trackers, and data visualizations using recharts

This commit is contained in:
Poyraz Avsever
2026-05-08 12:10:39 +03:00
parent c309539db5
commit eb683bd3a4
+4 -1
View File
@@ -286,7 +286,10 @@ export default function DashboardPage() {
<Cell key={`cell-${index}`} fill={entry.color} /> <Cell key={`cell-${index}`} fill={entry.color} />
))} ))}
</Pie> </Pie>
<Tooltip contentStyle={{ backgroundColor: "#1F172B", border: "none", fontSize: "12px" }} /> <Tooltip
contentStyle={{ backgroundColor: "#1F172B", border: "none", fontSize: "12px", color: "#FBF9FE" }}
itemStyle={{ color: "#FBF9FE" }}
/>
</PieChart> </PieChart>
</ResponsiveContainer> </ResponsiveContainer>
</div> </div>