-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (70 loc) · 1.94 KB
/
index.html
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
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./dist/gandalf.css">
<script src="./dist/gandalf.umd.js"></script>
<title>Gandalf | Internet Explorer Blocker</title>
<style>
body{
margin: 0;
}
.btn{
display: inline-block;
font-weight: 400;
color: #212529;
text-align: center;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: transparent;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-primary{
background-color: coral;
color: white;
text-decoration: none;
}
</style>
</head>
<body style="height: 100vh; background-color: bisque;">
</body>
<footer>
<script defer>
let settings = {
"content":{
"title": "Internet Explorer isn't supported | Gandalf",
"explanation": "We don't provide support for this browser",
},
"browsers": [
{
"name": "Chrome",
"link": "https://www.google.com/intl/en/chrome/",
"download_text": "Download Chrome",
"classes": ["btn","btn-primary"]
},
{
"name": "Firefox",
"link": "https://www.mozilla.org/firefox/new/",
"download_text": "Download Firefox",
"classes": ["btn","btn-primary"]
}
],
"styles":{
"wrapper": ["ieblocker__wrapper"],
"modal": ["ieblocker__modal"],
"buttons_wrapper": ["ieblocker__buttons-wrapper"]
}
};
blockIe(settings)
</script>
</footer>
</html>