]> git.openstreetmap.org Git - rails.git/blob - app/views/site/about.html.erb
Don't stretch trace tabs to full width on small screens
[rails.git] / app / views / site / about.html.erb
1 <% I18n.with_locale @locale do %>
2   <%= tag.div :lang => @locale, :dir => t("html.dir") do %>
3     <div class="container-lg attr">
4       <div class='row'>
5         <div class='col-sm-7 user-image'></div>
6         <div class='col-sm-5 px-5 py-3 byosm'>
7           <p class='h5 text-white text-nowrap'>
8             <%= t ".heading_html", :copyright => tag.span(t(".copyright_symbol_html")),
9                                    :br => tag.br %>
10           </p>
11         </div>
12       </div>
13       <div class='row'>
14         <div class="px-5 py-4 bg-dark">
15           <h1 class="text-white fw-light"><%= t ".used_by_html", :name => tag.span("OpenStreetMap", :class => "user-name") %></h1>
16         </div>
17       </div>
18     </div>
19
20     <div class='bg-white px-5 py-4'>
21       <p class="lead"><%= t ".lede_text" %></p>
22
23       <%= render :layout => "about_section", :locals => { :icon => "local", :title => "local_knowledge" } do %>
24         <p><%= t "site.about.local_knowledge_html" %></p>
25       <% end %>
26
27       <%= render :layout => "about_section", :locals => { :icon => "community", :title => "community_driven" } do %>
28         <p>
29           <%= t "site.about.community_driven_1_html", :osm_blog_link => link_to(t("site.about.community_driven_osm_blog"),
30                                                                                 t("site.about.community_driven_osm_blog_url")),
31                                                       :user_diaries_link => link_to(t("site.about.community_driven_user_diaries"),
32                                                                                     diary_entries_path),
33                                                       :community_blogs_link => link_to(t("site.about.community_driven_community_blogs"),
34                                                                                        t("site.about.community_driven_community_blogs_url")),
35                                                       :osm_foundation_link => link_to(t("site.about.community_driven_osm_foundation"),
36                                                                                       t("site.about.community_driven_osm_foundation_url")) %>
37         </p>
38       <% end %>
39
40       <%= render :layout => "about_section", :locals => { :id => "open-data", :icon => "open", :title => "open_data" } do %>
41         <p>
42           <%= t "site.about.open_data_1_html", :open_data => tag.i(t("site.about.open_data_open_data")),
43                                                :copyright_license_link => link_to(t("site.about.open_data_copyright_license"),
44                                                                                   copyright_path) %></p>
45       <% end %>
46
47       <%= render :layout => "about_section", :locals => { :id => "legal", :icon => "legal", :title => "legal" } do %>
48         <p>
49           <%= t "site.about.legal_1_1_html", :openstreetmap_foundation_link => link_to(t("site.about.legal_1_1_openstreetmap_foundation"),
50                                                                                        t("site.about.legal_1_1_openstreetmap_foundation_url")),
51                                              :terms_of_use_link => link_to(t("site.about.legal_1_1_terms_of_use"),
52                                                                            t("site.about.legal_1_1_terms_of_use_url")),
53                                              :aup_link => link_to(t("site.about.legal_1_1_aup"),
54                                                                   t("site.about.legal_1_1_aup_url")),
55                                              :privacy_policy_link => link_to(t("site.about.legal_1_1_privacy_policy"),
56                                                                              t("site.about.legal_1_1_privacy_policy_url")) %>
57         </p>
58         <p>
59           <%= t "site.about.legal_2_1_html", :contact_the_osmf_link => link_to(t("site.about.legal_2_1_contact_the_osmf"),
60                                                                                t("site.about.legal_2_1_contact_the_osmf_url")) %>
61         </p>
62         <p>
63           <%= t "site.about.legal_2_2_html", :registered_trademarks_link => link_to(t("site.about.legal_2_2_registered_trademarks"),
64                                                                                     t("site.about.legal_2_2_registered_trademarks_url")) %>
65         </p>
66       <% end %>
67
68       <%= render :layout => "about_section", :locals => { :id => "partners", :icon => "partners", :title => "partners" } do %>
69         <p><%= t "layouts.hosting_partners_2024_html", :fastly => link_to(t("layouts.partners_fastly"), "https://www.fastly.com/"),
70                                                        :corpmembers => link_to(t("layouts.partners_corpmembers"), "https://osmfoundation.org/wiki/Corporate_Members"),
71                                                        :partners => link_to(t("layouts.partners_partners"), "https://hardware.openstreetmap.org/thanks/") %>
72         </p>
73       <% end %>
74     </div>
75   <% end %>
76 <% end %>