Feat/evaluation #1

Merged
robin merged 15 commits from feat/evaluation into main 2026-08-03 16:46:56 +00:00
Showing only changes of commit ade29ee5a8 - Show all commits
@@ -1,7 +1,7 @@
import ical, { VEvent } from 'node-ical'; import ical, { VEvent } from 'node-ical';
interface PageProps { interface PageProps {
params: Promise<{ params: Promise<{
'days': number 'days': string;
'ical-link': string[]; 'ical-link': string[];
}>; }>;
} }
@@ -68,7 +68,7 @@ export default async function EvaluationPage({ params }: PageProps) {
const endDate = getIcalDate(event.end); const endDate = getIcalDate(event.end);
return ( return (
<li key={index} style={{ border: '1px solid #ccc', padding: '1rem', borderRadius: '8px' }}> <li key={event.uid || index} style={{ border: '1px solid #ccc', padding: '1rem', borderRadius: '8px' }}>
{/* HIER WENDEN WIR DIE HILFSFUNKTION AN */} {/* HIER WENDEN WIR DIE HILFSFUNKTION AN */}
<h2>{getIcalText(event.summary)}</h2> <h2>{getIcalText(event.summary)}</h2>
<p> <p>