Linking sites count to browse page

This commit is contained in:
Victoria Wang 2014-10-09 18:39:47 -07:00
parent 8abd3298af
commit 90939f3488
2 changed files with 10 additions and 1 deletions

View file

@ -57,6 +57,14 @@
color: #B8D375;
font-size: .9em;
margin-bottom: 1.8em;
a {
color: #B8D375;
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
}
h2.section-header {
font-size: 2.2em;

View file

@ -120,7 +120,8 @@
<div class="row header-Content content">
<div class="col col-50">
<h2 class="section-header">Introducing the New Neocities</h2>
<p class="intro-text">Nows a great time to join our community of over <%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> websites!
<p class="intro-text">Nows a great time to join our community of over
<a href="/browse"><%= @sites_count.to_s.reverse.gsub(/...(?=.)/,'\&,').reverse %> websites</a>!
You get <%= Site::FREE_MAXIMUM_IN_MEGABYTES %> MB of free web space to make whatever youd like. </p>
<ul class="intro-List">
<li class="intro-Social">