88 {{ if .featured_activities }}
99 < div class ="row mt-5 ">
1010 <!-- title featured section -->
11- < h3 class ="section-title " style =" color: #005aa7; "> {{ .featured_title }}</ h3 >
11+ < h3 class ="color-blue section-title "> {{ .featured_title }}</ h3 >
1212 <!-- /title featured section -->
1313 </ div >
1414
15- {{ range .featured_activities }}
16- < a class ="" href ="{{.link | relURL }} ">
17- < div class ="row justify-content-between clickable-wrapper p-5 " style ="background-color: #ffffff; ">
18-
19- <!-- image -->
20- < div class ="col-lg-3 col-12 pr-4 ">
21- < img class ="featured-img img-fluid d-block mx-auto mb-5 mb-lg-0 " src ="{{.image}} " />
22- </ div >
23- <!-- /image -->
24-
25- < div class ="col-lg-9 col-12 ">
26- < div class ="row align-items-center ">
27-
28- <!-- title featured article -->
29- < h3 class ="mb-2 " style ="color: #005aa7; "> {{.title}}</ h3 >
30- <!-- /title featured article -->
31-
32- <!-- intro text -->
33- < p style ="color: #777; ">
34- {{.intro | markdownify}}
35- < span style ="color: #005aa7; "> {{ i18n "read_more" }}</ span >
36- </ p >
37- <!-- intro text -->
38- </ div >
39-
40- <!-- metadata -->
41- < div class ="row " style ="position:relative; ">
42- {{ if .date }}
43- < span class ="highlight-red ">
44- {{.date }}
45- </ span >
46- {{ end }}
47- {{ if .type }}
48- < span class ="highlight-red ">
49- {{ .type }}
50- </ span >
51- {{ end }}
15+ < div class ="row justify-content-between ">
16+ {{ range $index, $item := .featured_activities }}
17+ < div class ="col-lg col-12 ">
18+ < a href ="{{$item.link | relURL }} ">
19+ < div class ="row p-5 bg-white {{if eq $index 0}}mr-lg-2 mb-3 mb-lg-0{{else}}ml-lg-2 mt-3 mt-lg-0{{end}} ">
20+ <!-- image -->
21+ < div class ="col-lg-3 col-12 p-0 pr-4 ">
22+ < img class ="featured-img img-fluid d-block mx-auto mb-5 mb-lg-0 " src ="{{$item.image}} " />
23+ </ div >
24+ <!-- /image -->
25+
26+ < div class ="col-lg-9 col-12 ">
27+ < div class ="row align-items-center ">
28+
29+ <!-- title featured article -->
30+ < h3 class ="mb-2 " style ="color: #005aa7; "> {{$item.title}}</ h3 >
31+ <!-- /title featured article -->
32+
33+ <!-- intro text -->
34+ < p style ="color: #777; ">
35+ {{$item.intro | markdownify}}
36+ < span style ="color: #005aa7; "> {{ i18n "read_more" }}</ span >
37+ </ p >
38+ <!-- intro text -->
39+ </ div >
40+
41+ <!-- metadata -->
42+ < div class ="row " style ="position:relative; ">
43+ {{ if $item.date }}
44+ < span class ="highlight-red ">
45+ {{$item.date }}
46+ </ span >
47+ {{ end }}
48+ {{ if $item.type }}
49+ < span class ="highlight-red ">
50+ {{ $item.type }}
51+ </ span >
52+ {{ end }}
53+ </ div >
54+ <!-- /metadata -->
55+
56+ </ div >
5257 </ div >
53- <!-- /metadata -->
54-
55- </ div >
58+ </ a >
5659 </ div >
57- </ a >
58- {{end}}
60+ {{end}}
61+ </ div >
5962
6063 <!-- More -->
6164 < div class ="row mt-4 pb-3 justify-content-center d-flex ">
@@ -70,7 +73,7 @@ <h3 class="mb-2" style="color: #005aa7;">{{.title}}</h3>
7073<!-- /Featured Activities -->
7174
7275<!-- Items -->
73- < section class ="activitifeed-section pt-5 mt-5 " id ="events ">
76+ < section class ="activitifeed-section pt-5 mt-2 " id ="events ">
7477 < div class ="container " style ="background-color:#deecf7; ">
7578 < div class ="row align-items-center ">
7679 < div class ="mx-4 col order-1 ">
0 commit comments