- <%= render :layout => "about_section", :locals => { :id => "legal", :icon => "legal", :title => "legal" } do %>
- <p><%= t "site.about.legal_1_html" %></p>
- <p><%= t "site.about.legal_2_html" %></p>
- <% end %>
+ <section id="legal">
+ <div class="d-flex align-items-center gap-2 mb-2">
+ <svg width="30" height="30" class="flex-shrink-0">
+ <circle cx="15" cy="15" r="13" fill="none" stroke="#c0c0c0" stroke-width="4" />
+ <g fill="none" stroke="#c0c0c0" stroke-width="1.125" stroke-linecap="round">
+ <path transform="translate(15 15) scale(2.2 1.75) rotate(45)"
+ d="M.5 1 a1 1 0 0 0 0 -2 h-2.5 a1 1 0 0 1 0 -2 h.5" />
+ <path transform="translate(15 15) scale(-2.2 -1.75) rotate(45)"
+ d="M.5 1 a1 1 0 0 0 0 -2 h-2.5 a1 1 0 0 1 0 -2 h.5" />
+ </g>
+ </svg>
+ <h2 class="flex-grow-1 mb-0"><%= t ".legal_title" %></h2>
+ </div>
+ <p>
+ <%= t ".legal_1_1_html", :openstreetmap_foundation_link => link_to(t(".legal_1_1_openstreetmap_foundation"),
+ t(".legal_1_1_openstreetmap_foundation_url")),
+ :terms_of_use_link => link_to(t(".legal_1_1_terms_of_use"),
+ t(".legal_1_1_terms_of_use_url")),
+ :aup_link => link_to(t(".legal_1_1_aup"),
+ t(".legal_1_1_aup_url")),
+ :privacy_policy_link => link_to(t(".legal_1_1_privacy_policy"),
+ t(".legal_1_1_privacy_policy_url")) %>
+ </p>
+ <p>
+ <%= t ".legal_2_1_html", :contact_the_osmf_link => link_to(t(".legal_2_1_contact_the_osmf"),
+ t(".legal_2_1_contact_the_osmf_url")) %>
+ </p>
+ <p>
+ <%= t ".legal_2_2_html", :registered_trademarks_link => link_to(t(".legal_2_2_registered_trademarks"),
+ t(".legal_2_2_registered_trademarks_url")) %>
+ </p>
+ </section>