decidim: mirror koopa-decidim setup (9027, docs for /sm showcase)

This commit is contained in:
Hernâni Marques 2026-08-24 08:47:22 +02:00
parent d519fb3c80
commit 9ae0dfa429
No known key found for this signature in database
21 changed files with 998 additions and 2 deletions

View file

@ -0,0 +1,10 @@
/* Essential-only consent; banner hidden via CSS. */
(function () {
var name = "decidim-consent";
if (document.cookie.indexOf(name + "=") !== -1) return;
document.cookie =
name +
"=" +
encodeURIComponent(JSON.stringify({ essential: true })) +
"; path=/; max-age=31536000; SameSite=Lax";
})();