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