Add "Show more" link on the homepage

openid
Marcin Kulik 11 years ago
parent 5c141003a1
commit 562cd0ef0b

@ -2,5 +2,14 @@ $main-color: #3377aa
$main-color: #d95525
$main-color-light: lighten($main-color, 25)
=clearfix
&:after
visibility: hidden
display: block
font-size: 0
content: " "
clear: both
height: 0
=font
font-family: Overpass, "Lucida Grande", Tahoma, Verdana, sans-serif

@ -89,7 +89,7 @@ div.presentation
margin-right: 0
.presentations
clear: both
@include clearfix
.other-asciicasts
margin-top: 70px

@ -1,37 +0,0 @@
<section id="about" class="feature">
<div class="wrapper">
<div class="primary_info">
<h1>
<em>Record Your Terminal</em>
Share it with no fuss
</h1>
<p> ASCII.IO is the simplest way to record your terminal and share
the recordings with your fellow geeks. Simply record and upload your
terminal session with <%= link_to 'a single command', docs_path(:record) %>, and
ASCII.IO will play it back in your browser. </p>
<p>
<%= link_to '&raquo; Start Recording'.html_safe, docs_path(:record) %>
</p>
</div>
<div class="secondary_info">
<%= player @asciicast, :speed => 2.0, :hud => false if @asciicast %>
</div>
</div>
</section>
<section class="supplimental">
<div class="wrapper">
<div class="main">
<h1>Recent asciicasts</h1>
<%= render :partial => 'asciicasts/previews',
:locals => { :asciicasts => @asciicasts } %>
</div>
<div class="extras">
<%= render :partial => 'shared/browse_categories' %>
</div>
</div>
</section>

@ -0,0 +1,29 @@
section#about.feature
.wrapper
.primary_info
h1
em Record Your Terminal
| Share it with no fuss
p
' ASCII.IO is the simplest way to record your terminal and share the
recordings with your fellow geeks. Simply record and upload your
terminal session with
#{link_to 'a single command', docs_path(:record)}, and ASCII.IO will
play it back in your browser.
p
= link_to '&raquo; Start Recording'.html_safe, docs_path(:record)
.secondary_info
= player @asciicast, :speed => 2.0, :hud => false if @asciicast
section.supplimental
.wrapper
.main
h1 Recent asciicasts
.presentations
= render :partial => 'asciicasts/previews', :locals => { :asciicasts => @asciicasts }
p
= link_to 'See more &raquo;'.html_safe, browse_path
.extras
= render :partial => 'shared/browse_categories'
Loading…
Cancel
Save