-
Notifications
You must be signed in to change notification settings - Fork 0
/
moon.html
119 lines (116 loc) · 7.36 KB
/
moon.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link type="text/css" rel="stylesheet" href="src/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="src/css/main.css">
<link type="text/css" rel="stylesheet" href="src/css/now-ui-kit.css">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,600,700,800,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800,900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,600,700,800,900&display=swap" rel="stylesheet">
<!--Discord web Embed (Open Protocal Meta (OPM))-->
<meta property="og:type" content="website">
<meta property=”og:site_name” content="cabot-bot.xyz"/>
<meta property="og:url" content="https://cabot-bot.xyz/">
<meta property="og:title" content="Cabot - Moon | Current Moon Data, Correspondences and more!">
<meta property="og:description" content="Get the Moon's current data, Correspondences, placement and more from cabot's moon calculator API">
<meta name="theme-color" content="#EEB8B6">
<meta name="keywords" content="Programming, Occult, Witch, Witchy, Moon, Lunar, Calculator, Moon Phases, Moon Calculator">
<title>Cabot - Moon Calculator</title>
<link rel="shortcut icon" href="https://i.ibb.co/YkwPRzF/redise-o8.png" />
<script src="api/mooncalc.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-transparent">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<img src="src/assets/menuIcon.svg" width="20px" height="20px" style="max-width: none !important;">
</button>
<img src="src/assets/rediseño8.png" width="50" height="50">
<div class="collapse navbar-collapse" id="navbarSupportedContent" style="margin-left: 20px !important">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="/">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/features">Features</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/donate">Donate!</a>
</li>
</ul>
<div class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Online Tools
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/moon">Moon Calculator</a>
</div>
</div>
<div class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Documentation
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/features">Commands</a>
<a class="dropdown-item" href="/comingSoon">API</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/legal">Legal</a>
<a class="dropdown-item" href="/terms">Terms of Service</a>
<a class="dropdown-item" href="/privacy">Privacy Policy</a>
<a class="dropdown-item" href="/dmca">DMCA Policy</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/credits">Credits</a>
</div>
</div>
<div class="nav-item">
<a class="nav-link" href="/about">About</a>
</div>
<button class="btn login-btn btn-outline-accent my-2 my-sm-0" style="font-size: 10px !important;font-family: poppins !important;" href="https://discord.com/api/oauth2/authorize?client_id=882064634180427847&permissions=157572000833&scope=bot%20applications.commands">INVITE</button>
</div>
</nav>
<div class="features">
<div class="title">Cabot’s Moon Calculator</div>
<div class="cards">
<div class="card" style="width: 50rem;">
<div class="card-body">
<script>
var date = new Date();
const moonstat = MoonCalc.datasForDay(date);
</script>
<center><a class="btn btn-primary btn-lg" target="_blank" type="button" role="button" onclick="myFunction()">Show stats</a></center>
<center><p class="subtitle" id="Emoji"></p></center>
<center><p class="subtitle" id="Date"><p class="subtitle" id="Age"><p class="subtitle" id="Distance"><p class="subtitle" id="Trajectory"><p class="subtitle" id="Phase"><p class="subtitle" id="Description">Click on "Show stats" to be show current moon stats here</p></p></p></p></p></p></center>
<p><script>
function myFunction() {
document.getElementById("Date").innerHTML = "Date: " + date;
document.getElementById("Age").innerHTML = "Age: " + moonstat.age;
document.getElementById("Distance").innerHTML = "Distance: " + moonstat.distance;
document.getElementById("Phase").innerHTML = "Phase: " + moonstat.phase;
document.getElementById("Description").innerHTML = "Description: " + moonstat.description;
document.getElementById("Emoji").innerHTML = moonstat.emoji;
document.getElementById("Trajectory").innerHTML = "Trajectory: " + moonstat.trajectory;
}
</script></p>
</div>
</div>
</div>
</div>
<div class="page_end">
<div class="footer">
<div class="bot-footer">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css">
<a style="color: #EEB8B6;" href="https://github.com/sponsors/Cabot-bot"><i class="fab fa-github" style='font-size:30px'></i></a>
<a style="color: #EEB8B6;" href="https://instagram.com/cabot.bot.xyz/"><i class="fab fa-instagram" style='font-size:30px'></i></a>
<br/> Copyright © Witchie#0584 - 2022
</div><br/>
<div class="nouridio">website designed by <a href="https://nouridio.com"> nouridio</a><br><br><br><br><br>Manipulated by Witchie#0584<br><br><br><br><br>Cabot not affiliated with <a href="https://discord.com"> Discord</a></div>
<br>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script src="src/js/now-ui-kit.min.js"></script>
</body>
</html>