forked from osmosis-labs/osmosis-installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (75 loc) · 3.52 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
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Osmosis Installer</title>
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://get.osmosis.zone/">
<meta property="og:type" content="website">
<meta property="og:title" content="Osmosis Installer">
<meta property="og:description" content="Bash installer used to create a node on the Osmosis network">
<meta property="og:image" content="https://rawcdn.githack.com/osmosis-labs/osmosis-installer/f748a8e13a5fc752b547dbe0cfbe344309bd36e0/screenshot.png">
<link rel="icon" type="image/png" href="https://rawcdn.githack.com/osmosis-labs/osmosis-installer/7040a34948d76bf74c97f397533d6f62963279df/favicon.png"/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<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=Prompt:ital,wght@0,300;1,400&display=swap" rel="stylesheet">
<style>
body {
background: linear-gradient(
0deg, #1b0144, #36003c);
color: #fff;
font-family: 'Prompt', sans-serif;
}
.command {
color: lightgreen;
padding: 20px;
background-color: rgba(0, 0, 0, 0.75);
border: solid 1px lightgreen;
width: 100%;
font-size: 100%;
}
a {
color: greenyellow;
}
</style>
<script>
function copyToClipboard() {
var inputElement=document.getElementById('input-text');
inputElement.select();
document.execCommand('copy');
//alert("Copied to clipboard");
//TODO let user know.
}
</script>
</head>
<body>
<main>
<div class="px-4 py-5 my-5 text-center">
<h1 class="display-5 fw-bold">Osmosis Installer</h1>
<div class="row">
<div class="col col-sm-12 col-md-4 col-lg-5 mx-auto d-block">
<img src="screenshot.png" alt="" class="mx-auto d-block img-fluid">
</div>
</div>
<p class="lead mb-4">
To install Osmosisd, run the following in your terminal, then follow the on-screen instructions.
</p>
<div class="col-lg-8 mx-auto ">
<input type='text' class="command mb-4" placeholder="source <(curl -sL https://get.osmosis.zone/run)" id='input-text' value="source <(curl -sL https://get.osmosis.zone/run)">
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-4">
<button type="button" class="btn btn-primary btn-lg px-4 gap-3" onClick="copyToClipboard()">Copy to clipboard</button>
</div>
</div>
<div class="col-lg-12 mx-auto ">
<p class="lead mb-4">
Please visit <a href="https://docs.osmosis.zone"> the official documentation</a> to learn more about the Osmosis Bash Installer.
</p>
</div>
</div>
</main>
</body>
</html>