]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Merge remote-tracking branch 'upstream/pull/3758'
[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         <p class='h5 text-white text-nowrap'><%= t ".copyright_html", :locale => @locale %></p>
7       </div>
8     </div>
9     <div class='row'>
10       <div class="w-100 px-5 py-4 bg-dark">
11         <h1 class="text-white fw-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     <p class="lead"><%= t ".lede_text", :locale => @locale %></p>
18
19     <%= render :layout => "about_section", :locals => { :icon => "local", :title => "local_knowledge" } do %>
20       <p><%= t "site.about.local_knowledge_html", :locale => @locale %></p>
21     <% end %>
22
23     <%= render :layout => "about_section", :locals => { :icon => "community", :title => "community_driven" } do %>
24       <p><%= t "site.about.community_driven_html", :locale => @locale, :diary_path => diary_entries_path %></p>
25     <% end %>
26
27     <%= render :layout => "about_section", :locals => { :id => "open-data", :icon => "open", :title => "open_data" } do %>
28       <p><%= t "site.about.open_data_html", :locale => @locale, :copyright_path => copyright_path %></p>
29     <% end %>
30
31     <%= render :layout => "about_section", :locals => { :id => "legal", :icon => "legal", :title => "legal" } do %>
32       <p><%= t "site.about.legal_1_html", :locale => @locale %></p>
33       <p><%= t "site.about.legal_2_html", :locale => @locale %></p>
34     <% end %>
35
36     <%= render :layout => "about_section", :locals => { :id => "partners", :icon => "partners", :title => "partners" } do %>
37       <p><%= t "layouts.hosting_partners_html", :locale => @locale,
38                                                 :ucl => link_to(t("layouts.partners_ucl", :locale => @locale), "https://www.ucl.ac.uk"),
39                                                 :fastly => link_to(t("layouts.partners_fastly", :locale => @locale), "https://www.fastly.com/"),
40                                                 :bytemark => link_to(t("layouts.partners_bytemark", :locale => @locale), "https://www.bytemark.co.uk"),
41                                                 :partners => link_to(t("layouts.partners_partners", :locale => @locale), "https://hardware.openstreetmap.org/thanks/") %>
42       </p>
43     <% end %>
44   </div>
45 <% end %>