-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 1.26 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
<!doctype html>
<html lang="en" dir="rtl">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>سلام - ادیتور</title>
<link rel="stylesheet" href="./src/styles/style.css">
</head>
<body class="bg-[#ff5b00]/5">
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
<script>
const salam = () => {
var Module = window.Module
if (Module) {
const script = document.createElement("script");
script.src = "salam-wa.js";
script.onload = () => {
console.log(
"%c1.salam loaded in index success",
`
padding: 3px 10px;
border-radius: 5px;
color: white;
background-color: #00BC1C;
font-family: estedad, sansserif;
font-size: 15px;
`
)
};
document.body.appendChild(script);
}else {
setTimeout(() => {
salam()
}, 100)
}
}
salam()
</script>
</body>
</html>