From 20d9c0f11a2b240fd3d65b15b99c8af76c08f7c1 Mon Sep 17 00:00:00 2001
From: timhaller <67918170+timhaller@users.noreply.github.com>
Date: Tue, 5 Dec 2023 21:43:55 +0100
Subject: [PATCH] everything
---
app/results/page.tsx | 15 +++++++++++++--
components/custom/dayCard.tsx | 28 ++++++++++++++--------------
2 files changed, 27 insertions(+), 16 deletions(-)
diff --git a/app/results/page.tsx b/app/results/page.tsx
index e278635..336b980 100644
--- a/app/results/page.tsx
+++ b/app/results/page.tsx
@@ -4,8 +4,19 @@ import {DayCard} from "@components/custom/dayCard";
export default function Results() {
return (
-
-
+
)
}
diff --git a/components/custom/dayCard.tsx b/components/custom/dayCard.tsx
index 47b0d92..75a4fcb 100644
--- a/components/custom/dayCard.tsx
+++ b/components/custom/dayCard.tsx
@@ -1,6 +1,6 @@
"use client";
-import { BellRing, Check } from "lucide-react"
+import { Lock } from "lucide-react"
import { cn } from "@/lib/utils"
import { Button } from "@/components/ui/button"
@@ -18,28 +18,28 @@ type CardProps = React.ComponentProps
interface DayCardProps extends CardProps {
day: number,
name: string,
- enabled: boolean
+ enabled?: boolean | false,
+ oral?: boolean | true,
+}
+
+function say() {
+ alert("Hello")
}
export function DayCard({ className, ...props }: DayCardProps) {
return (
-
-
+
+
{props.enabled ?
-
-
1
-
+
+
1
+
Michal Polka
-
Description
:
-
-
1
-
-
Michal Polka
-
Description
-
+
+
}