Homepage improvements

openid
Marcin Kulik 13 years ago
parent b68e02212d
commit cb0a605bfe

@ -2,8 +2,12 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
.hero-unit {
.hero-unit.home-page {
.asciicast {
margin-top: 40px;
margin-top: 10px;
}
h2 {
margin: 50px 0 10px 0;
}
}

@ -1,7 +1,9 @@
<div class="hero-unit">
<div class="hero-unit home-page">
<h1>ascii.io</h1>
<p>No bullshit asciicasting for developers</p>
<h2>Featured: <%= asciicast_title(@asciicast) %></h2>
<%= render :partial => 'asciicasts/asciicast',
:object => @asciicast,
:locals => { :skip_description => true, :auto_play => false } %>

Loading…
Cancel
Save