Homepage improvements
parent
1d9bded8ef
commit
e192f1d8cc
@ -1,22 +1,77 @@
|
|||||||
<div class="hero-unit home-page">
|
<div class="hero-unit home-page">
|
||||||
<h1>ascii.io</h1>
|
<h1>ascii.io</h1>
|
||||||
<p>No bullshit asciicasting for developers</p>
|
<p>No nonsense asciicasting for serious hackers</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="hero-unit">
|
||||||
|
<h2>What?</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<strong>ascii.io</strong> lets you record your terminal sessions and share
|
||||||
|
them with other geeks simply by running <code>asciiio</code> command in your term.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<%# <p> %>
|
||||||
|
<%# <em>asciicast</em> is a recording of your terminal interaction that is repl %>
|
||||||
|
<%# </p> %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2>Featured: <%= asciicast_title(@asciicast) %></h2>
|
<div class="hero-unit">
|
||||||
|
<h2>See</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
"A picture is worth a thousand words" Fred R. Barnard once said.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Just watch one of the featured asciicasts and see how cool
|
||||||
|
<strong>ascii.io</strong> is.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<h3><%= asciicast_title(@asciicast) %></h3>
|
||||||
|
|
||||||
<%= render :partial => 'asciicasts/asciicast',
|
<%= render :partial => 'asciicasts/asciicast',
|
||||||
:object => @asciicast,
|
:object => @asciicast,
|
||||||
:locals => { :skip_description => true, :auto_play => false } %>
|
:locals => { :skip_description => true, :auto_play => false } %>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= link_to 'Use it!', installation_path, :class => "btn btn-primary btn-large" %>
|
|
||||||
<%= link_to 'Browse', browse_path, :class => "btn btn-large" %>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Recent asciicasts</h2>
|
<div class="hero-unit">
|
||||||
|
<h2>Use it</h2>
|
||||||
|
|
||||||
|
<% markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) %>
|
||||||
|
<%= markdown.render(<<EOS).html_safe
|
||||||
|
To install or upgrade **ascii.io** recorder, open a terminal and run following command:
|
||||||
|
|
||||||
|
$ curl -sL get.ascii.io | bash
|
||||||
|
|
||||||
|
(when using zsh you may need to run `rehash` after above command)
|
||||||
|
|
||||||
|
That's it! Now you can start recording your terminal sessions with:
|
||||||
|
|
||||||
|
$ asciiio
|
||||||
|
|
||||||
|
If you want your recordings to be assigned to your ascii.io profile run this
|
||||||
|
and follow instructions:
|
||||||
|
|
||||||
|
$ asciiio auth
|
||||||
|
|
||||||
|
See available commands and options with:
|
||||||
|
|
||||||
|
$ asciiio -h
|
||||||
|
EOS
|
||||||
|
%>
|
||||||
|
|
||||||
|
<%# <%= link_to 'See help', manual_path, :class => "btn btn-large" %1> %>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="hero-unit">
|
||||||
|
<h2>Explore</h2>
|
||||||
|
|
||||||
<ul class="asciicasts">
|
<p>
|
||||||
<%= render :partial => "asciicasts/preview", :collection => @asciicasts, :as => :asciicast %>
|
<%= link_to 'Browse', browse_path %> through
|
||||||
</ul>
|
all recorded asciicasts.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li><%= link_to "About", "#" %></li>
|
|
||||||
<li><%= link_to "Use it!", installation_path %></li>
|
|
||||||
<li><%= link_to "Browse", browse_path %></li>
|
<li><%= link_to "Browse", browse_path %></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
<div class="page-header">
|
|
||||||
<h1>No bullshit installation</h1>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) %>
|
|
||||||
<%= markdown.render(<<EOS).html_safe
|
|
||||||
To install or upgrade ascii.io recorder, open a terminal and run this command:
|
|
||||||
|
|
||||||
$ curl -sL get.ascii.io | bash
|
|
||||||
|
|
||||||
(when using zsh you may need to run `rehash` after above command)
|
|
||||||
|
|
||||||
That's it! Now you can start recording your terminal sessions with:
|
|
||||||
|
|
||||||
$ asciiio
|
|
||||||
|
|
||||||
If you want your recordings to be assigned to your ascii.io profile run this
|
|
||||||
and follow instructions:
|
|
||||||
|
|
||||||
$ asciiio auth
|
|
||||||
|
|
||||||
See available commands and options with:
|
|
||||||
|
|
||||||
$ asciiio -h
|
|
||||||
EOS
|
|
||||||
%>
|
|
Loading…
Reference in New Issue