Files
grecia/app/components/layout/footer_component.html.erb
2025-01-23 16:48:55 +01:00

45 lines
1.5 KiB
Plaintext

<footer>
<div class="row">
<div class="small-12 large-4 column">
<h1 class="logo">
<%= link_to t("layouts.header.open_gov"), root_path %>
</h1>
<p class="info">
<%= sanitize(t("layouts.footer.description",
open_source: open_source_link,
consul: repository_link),
attributes: allowed_link_attributes) %>
</p>
</div>
<div class="footer-sections small-12 large-8 column">
<div class="small-12 medium-4 column">
<%= link_to t("layouts.footer.participation_title"), root_path, class: "title" %>
<p><%= t("layouts.footer.participation_text") %></p>
</div>
</div>
</div>
<div class="subfooter row">
<div class="small-12 medium-8 column">
<%= t("layouts.footer.copyright", year: Time.current.year) %>
<ul class="legal">
<li><%= link_to t("layouts.footer.privacy"), page_path("privacy") %></li>
<li><%= link_to t("layouts.footer.conditions"), page_path("conditions") %></li>
<li><%= link_to t("layouts.footer.accessibility"), page_path("accessibility") %></li>
<% if feature?(:cookies_consent) %>
<li>
<a href="#cookies_consent_management" data-open="cookies_consent_management">
<%= t("layouts.footer.cookies_consent_management") %>
</a>
</li>
<% end %>
<%= raw footer_legal_content_block %>
</ul>
</div>
<%= render Layout::SocialComponent.new %>
</div>
</footer>