forked from Waters000/coinhiz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atm.html
89 lines (83 loc) · 3.89 KB
/
atm.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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/css/fav-style.css">
<link rel="shortcut icon" href="./assets/img/bitcoin.png" type="image/x-icon">
<title>ATM | CoinHiz</title>
</head>
<body>
<!-- Nabvar -->
<nav class="bg-green-800 text-gray-100">
<div class="container mx-auto">
<div class="flex flex-wrap justify-between">
<div class="flex w-full lg:w-1/2 justify-center lg:justify-start">
<h1 class="text-xl font-bold p-3">CoinHiz</h1>
</div>
<div class="flex flex-row w-full lg:w-1/2 justify-center lg:justify-end nav-links">
<a class="p-3 hover:bg-gray-100 hover:text-gray-700 transition" href="/coinhiz/">HOME</a>
<a class="p-3 hover:bg-gray-100 hover:text-gray-700 transition" href="/coinhiz/atm">ATM</a>
<a class="p-3 hover:bg-gray-100 hover:text-gray-700 transition" href="/coinhiz/favorites">FAVORITES</a>
</div>
</div>
</div>
</nav>
<!-- Hero -->
<section class="hero">
<div class="site-title">
<h1>CoinHiz</h1>
</div>
<div class="page-title">
<h1>ATM</h1>
</div>
</section>
<!-- Form section -->
<section>
<div class="d-flex flex-column align-items-center">
<div class="col-12 col-md-8 p-2">
<h2 class="p-3 text-center border-bottom fw-bold">Find Bitcoin ATM</h2>
</div>
<div class="d-flex flex-column justify-content-center align-items-center container">
<!-- Form -->
<form class="col-11 col-sm-10 col-md-6 col-lg-4">
<div class="input-group mb-3">
<input id="city" type="text" class="form-control" placeholder="Enter a City"
aria-label="Recipient's username" aria-describedby="basic-addon2">
<div class="input-group-append">
<button id="btc-atm-search" class="btn btn-outline-primary">Search<img class="img-search"
src="./assets/img/bitcoin.png" alt=""></button>
</div>
</div>
</form>
<!-- End of Form -->
<p>or</p>
<button id="my-location" class="btn btn-primary">
<img class="gps" src="./assets/img/gps.png" alt="">
location
<span id="loading" class="spinner-border spinner-border-sm" role="status"></span>
</button>
<div id="message" class="my-4"></div>
</div>
</div>
</section>
<!-- map section -->
<div class="d-flex flex-column align-items-center">
<div id="map" class="col-11 col-md-10 col-lg-8 col-xl-6 rounded shadow border"></div>
<div id="atm-info" class="col-12 d-flex flex-column align-items-center"></div>
</div>
<!--footer-->
<footer class="bg-dark mt-5 text-muted d-flex justify-content-center align-items-center">
<div class="col-10 text-center py-4">
<!-- copyright-->
<p>Copyright © 2022 CoinHiz. All rights reserved.</p>
</div>
</footer>
<!-- Async script executes immediately and must be after any DOM elements used in callback. -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAY0aUhmoBFuEw8NhIcYCP9CsR5qj7wA6o&callback=initMap&libraries=places&v=weekly" async></script>
<script src="./assets/js/bitcoin-atm.js"></script>
</body>
</html>