Re-componentize EventBlock, some misc change, update UX entirely.

This commit is contained in:
2026-01-11 21:41:19 -05:00
parent 415495e215
commit 9fc25f3072
10 changed files with 328 additions and 248 deletions

View File

@@ -83,6 +83,10 @@
for (const link of e.links ?? []) {
if (type == EventLinkKind.GENERAL && link.kind === EventLinkKind.GENERAL && link.url !== '') {
generalLinks.push(link);
// Limit general links to 4
if (generalLinks.length >= 4) {
break;
}
} else if (link.kind === type && link.url !== '') {
return [link];
}