@@ -185,11 +185,15 @@ <h3 class="section-title" style="color: #005aa7;">{{ i18n "featured" }}</h3>
185185 </ div >
186186
187187 {{ range .featured_activities }}
188- < div class ="clickable-wrapper " data-href ="{{.link | relURL }} ">
189- < div class ="row p-5 " style ="background-color: #ffffff; ">
188+ < a class ="" href ="{{.link | relURL }} ">
189+ < div class ="row justify-content-between clickable-wrapper p-5 " style ="background-color: #ffffff; ">
190+
191+ <!-- image -->
190192 < div class ="col-3 pr-4 ">
191- < img class ="img-fluid " style =" height:200px; position:absolute; " src ="{{.image}} " />
193+ < img class ="featured-img " src ="{{.image}} " />
192194 </ div >
195+ <!-- /image -->
196+
193197 < div class ="col-9 ">
194198 < div class ="row align-items-center ">
195199
@@ -198,9 +202,9 @@ <h3 class="mb-2" style="color: #005aa7;">{{.title}}</h3>
198202 <!-- /title featured article -->
199203
200204 <!-- intro text -->
201- < p style ="color: #777 ">
205+ < p style ="color: #777; ">
202206 {{.intro | markdownify}}
203- < a href =" {{.link | relURL}} "> {{ i18n "read_more" }}</ a >
207+ < span style =" color: #005aa7; "> {{ i18n "read_more" }}</ span >
204208 </ p >
205209 <!-- intro text -->
206210 </ div >
@@ -222,7 +226,7 @@ <h3 class="mb-2" style="color: #005aa7;">{{.title}}</h3>
222226
223227 </ div >
224228 </ div >
225- </ div >
229+ </ a >
226230 {{end}}
227231 {{end}}
228232 <!-- /Featured Activities -->
@@ -254,6 +258,7 @@ <h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
254258 </ div >
255259 <!-- /title -->
256260
261+ <!-- metadata -->
257262 < div class ="row " style ="position: relative; bottom: 0; ">
258263 {{ if .date }}
259264 < span style ="color:#005aa7; " class ="mr-1 mb-2 px-2 py-1 ml-2 ">
@@ -266,6 +271,7 @@ <h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
266271 </ span >
267272 {{ end }}
268273 </ div >
274+ <!-- /metadata -->
269275 </ div >
270276 </ div >
271277 </ a >
@@ -292,8 +298,8 @@ <h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
292298 < h3 class ="section-title " style ="color:#005aa7; "> {{ i18n "featured" }}</ h3 >
293299 </ div >
294300 {{ range .featured_activities }}
295- < div class ="clickable-wrapper " data- href ="{{.link | relURL }} ">
296- < div class ="row p-5 " style ="background-color: #ffffff; ">
301+ < a class ="" href ="{{.link | relURL }} ">
302+ < div class ="row justify-content-between clickable-wrapper row p-5 " style ="background-color: #ffffff; ">
297303 < div class ="col-12 pr-4 " style ="margin-bottom:50px; ">
298304 < img class ="img-fluid about-img-mobile " src ="{{.image}} " />
299305 </ div >
@@ -304,13 +310,18 @@ <h3 class="section-title" style="color:#005aa7;">{{ i18n "featured" }}</h3>
304310 < h4 class ="mb-2 " style ="color:#005aa7; "> {{.title}}</ h4 >
305311 <!-- /title -->
306312
307- < p style ="color: #777 "> {{.intro | markdownify}}
308- < a href ="{{.link | relURL}} "> {{ i18n "read_more" }}</ a >
313+ <!-- intro text -->
314+ < p style ="color: #777; ">
315+ {{.intro | markdownify}}
316+ < span style ="color: #005aa7; "> {{ i18n "read_more" }}</ span >
309317 </ p >
318+ <!-- intro text -->
310319 </ div >
320+
321+ <!-- metadata -->
311322 < div class ="row " style ="position:relative; ">
312323 {{ if .date }}
313- < span style ="color:#005aa7; " class ="mr-1 mb-2 px-0 py-1 mx-0 ">
324+ < span style ="color:#005aa7; " class ="mr-1 mt-1 px-0 py-1 mx-0 ">
314325 {{.date }}
315326 </ span >
316327 {{ end }}
@@ -320,9 +331,11 @@ <h4 class="mb-2" style="color:#005aa7;">{{.title}}</h4>
320331 </ span >
321332 {{ end }}
322333 </ div >
334+ <!-- /metadata -->
335+
323336 </ div >
324337 </ div >
325- </ div >
338+ </ a >
326339 {{end}}
327340 {{end}}
328341 <!-- /Featured Activities -->
@@ -350,7 +363,7 @@ <h4 class="my-4 mx-3" style="color: #005aa7;">
350363 </ div >
351364 < div class ="row pl-4 mb-3 " style ="position:relative; bottom:0; ">
352365 {{ if .date }}
353- < span style ="color:#005aa7; " class ="mr-1 mb-2 px-2 py-1 mx-1 ">
366+ < span style ="color:#005aa7; " class ="mr-1 mt-1 px-2 py-1 mx-1 ">
354367 {{.date }}
355368 </ span >
356369 {{ end }}
0 commit comments