-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
152 lines (142 loc) · 5.36 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<title>Get Crypto-Lucky</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Generate random cryptocurrency wallets and check for lucky balance"
/>
<meta property="og:title" content="Get Crypto-Lucky" />
<meta property="og:type" content="website" />
<meta property="og:image" content="https://get-crypto-lucky.web.app/img/opengraph.png" />
<meta property="og:url" content="https://get-crypto-lucky.web.app" />
<meta
property="og:description"
content="Generate random cryptocurrency wallets and check for lucky balance"
/>
<meta
name="Description"
content="Generate random cryptocurrency wallets and check for lucky balance"
/>
<link rel="icon" type="image/png" href="img/icon16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="img/icon32.png" sizes="32x32" />
<link rel="stylesheet" href="libs/spectre/spectre.min.css" />
<link rel="stylesheet" href="libs/spectre/spectre-icons.min.css" />
<link rel="stylesheet" href="libs/cryptoslots/cryptoslots.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div id="app" class="container grid-lg text-center">
<h1 style="margin-top: 1rem; margin-bottom: 1rem">🍀 Get Crypto-Lucky 🤞</h1>
<div id="main" class="card">
<div class="card-body">
<a
class="btn btn-success float-right spin-button hide-mobile"
@click="getLucky"
:class="{'disabled': spinning}"
>Get Lucky</a
>
<div class="machine"></div>
<a
class="btn btn-success spin-button show-mobile"
@click="getLucky"
:class="{'disabled': spinning}"
>Get Lucky</a
>
<div class="address" v-if="address" v-cloak>
<div class="h4" style="margin: 1rem">{{ address.coin.name }} address</div>
<div class="columns">
<div class="col-10">
<p class="text-left">
<b>Public address:</b> {{ address.pair.publicAddress }}<br />
<b>Private WIF:</b> {{ address.pair.privateWif }}
</p>
</div>
<div class="col-2">
<div class="h1">
{{ address.amount }}
<svg class="coin" style="width: 1.5rem; height: 1.5rem">
<use
:xlink:href="'#icon-'+address.coin.name.toLowerCase().replace(' ', '-')"
></use>
</svg>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="history" class="card mt-2">
<div class="card-header bg-secondary">
<div class="card-title h5">Previous attempts</div>
</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<tr>
<th>Address pair (public/private)</th>
<th>Coin</th>
<th>Amount</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr v-for="address in addresses.slice(0,10)">
<td>
<small>{{ address.pair.publicAddress }}</small><br />
<small>{{ address.pair.privateWif }}</small>
</td>
<td>{{ address.coin.name }}</td>
<td>{{ address.amount }}{{ address.coin.symbol }}</td>
<td>{{ address.price }}$</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="faq" class="card text-left mt-2">
<div class="card-header bg-secondary">
<div class="card-title h5 text-center">Frequently Asked Questions</div>
</div>
<div class="card-body">
<details class="accordion" v-for="(question, index) in faq">
<summary class="accordion-header c-hand">
<i class="icon icon-arrow-right mr-1"></i>
<b>{{ question.title }}</b>
</summary>
<div class="accordion-body">
<blockquote
style="
margin-left: 0.75rem;
margin-top: 0.2rem;
margin-bottom: 0.2rem;
margin-right: 0;
"
>
<p v-html="question.description" class="text-justify"></p>
</blockquote>
</div>
</details>
</div>
</div>
<div id="footer" class="mt-2 text-center text-gray">
<p>
Developed by
<a href="https://twitter.com/errorname_" target="_blank">Errorname</a> -
<a href="https://github.com/errorname/GetCryptoLucky" target="_blank">Github</a>
</p>
</div>
</div>
<script src="libs/jquery.min.js"></script>
<script src="libs/vue.js"></script>
<script src="libs/coinkey.bundle.js"></script>
<script src="libs/coininfo.bundle.js"></script>
<script src="libs/cryptoslots/cryptoslots.js"></script>
<script src="libs/cryptoslots/cryptoslots.html" type="text/html" id="slots_html"></script>
<script src="coins.js"></script>
<script src="faq.js"></script>
<script src="app.js"></script>
</body>
</html>