Skip to content

Commit 1ef9675

Browse files
authored
Update index.html
1 parent 3431c18 commit 1ef9675

1 file changed

Lines changed: 87 additions & 0 deletions

File tree

‎index.html‎

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
---
55
<meta name="facebook-domain-verification" content="iyq6csa05w60ox2ouz7tjma4owsvlf" />
66

7+
<!-- Cookie Consent CSS & JS z CDN -->
8+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.9.2/dist/cookieconsent.css">
9+
<script defer src="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v2.9.2/dist/cookieconsent.js"></script>
10+
711
<style>
812
:root {
913
--bg-main: #0a0c10;
@@ -350,6 +354,41 @@
350354
background: rgba(6, 182, 212, 0.08);
351355
}
352356

357+
/* Footer styling */
358+
.page-footer {
359+
margin-top: 40px;
360+
padding-top: 20px;
361+
border-top: 1px solid var(--border-color);
362+
text-align: center;
363+
font-size: 0.8rem;
364+
color: var(--text-muted);
365+
}
366+
367+
.page-footer a {
368+
color: var(--text-secondary);
369+
text-decoration: none;
370+
margin: 0 8px;
371+
transition: color 0.2s;
372+
}
373+
374+
.page-footer a:hover {
375+
color: var(--accent-green);
376+
}
377+
378+
/* Dynamic Style Overrides for Cookie Consent Dark Theme */
379+
#cc--main {
380+
--cc-bg: #12161f;
381+
--cc-text: #f3f4f6;
382+
--cc-btn-primary-bg: #22c55e;
383+
--cc-btn-primary-text: #000000;
384+
--cc-btn-primary-hover-bg: #16a34a;
385+
--cc-btn-secondary-bg: #1e2638;
386+
--cc-btn-secondary-text: #f3f4f6;
387+
--cc-btn-secondary-hover-bg: #2a344d;
388+
--cc-cookie-category-title-color: #06b6d4;
389+
font-family: 'JetBrains Mono', monospace !important;
390+
}
391+
353392
/* Responsive Design */
354393
@media (max-width: 850px) {
355394
.hero-grid, .rack-showcase-grid, .info-grid {
@@ -497,4 +536,52 @@ <h3>// ROADMAP & PLANS</h3>
497536
</div>
498537
</div>
499538
</div>
539+
540+
<!-- Footer z linkami do RODO/Cookies -->
541+
<footer class="page-footer">
542+
<p>
543+
© DevLabStudy |
544+
<a href="/polityka-prywatnosci">Polityka Prywatności</a> |
545+
<a href="#" data-cc="c-settings">Ustawienia Cookies</a>
546+
</p>
547+
</footer>
500548
</div>
549+
550+
<!-- Skrypt inicjalizujący Baner CookieConsent -->
551+
<script>
552+
window.addEventListener('load', function () {
553+
var cc = initCookieConsent();
554+
555+
cc.run({
556+
current_lang: 'pl',
557+
autoclear_cookies: true,
558+
page_scripts: true,
559+
560+
gui_options: {
561+
consent_modal: {
562+
layout: 'cloud',
563+
position: 'bottom center',
564+
transition: 'slide',
565+
swap_buttons: false
566+
}
567+
},
568+
569+
languages: {
570+
'pl': {
571+
consent_modal: {
572+
title: 'Strona używa plików cookie 🍪',
573+
description: 'Używamy plików cookie w celu prawidłowego działania witryny oraz multimediów. Więcej dowiesz się w naszej <a href="/polityka-prywatnosci">Polityce Prywatności</a>.',
574+
primary_btn: {
575+
text: 'Akceptuję',
576+
role: 'accept_all'
577+
},
578+
secondary_btn: {
579+
text: 'Tylko niezbędne',
580+
role: 'accept_necessary'
581+
}
582+
}
583+
}
584+
}
585+
});
586+
});
587+
</script>

0 commit comments

Comments
 (0)