Removed unused special_sidebar (#5929)

This commit is contained in:
Anna Buianova 2020-02-10 18:24:56 +03:00 committed by GitHub
parent 78a25dfd54
commit 8fb9e4940d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +0,0 @@
<div class="widget">
<a href="/t/shecoded">
<img src="<%= asset_path("she-coded-rectangle.png") %>" style="cursor:pointer;min-height:136px;background:#0e0e0e" alt="she coded" />
</a>
<center style="padding:10px;font-weight:600;font-size:22px;">Latest Posts</center>
</div>
<% Article.published.tagged_with("shecoded").where(approved: true).order("created_at DESC").limit(8).each do |article| %>
<a href="<%= article.path %>" style="display:block;color:#0e0e0e">
<div class="widget">
<header>
<h4><span class="emoji">💪</span> <%= article.title %></h4>
</header>
<img src="<%= ProfileImage.new(article.user).get(width: 420) %>" style="cursor:pointer;" alt="<%= article.user.username %>" />
</div>
</a>
<% end %>
<a href="/t/shecoded">
<div class="widget">
<a href="/t/shecoded">
<img src="<%= asset_path("she-coded-rectangle.png") %>" style="cursor:pointer;min-height:136px;background:#0e0e0e" alt="she coded" />
<center style="padding:10px;font-weight:600;font-size:22px;text-decoration:underline;color:#0e0e0e">View
All <%= Article.published.tagged_with("shecoded").where(approved: true).size %> Submissions
</center>
</a>
</div>
</a>