mirror of
https://github.com/Fayorg/calendrier-avant.git
synced 2026-05-27 17:18:38 +02:00
added results page
This commit is contained in:
@@ -25,7 +25,8 @@ export function Chart({...props}: ChartProps) {
|
||||
fontSize={12}
|
||||
tickLine={false}
|
||||
axisLine={false}
|
||||
tickFormatter={(value) => `$${value}`}
|
||||
allowDecimals={false}
|
||||
tickFormatter={(value) => `${value}`}
|
||||
/>
|
||||
<Bar dataKey="total" fill="#80a256" radius={[4, 4, 0, 0]} />
|
||||
</BarChart>
|
||||
|
||||
@@ -37,7 +37,7 @@ export function DayCard({ className, ...props }: DayCardProps) {
|
||||
}
|
||||
|
||||
return (
|
||||
<Card className={cn(`w-full ${props.enabled && props.oral ? "hover:bg-slate-100" : null}`, className)} {...props} onClick={() => {route(props.enabled || false, props.day)}}>
|
||||
<Card className={cn(`w-full ${props.enabled && props.oral ? "hover:bg-slate-100 hover:cursor-pointer" : "hover:cursor-not-allowed"}`, className)} {...props} onClick={() => {route(props.enabled || false, props.day)}}>
|
||||
<CardContent className="p-4 gap-4 h-full">
|
||||
{props.enabled ?
|
||||
<div className="rounded-md p-4 h-full flex flex-col items-end">
|
||||
|
||||
Reference in New Issue
Block a user