Skip to content

Node.js based forum software built for the modern web

refactor: move cookie-consent.tpl to core

Barış Soner Uşaklı26687133b546
diff --git a/src/views/partials/cookie-consent.tpl b/src/views/partials/cookie-consent.tpl
new file mode 100644
index 0000000000..ad6a035991
--- /dev/null
+++ b/src/views/partials/cookie-consent.tpl
@@ -0,0 +1,6 @@
+<div class="position-fixed bottom-0 w-100 px-3 px-md-0 pb-5 mb-5 pb-lg-0 mb-lg-0" style="z-index: 2;">
+ <div class="cookie-consent d-flex flex-column flex-lg-row gap-2 text-bg-info col-12 col-sm-8 col-lg-6 p-3 mx-auto rounded mb-5 mb-md-3 justify-content-between align-items-center">
+ <span>{{tx(message)}} <a class="fw-bold" target="_blank" rel="noopener" href="{link_url}">{{tx(link)}}</a></span>
+ <button class="btn btn-primary text-nowrap">{{tx(dismiss)}}</button>
+ </div>
+</div>