@@ -121,31 +121,44 @@ <h3>{{ $c.expect.title }}</h3>
121121 </ div >
122122 < div class ="pf-v6-l-gallery pf-m-gutter ">
123123 {{ range $c.expect.cards }}
124- < div class ="pf-v6-c-card ">
125- < div class ="pf-v6-c-card__title ">
126- < div class ="pf-v6-c-card__title-text "> {{ .title }}</ div >
127- </ div >
128- < div class ="pf-v6-c-card__body ">
129- {{ if eq .body_key "community_year_round" }}
130- The conversation keeps going on
131- < a
132- href ="{{ $.Site.Data.links.socials.discourse.url }} "
133- target ="_blank "
134- rel ="noopener "
135- > Discourse< icon-discourse > </ icon-discourse
136- > </ a >
137- and
138- < a
139- href ="{{ $.Site.Data.links.socials.signal.url }} "
140- target ="_blank "
141- rel ="noreferrer noopener "
142- > Signal< icon-signal > </ icon-signal
143- > </ a >
144- between meetings. Ask questions, share projects, find
145- collaborators.
146- {{ else }}
147- {{ .body }}
148- {{ end }}
124+ < div
125+ class ="pf-v6-c-card "
126+ {{ with .image }}
127+ style ="
128+ background: url('{{ . | relURL }}') center / cover;
129+ min-height: 10rem;
130+ "
131+ {{ end }}
132+ >
133+ < div class ="pf-v6-c-card__body pf-v6-l-flex pf-m-column pf-m-justify-content-flex-end pf-m-gap-sm " {{ with .image }}style ="
134+ background: linear-gradient(color-mix(in srgb, var(--pf-t--global--background--color--primary--default) 60%, 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%);
135+ border-radius: inherit;
136+ "{{ end }} >
137+ < div class ="pf-v6-c-content ">
138+ < h4 > {{ .title }}</ h4 >
139+ < p >
140+ {{ if eq .body_key "community_year_round" }}
141+ The conversation keeps going on
142+ < a
143+ href ="{{ $.Site.Data.links.socials.discourse.url }} "
144+ target ="_blank "
145+ rel ="noopener "
146+ > Discourse< icon-discourse > </ icon-discourse
147+ > </ a >
148+ and
149+ < a
150+ href ="{{ $.Site.Data.links.socials.signal.url }} "
151+ target ="_blank "
152+ rel ="noreferrer noopener "
153+ > Signal< icon-signal > </ icon-signal
154+ > </ a >
155+ between meetings. Ask questions, share projects, find
156+ collaborators.
157+ {{ else }}
158+ {{ .body }}
159+ {{ end }}
160+ </ p >
161+ </ div >
149162 </ div >
150163 </ div >
151164 {{ end }}
0 commit comments