mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 19:22:32 +02:00
34 lines
No EOL
1.3 KiB
Text
34 lines
No EOL
1.3 KiB
Text
<div class="content">
|
|
<ul class="row website-Gallery">
|
|
|
|
<div>
|
|
<h2>Web Sites on NeoCities</h2>
|
|
<p>If you like a site, don't forget to bookmark it!<br>Visitor counts are updated hourly.</p>
|
|
<div style="margin-bottom: 40px; width: 280px;"><a class="btn-Action" style="padding-top: 10px; padding-bottom: 10px" href="/new">Create your NeoCities site now</a></div>
|
|
</div>
|
|
|
|
<% @sites.each do |site| %>
|
|
<li>
|
|
<a href="http://<%= site.username %>.neocities.org" target="_blank">
|
|
<img src="http://neocities.org/site_screenshots/<%= site.username %>.jpg" />
|
|
</a>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
|
|
<% if @page_count > 1 %>
|
|
<div style="font-size: 30pt">
|
|
<% if @current_page != 1 %>
|
|
<a href="/browse?current_page=<%= @current_page - 1 %>"><i class="icon-arrow-left" style="text-decoration: none"></i></a>
|
|
<% end %>
|
|
|
|
<% 1.upto(@page_count) do |num| %>
|
|
<a href="/browse?current_page=<%= num %>" style="<%= "text-decoration: none" if num == @current_page %>"><%= num %></a>
|
|
<% end %>
|
|
|
|
<% if @current_page != @page_count %>
|
|
<a href="/browse?current_page=<%= @current_page + 1 %>"><i class="icon-arrow-right" style="text-decoration: none"></i></a>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</div> <!-- end .content --> |