fix: removed dayCard component

This commit is contained in:
Elie Baier 2023-12-05 21:32:50 +01:00
parent 1e3345d45e
commit 53a9b54b5e
1 changed files with 0 additions and 48 deletions

View File

@ -1,48 +0,0 @@
"use client";
import { BellRing, Check } from "lucide-react"
import { cn } from "@/lib/utils"
import { Button } from "@/components/ui/button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card"
type CardProps = React.ComponentProps<typeof Card>
interface DayCardProps extends CardProps {
day: number,
name: string,
enabled: boolean
}
export function DayCard({ className, ...props }: DayCardProps) {
return (
<Card className={cn("w-[300px]", className)} {...props}>
<CardContent className="grid gap-4">
{props.enabled ?
<div className="rounded-md p-4">
<h1 className="text-[100px] font-bold bg-red-700">1</h1>
<div className="flex flex-col bg-blue-500">
<h2 className="text-2xl font-bold">Michal Polka</h2>
<p className="text-xl">Description</p>
</div>
</div>
:
<div className="rounded-md p-4">
<h1 className="text-[100px] font-bold bg-red-700">1</h1>
<div className="flex flex-col bg-blue-500">
<h2 className="text-2xl font-bold">Michal Polka</h2>
<p className="text-xl">Description</p>
</div>
</div>
}
</CardContent>
</Card>
)
}