Skip to content

Commit 684656d

Browse files
committed
upcoming events similar to event activities
1 parent c9b1625 commit 684656d

File tree

3 files changed

+28
-30
lines changed

3 files changed

+28
-30
lines changed

assets/scss/_custom.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
margin: 0.25rem 0.25rem 0.5rem 0.25rem !important;
3232
padding: 0.25rem 0.5rem !important;
3333
font-style: normal;
34+
text-decoration: none !important;
3435
}
3536

3637
.highlight-potential-sm {
@@ -46,6 +47,7 @@
4647
padding: 0.25rem 0.5rem !important;
4748
color: #005aa7;
4849
font-style: normal;
50+
text-decoration: none !important;
4951

5052
background-color: rgba(255, 203, 189, 0.5);
5153
}

assets/scss/templates/_main.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ input[type="checkbox"] {
108108
}
109109
}
110110

111+
.img-event{
112+
max-height: 140px;
113+
@media (max-width: 992px) {
114+
max-height:120px;
115+
}
116+
}
111117
// view ≤992px
112118
@media (max-width: 992px) {
113119
.margin-banner-image {
@@ -131,9 +137,6 @@ input[type="checkbox"] {
131137
padding: 15px;
132138
margin: 20px 0px;
133139
}
134-
.img-event{
135-
height:200px;
136-
}
137140
#img-gif{
138141
width: 100%;
139142
}

layouts/partials/landingpage/activityfeed.html

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -81,43 +81,36 @@ <h3 class="mb-2" style="color: #005aa7;">{{$item.title}}</h3>
8181
{{ if .activities }}
8282
<div class="row mt-5">
8383
<!-- title recent activities section -->
84-
<h3 class="section-title" style="color: #005aa7;">{{ .items_title }}</h3>
84+
<h3 style="color: #005aa7;">{{ .items_title }}</h3>
8585
<!-- /title recent activities section -->
8686
</div>
8787
{{ range .activities }}
8888
<a href="{{ .link | relURL }}">
89-
90-
<div class="row justify-content-between mb-lg-4 my-4 my-lg-0">
91-
89+
<div class="row justify-content-between my-4 m-0">
9290
<!-- image -->
93-
<div class="col-12 col-lg-3 pt-5 p-lg-0 bg-white landinge-page-activityfeed-activity-image-wrapper">
94-
<img class="img-fluid landinge-page-activityfeed-activity-image p-lg-5" src="{{.image}}" />
91+
<div class="col-12 col-lg-2 p-0 mt-0 text-center bg-white">
92+
<img class="img-fluid img-event p-2" src="{{.image}}" />
9593
</div>
9694
<!-- /image -->
9795

98-
<!-- title -->
99-
<div class="col-12 col-lg-9 py-5 bg-white">
100-
<div class="px-3 row align-items-center">
101-
<h4 class="my-4 ml-3 mr-5" style="color: #005aa7;">
102-
{{.title}}
103-
</h4>
96+
<div class="col ml-lg-5 bg-white">
97+
<div class="row align-items-center">
98+
<h4 class="my-4 ml-4 color-blue">
99+
{{.title}}
100+
</h4>
104101
</div>
105-
<!-- /title -->
106-
107-
<!-- metadata -->
108-
<div class="px-3 row" style="position: relative; bottom: 0;">
109-
{{ if .date }}
110-
<span class="ml-3 highlight-red-sm">
111-
{{.date }}
112-
</span>
113-
{{ end }}
114-
{{ if .type }}
115-
<span class="ml-3 highlight-red-sm">
116-
{{ .type }}
117-
</span>
118-
{{ end }}
102+
<div class="row pl-3">
103+
{{ if .date }}
104+
<span class="mt-3 mb-4 ml-3 highlight-red-sm">
105+
{{ .date }}
106+
</span>
107+
{{ end }}
108+
{{ if .type }}
109+
<span class="mt-3 mb-4 ml-3 highlight-red-sm">
110+
{{ .type }}
111+
</span>
112+
{{ end }}
119113
</div>
120-
<!-- /metadata -->
121114
</div>
122115
</div>
123116
</a>

0 commit comments

Comments
 (0)