Hook up 'Learn More' and 'Sign Up' buttons
[rails.git] / app / views / site / index.html.erb
1 <h2>
2   <%= t 'layouts.intro_header' %>
3   <span class="icon close"></span>
4 </h2>
5
6 <p class="inner12 large-text"><%= t 'layouts.intro_text' %></p>
7
8 <% if !@user %>
9   <div style="text-align: center;">
10     <a class="button" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
11     <a class="button" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
12   </div>
13 <% end %>
14
15 <div class='footer'>
16   <a title="<%= t('layouts.make_a_donation.title') %>" href="http://donate.openstreetmap.org/" class="donate">
17     <span class='icon donate'></span>
18     <span><%= t('layouts.make_a_donation.text') %></span>
19   </a>
20
21   <p class='credits inner12'>
22     <%= t 'layouts.partners_html',
23           :ucl => link_to(t('layouts.partners_ucl'), "http://www.vr.ucl.ac.uk"),
24           :ic => link_to(t('layouts.partners_ic'), "http://www.imperial.ac.uk/"),
25           :bytemark => link_to(t('layouts.partners_bytemark'), "http://www.bytemark.co.uk"),
26           :partners => link_to(t('layouts.partners_partners'), t('layouts.partners_url')) %>
27   </p>
28 </div>