-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (67 loc) · 2.03 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>
<head>
<title>Chain Status</title>
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #16192D;
/* Dark blue for the background */
color: #DDCDAB;
/* Cream color for the text */
margin: 0;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
min-width: 400px;
box-sizing: border-box;
}
h4 {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #5B3F76;
/* Purple for the header background */
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
h1 {
display: flex;
justify-content: center;
align-items: center;
}
.status-indicator {
background: #799aed;
color: white;
padding: 4px;
border-radius: 20px;
width: 50px;
display: inline-block;
text-align: center;
}
.status-indicator.up {
background: #08b077;
}
.status-indicator.down {
background: #d96c5e;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<h1>
<img src="images/chain status icon-nobackground.png" />
Chain Status
</h1>
<div>
<h4>Solana Devnet Status: <span class="status-indicator" id="solana-devnet-status">...</span></h4>
<h4>Solana Testnet Status: <span class="status-indicator" id="solana-testnet-status">...</span></h4>
<h4>Ethereum Goerli Status: <span class="status-indicator" id="ether-goerli-status">...</span></h4>
</div>
</body>
<script src="script.js"></script>
</html>