web: simplify link generation for search

This commit is contained in:
ponas committed 2026-05-25 22:37:19 +02:00
1 parent a58e2b224e
commit af8c3fe768
5 files changed
+36 -59

No files matched your search

+1 -17
View File
@@ -21,27 +21,11 @@ export default async function Page({
results: search(query: $query) {
__typename
... on PageInterface {
slug
}
... on NewsPage {
id
title
}
... on EventPage {
id
title
}
... on GenericPage {
id
title
}
... on VenuePage {
id
title
url
}
... on AssociationPage {
id
title
associationType
}
}