mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge branch 'master' of github.com:neocities/neocities
This commit is contained in:
commit
79b2d2322e
4 changed files with 22 additions and 29 deletions
|
@ -98,9 +98,9 @@
|
|||
margin-left: 8px;
|
||||
}
|
||||
|
||||
h2{
|
||||
h3 {
|
||||
margin-bottom: 0px;
|
||||
font-size: 1.725em;
|
||||
font-size: 1.7em;
|
||||
}
|
||||
|
||||
p {
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
font-size: 1em;
|
||||
}
|
||||
.content.misc-page h1 {
|
||||
font-size: 2em;
|
||||
font-size: 1.8em;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.content.misc-page hr {
|
||||
|
|
|
@ -1,26 +1,19 @@
|
|||
<div class="header-Outro with-columns">
|
||||
<div class="row content">
|
||||
<div class="col col-100">
|
||||
<h3>Latest Activity on Neocities</h3>
|
||||
</div>
|
||||
<div class="header-Outro">
|
||||
<div class="row content single-Col">
|
||||
<h1>Latest Activity on Neocities</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="content misc-page columns">
|
||||
<div class="col-left">
|
||||
<div class="col col-100">
|
||||
<% if !signed_in? %>
|
||||
<div class="welcome">
|
||||
<h4>All the latest Neocities site news!</h4>
|
||||
<p>
|
||||
Neocities allows everyone create a free web site to express themselves. Want to create your own websome site? <a href="/#new">Join us!</a>
|
||||
</p>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%== erb :'_news', locals: {current_site: nil, events: @events} %>
|
||||
<div style="margin-left:auto; margin-right:auto; max-width:800px;">
|
||||
<div class="content single-Col misc-page" style="float:left;">
|
||||
<% if !signed_in? %>
|
||||
<div class="welcome">
|
||||
<h4>All the latest Neocities site news!</h4>
|
||||
<p>
|
||||
Neocities allows anyone to create a free web site to express themselves. Want to create your own awesome site? <a href="/#new">Join us!</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%== erb :'_news', locals: {current_site: nil, events: @events} %>
|
||||
</div>
|
||||
</div>
|
|
@ -22,10 +22,11 @@
|
|||
<h2 class="eps title-with-badge"><span><%= site.title %></span> <% if site.supporter? %><a href="/plan" class="supporter-badge" title="Neocities Supporter"></a> <% end %></h2>
|
||||
<p class="site-url"><a href="<%= site.uri %>"><%= site.host %></a></p>
|
||||
<div class="stats">
|
||||
<div class="stat"><strong><%= site.views.format_large_number %></strong> <span>views</span></div>
|
||||
<div class="stat"><strong><%= site.views.format_large_number %></strong> <span>view<%= site.views == 1 ? '' : 's' %></span></div>
|
||||
<% follows_count = site.follows_dataset.count %>
|
||||
<div class="stat"><strong><%= follows_count.format_large_number %></strong> <span>follower<%= follows_count == 0 ? '' : 's' %></span></div>
|
||||
<!-- <div class="stat tips"><strong><%= site.tips_dataset.count %></strong> <span>tips</span></div> -->
|
||||
<div class="stat"><strong><%= follows_count.format_large_number %></strong> <span>follower<%= follows_count == 1 ? '' : 's' %></span></div>
|
||||
<div class="stat"><strong><%= site.changed_count.format_large_number %></strong> <span>update<%= site.changed_count == 1 ? '' : 's' %></span></div>
|
||||
<!-- <div class="stat"><strong><%= site.tips_dataset.count %></strong> <span>tips</span></div> -->
|
||||
</div>
|
||||
<div class="actions">
|
||||
<% if current_site == site %>
|
||||
|
@ -107,7 +108,6 @@
|
|||
<% end %>
|
||||
</strong>
|
||||
</div>
|
||||
<div class="stat"><span>Number of updates</span><strong><%= site.changed_count.format_large_number %></strong></div>
|
||||
<div class="stat"><span>Created</span><strong><%= site.created_at.strftime('%b %-d, %Y') %></strong></div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue