Skip to content

Commit

Permalink
feat: Final Linkedin widget with feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Oct 24, 2023
1 parent f1b5b59 commit 8e73723
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions app/assets/stylesheets/tpi/pages/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -796,3 +796,13 @@
justify-content: center;
}
}

.linkedin-widget {
height: 600px !important;
overflow: auto !important;

.sk-linkedin-page-post-profile-info {
width: 100% !important;
padding: 0 5px;
}
}
3 changes: 2 additions & 1 deletion app/views/tpi/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
</h2>

<div class="section-description">
<a class="twitter-timeline" data-height="600" data-dnt="true" data-theme="light" href="https://twitter.com/tp_initiative?ref_src=twsrc%5Etfw">Tweets by tp_initiative</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<div class='sk-ww-linkedin-page-post linkedin-widget' data-embed-id='212274'></div>
<script src='https://widgets.sociablekit.com/linkedin-page-posts/widget.js' async defer></script>

<div class="news-more">
<div class="news-more__learn-more">
Expand Down

0 comments on commit 8e73723

Please sign in to comment.