]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Merge remote-tracking branch 'upstream/pull/3561'
[rails.git] / app / views / site / about.html.erb
1 <%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
2   <div class="container-lg attr">
3     <div class='row'>
4       <div class='col-sm-7 user-image'></div>
5       <div class='col-sm-5 px-5 py-3 byosm'>
6         <h5 class='text-white text-nowrap'><%= t ".copyright_html", :locale => @locale %></h5>
7       </div>
8     </div>
9     <div class='row'>
10       <div class="w-100 px-5 py-4 bg-dark">
11         <h1 class="text-white font-weight-light"><%= t ".used_by_html", :name => tag.span("OpenStreetMap", :class => "user-name"), :locale => @locale %></h1>
12       </div>
13     </div>
14   </div>
15
16   <div class='bg-white px-5 py-4'>
17     <div class='section'>
18       <p><strong><%= t ".lede_text", :locale => @locale %></strong></p>
19       <h2><div class='icon local'></div><%= t ".local_knowledge_title", :locale => @locale %></h2>
20       <p><%= t ".local_knowledge_html", :locale => @locale %></p>
21     </div>
22
23     <div class='section'>
24       <h2><div class='icon community'></div><%= t ".community_driven_title", :locale => @locale %></h2>
25       <p><%= t ".community_driven_html", :locale => @locale, :diary_path => diary_entries_path %></p>
26     </div>
27
28     <div class='section' id='open-data'>
29       <h2><div class='icon open'></div><%= t ".open_data_title", :locale => @locale %></h2>
30       <p><%= t ".open_data_html", :locale => @locale, :copyright_path => copyright_path %></p>
31     </div>
32
33     <div class='section' id='legal'>
34       <h2><div class='icon legal'></div><%= t ".legal_title", :locale => @locale %></h2>
35       <p><%= t ".legal_1_html", :locale => @locale %></p>
36       <p><%= t ".legal_2_html", :locale => @locale %></p>
37     </div>
38
39     <div class='section' id='partners'>
40       <h2><div class='icon partners'></div><%= t ".partners_title", :locale => @locale %></h2>
41       <p><%= t "layouts.hosting_partners_html", :locale => @locale,
42                                                 :ucl => link_to(t("layouts.partners_ucl", :locale => @locale), "https://www.ucl.ac.uk"),
43                                                 :fastly => link_to(t("layouts.partners_fastly", :locale => @locale), "https://www.fastly.com/"),
44                                                 :bytemark => link_to(t("layouts.partners_bytemark", :locale => @locale), "https://www.bytemark.co.uk"),
45                                                 :partners => link_to(t("layouts.partners_partners", :locale => @locale), "https://hardware.openstreetmap.org/thanks/") %>
46       </p>
47     </div>
48   </div>
49 <% end %>