@@ -174,3 +174,83 @@ <h3>{{ $c.expect.title }}</h3>
174174 </ div >
175175 </ div >
176176 </ section >
177+
178+ {{ with $c.supporters }}
179+ < section
180+ class ="pf-v6-c-page__main-section pf-m-limit-width pf-m-align-center "
181+ >
182+ < div
183+ class ="pf-v6-c-page__main-body pf-v6-l-flex pf-m-column pf-m-gap-md "
184+ >
185+ < div class ="pf-v6-c-content ">
186+ < h3 > {{ .title }}</ h3 >
187+ </ div >
188+ {{ if .events }}
189+ < div class ="pf-v6-l-gallery pf-m-gutter ">
190+ {{ range .events }}
191+ < div
192+ class ="pf-v6-c-card pf-m-compact "
193+ style ="
194+ background-image: url('{{ .image.src | relURL }}');
195+ background-size: cover;
196+ background-position: center;
197+ "
198+ role ="img "
199+ aria-label ="{{ .image.alt }} "
200+ >
201+ < div class ="pf-v6-c-card__body pf-v6-l-flex pf-m-column pf-m-justify-content-flex-end pf-m-gap-sm " style ="
202+ background: linear-gradient(color-mix(in srgb, var(--pf-t--global--background--color--primary--default) 40%, transparent) 0%, color-mix(in srgb, var(--pf-t--global--background--color--primary--default) 80%, transparent) 50%, var(--pf-t--global--background--color--primary--default) 100%);
203+ border-radius: inherit;
204+ ">
205+ < div class ="pf-v6-c-content ">
206+ < h4 > {{ .title }}</ h4 >
207+ < p > < small > {{ .date }}</ small > </ p >
208+ </ div >
209+ < a
210+ href ="{{ .url }} "
211+ target ="_blank "
212+ rel ="noopener "
213+ class ="pf-v6-c-button pf-m-link pf-m-inline "
214+ > < span class ="pf-v6-c-button__text "> Visit website</ span
215+ > < span class ="pf-v6-c-button__icon pf-m-end "
216+ > < icon-external > </ icon-external > </ span
217+ > </ a >
218+ </ div >
219+ </ div >
220+ {{ end }}
221+ {{ if lt (len .events) 3 }}
222+ < div class ="pf-v6-c-card pf-m-compact pf-m-plain ">
223+ < div class ="pf-v6-c-card__body " style ="flex: 1; display: flex; align-items: center; justify-content: center; ">
224+ < div class ="pf-v6-c-empty-state pf-m-xs ">
225+ < div class ="pf-v6-c-empty-state__content ">
226+ < div class ="pf-v6-c-empty-state__header ">
227+ < div class ="pf-v6-c-empty-state__icon pf-v6-u-font-size-xl pf-v6-u-mb-sm ">
228+ < i class ="fas fa-calendar-plus " aria-hidden ="true "> </ i >
229+ </ div >
230+ < div class ="pf-v6-c-empty-state__title ">
231+ < p class ="pf-v6-c-empty-state__title-text pf-v6-u-font-size-sm "> {{ .placeholder }}</ p >
232+ </ div >
233+ </ div >
234+ </ div >
235+ </ div >
236+ </ div >
237+ </ div >
238+ {{ end }}
239+ </ div >
240+ {{ else }}
241+ < div class ="pf-v6-c-empty-state pf-m-xs ">
242+ < div class ="pf-v6-c-empty-state__content ">
243+ < div class ="pf-v6-c-empty-state__header ">
244+ < div class ="pf-v6-c-empty-state__icon pf-v6-u-font-size-xl pf-v6-u-mb-sm ">
245+ < i class ="fas fa-calendar " aria-hidden ="true "> </ i >
246+ </ div >
247+ < div class ="pf-v6-c-empty-state__title ">
248+ < p class ="pf-v6-c-empty-state__title-text pf-v6-u-font-size-sm "> {{ .empty }}</ p >
249+ </ div >
250+ </ div >
251+ </ div >
252+ </ div >
253+ {{ end }}
254+ </ div >
255+ </ section >
256+ {{ end }}
0 commit comments