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 c8a66d8471 - Show all commits
+20
View File
@@ -0,0 +1,20 @@
interface PageProps {
params: Promise<{
'ical-link': string[];
}>;
}
export default async function EvaluationPage({ params }: PageProps) {
const resolvedParams = await params;
const pathSegments = resolvedParams['ical-link'];
let rawUrl = pathSegments.join('/');
rawUrl = decodeURIComponent(rawUrl);
const icalUrl = rawUrl.replace(/^(https?):\/+/, '$1://');
return (
<p>iCal-Adresse: {icalUrl}</p>
);
}