Skip to content

Commit 48884c0

Browse files
author
Simone Picciani
committed
added cookie law popup
1 parent 0fa6e96 commit 48884c0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,25 @@
3535
<meta name="twitter:description" content="Sviluppatori, Sviluppatrici, Appassionati e Appassionate di Python a Milano" />
3636
<meta name="twitter:image" content="http://pythonmilano.xyz/assets/img/pymi_og_twitter.png" />
3737

38+
<!--Cookie Law popup-->
39+
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
40+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
41+
<script>
42+
window.addEventListener("load", function(){
43+
window.cookieconsent.initialise({
44+
"palette": {
45+
"popup": {
46+
"background": "#252e39"
47+
},
48+
"button": {
49+
"background": "#14a7d0"
50+
}
51+
},
52+
"theme": "edgeless",
53+
"position": "bottom-right"
54+
})});
55+
</script>
56+
3857
</head>
3958

4059
<body>

0 commit comments

Comments
 (0)