diff --git a/src/compositions/Blocks/EventsBlock.tsx b/src/compositions/Blocks/EventsBlock.tsx
index db757dc..1b3a629 100644
--- a/src/compositions/Blocks/EventsBlock.tsx
+++ b/src/compositions/Blocks/EventsBlock.tsx
@@ -1,8 +1,13 @@
+import { Highlight } from '@/payload-types'
import { fetchEvents } from '@/fetch/events'
+import { fetchHighlights } from '@/fetch/highlights'
import { transformEvents } from '@/utils/dto/events'
+import { highlightLink } from '@/utils/dto/highlight'
import { Section } from '@/components/Section/Section'
import { Title } from '@/components/Title/Title'
+import { EventRow } from '@/components/EventRow/EventRow'
import { Events } from '@/compositions/Events/Events'
+import { ContentWithSlider } from '@/compositions/ContentWithSlider/ContentWithSlider'
type EventsBlockProps = {
title?: string | null
@@ -14,18 +19,45 @@ export async function EventsBlock({
itemsPerPage = 6,
}: EventsBlockProps) {
const events = await fetchEvents()
- const docs = events?.docs || []
+ const eventDocs = events?.docs || []
- if (docs.length === 0) return null
+ if (eventDocs.length === 0) return null
+
+ const highlights = await fetchHighlights()
+ const highlightDocs = highlights?.docs || []
return (
-