-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (43 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<style>
button{
height: 64px;
min-width: 200px;
margin: 32px;
border-radius: 32px;
border: 2px solid green;
outline: none;
background: transparent;
text-transform: uppercase;
font-weight: bold;
color : green;
cursor: pointer;
}
</style>
</head>
<body style="/*background-color: #333;*/">
<button onclick="showNotification()">Show Notification</button>
<div id="push-panel" class="push-panel">
</div>
<script src="https://randomcolor.llllll.li/randomColor.js"></script>
<script src="script.js"></script>
<script>
function showNotification(){
let options = {
title : 'like your photo',
description : "how are you today? I'm fine thank and you. Thank you so much. haha",
user_image : 'http://social.dmobisoft.com/u/i/xcFl3842ZDr7guCswEQf1b9Z1hxibjCzz7AmKOhk.jpeg',
item_image : 'http://social.dmobisoft.com/u/i/eAJX7E8lJhkSKG3twqKfvWkPpxxMSLOrOfcEI1Wm.jpeg'
}
pushNotification(options);
}
</script>
</body>
</html>