Removed unused special_sidebar (#5929)
This commit is contained in:
parent
78a25dfd54
commit
8fb9e4940d
1 changed files with 0 additions and 26 deletions
|
|
@ -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>
|
||||
Loading…
Add table
Reference in a new issue