Skip to content

Commit 50742ec

Browse files
committed
(1) Embedded linkedin posts (2) Updated sridhar's image
1 parent 55c45df commit 50742ec

3 files changed

Lines changed: 21 additions & 9 deletions

File tree

_data/linkedin_feed.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- 7354353616050155520
2+
- 7345691918535708672
3+
- 7338893695305297921

img/team/sridhar.webp

139 KB
Loading

index.html

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
---
2-
# Feel free to add content and custom Front Matter to this file.
3-
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
4-
52
layout: default-layout
63
---
74

@@ -80,19 +77,21 @@ <h2 class="subtitle">
8077
{% endif %} -->
8178

8279
<!-- LinkedIn Feed -->
83-
<!-- <section class="linkedin-feed">
80+
<section class="linkedin-feed">
8481
<h2 class="subtitle">
8582
Here are our latest
8683
<span>updates</span>
8784
</h2>
8885
<hr>
8986
<div style="position: relative; padding-top: var(--p3-rem);">
90-
<script src="https://static.elfsight.com/platform/platform.js" async></script>
91-
<div class="elfsight-app-cf90864e-841f-4a44-94bc-4ebfce2c81c2" data-elfsight-app-lazy></div>
87+
{% for post_id in site.data.linkedin_feed %}
88+
<iframe src="https://www.linkedin.com/embed/feed/update/urn:li:activity:{{ post_id }}?collapsed=1" height="670"
89+
width="504" frameborder="0" allowfullscreen="" title="Embedded LinkedIn Post">
90+
</iframe>
91+
{% endfor %}
9292
</div>
9393

94-
</section> -->
95-
94+
</section>
9695

9796
<section class="newsletter-container">
9897
<div>
@@ -136,7 +135,17 @@ <h2 class="subtitle">
136135

137136
.linkedin-feed {
138137
margin-top: var(--p6-rem);
139-
overflow-x: hidden;
138+
/* overflow-x: hidden; */
139+
140+
&>div {
141+
display: flex;
142+
flex-wrap: wrap;
143+
gap: var(--p4-rem);
144+
}
145+
146+
& iframe {
147+
flex: 1 1 30%;
148+
}
140149
}
141150

142151
.newsletter-container {

0 commit comments

Comments
 (0)