app/views/home/_hero.html.erb
<div class="hero">
<div class="container">
<h1><%= t('.title') %></h1>
<% if signed_in? %>
<p><%= t('.hint_signed_in') %></p>
<a href='<%= opportunities_path %>' class='button large white'><%= t('search_for_opportunities') %> →</a>
<% else %>
<p><%= t('.hint') %></p>
<a href='<%= new_user_registration_path %>' class='button secondary'><%= t('.cta') %></a>
<% end %>
</div>
</div>