Skip to content

Commit 243291a

Browse files
authored
Feature/news cadence UI pic (#288)
* adjusted positioning in feed. Add image to cadence ui post. * add image to news modal if available. * fix lint * PR comments * updating screenshot to a later snapshot of feature
1 parent 1840c76 commit 243291a

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

client/components/news-modal.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,15 @@ export default {
6565
<div
6666
class="news-item"
6767
:key="id"
68-
v-for="{ id, summary, title, url } in newsItems"
68+
v-for="{ id, image, summary, title, url } in newsItems"
6969
>
7070
<h3>
7171
<router-link :to="url" v-on:click.native="onLinkClick">
7272
{{ title }}
7373
</router-link>
7474
</h3>
7575
<p>{{ summary }}</p>
76+
<img alt="news image" class="news-image" :src="image" v-if="image" />
7677
</div>
7778
</div>
7879
<div class="footer">
@@ -98,7 +99,7 @@ export default {
9899
<style lang="stylus">
99100
.news-modal {
100101
.content {
101-
max-height: 400px
102+
max-height: 650px
102103
overflow-y: auto;
103104
}
104105
@@ -122,6 +123,10 @@ export default {
122123
}
123124
}
124125
126+
.news-image {
127+
max-width: 800px;
128+
}
129+
125130
.see-more {
126131
font-size: 16px;
127132
}

news/blog/_posts/2021-04-19-cadence-java-3-0-0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
date: 2021-04-19T07:00:02
2+
date: 2021-04-19T07:00:01
33
feed:
44
enable: true
55
---

news/blog/_posts/2021-04-19-cadence-ui-3-25-0.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
2-
date: 2021-04-19T07:00:01
2+
date: 2021-04-19T07:00:03
33
feed:
44
enable: true
5+
image: https://user-images.githubusercontent.com/58960161/115476716-4b76c100-a1f7-11eb-933f-0faf7d235a7e.png
6+
summary: Now you can view all your pending activites/childworkflows in the pending tasks tab
57
---
68

79
## Cadence UI v3.25.0

0 commit comments

Comments
 (0)