Do not display the cookie banner when JS is disabled

This commit is contained in:
taitus
2024-12-09 16:37:01 +01:00
parent 018b00cd6e
commit 7c48ba0116
2 changed files with 6 additions and 1 deletions

View File

@@ -7,3 +7,8 @@
.check-all-none {
display: none;
}
.cookies-consent-banner,
.cookies-consent-management-footer-content {
display: none;
}

View File

@@ -29,7 +29,7 @@
<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>
<li class="cookies-consent-management-footer-content">
<a href="#cookies_consent_management" data-open="cookies_consent_management">
<%= t("layouts.footer.cookies_consent_management") %>
</a>