forked from EasyCookies/EasyCookies
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (64 loc) · 2.41 KB
/
index.html
File metadata and controls
67 lines (64 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport"
content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="robots" content="index, follow">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>EasyCookies</title>
<meta name="description" content="" />
<meta property="og:title" content="" />
<meta property="og:site_name" content="" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:description" content="" />
<meta name="twitter:title" content="" />
<meta name="twitter:description" content="" />
<meta name="twitter:image" content="" />
<meta name="twitter:card" content="summary_large_image">
<meta name="keywords" content="" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<script src="/easyCookies.min.js"></script>
</head>
<body class="p-0 m-0">
<script>
window.easyCookiesBanner = new EasyCookies.Banner({
scripts: {
gtag: 'AW-123456789'
},
data: {
title: "This website uses cookies 🍪🍪🍪",
text: "We use cookies to improve your experience.",
acceptBtnText: 'Accept cookies',
rejectBtnText: 'Reject'
},
styles: {
banner: {
fontFamily: "'Poppins', sans-serif",
color: "black",
maxWidth: "400px",
boxShadow: "rgba(144, 164, 174, 0.3) 0px 6px 12px 0px"
},
rejectBtn: {
display: 'block'
}
}
});
window.easyCookiesBanner.init();
</script>
<div id="root" style="min-height: 2000px;">
<button onclick="window.easyCookiesBanner.show()">Show banner</button>
</div>
</body>
</html>