-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (66 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MineAuth - Minecraft Authentication Made Easy</title>
<link rel="stylesheet" href="/static/styles.css">
</head>
<body>
<main>
<div class="main">
<img src="/static/images/MineAuth.png" class="logo" alt="MineAuth Logo" width="400" style="margin-bottom: -60px; margin-top: -220px;">
<h1>Minecraft Authentication made easy.</h1>
<h2 class="hh" id="coming-soon">Coming Soon.</h2>
<div id="download-links" style="display: none;">
<div style="display: flex; gap: 10px; align-items: center; margin-top: -30px; margin-bottom: -25px;">
<a href="https://apps.apple.com/us/app/mineauth" target="_blank">
<img src="https://developer.apple.com/assets/elements/badges/download-on-the-app-store.svg"
alt="Download on the App Store"
style="height: 50px; width: auto;">
</a>
<a href="https://play.google.com/store/apps/details?id=your.app.package" target="_blank">
<img src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
alt="Get it on Google Play"
style="height: 75px; width: auto;">
</a>
</div>
<div style="margin-top: 20px;">
<p>Download the MineAuth Plugin <a class="link1" href="/static/downloads/MineAuthPlugin.jar" download>here</a></p>
</div>
<br>
<br>
</div>
</div>
<!-- Footer Section -->
<div class="footer-links">
<a class="link" href="/">Home</a> |
<a class="link" href="/terms">Terms of Service</a> |
<a class="link" href="/privacy">Privacy Policy</a> |
<a class="link" href="/dashboard">Dashboard</a>
</div>
<p class="disclaimer">Commit info here</p>
<p class="disclaimer">Not an official Minecraft service. Not approved by or associated with Mojang or Microsoft</p>
<p class="disclaimer">Copyright © 2025 MineAuth. All rights reserved.</p>
</main>
<script>
document.addEventListener("DOMContentLoaded", function() {
fetch('/api/launch')
.then(response => response.json())
.then(data => {
const flagValue = data.flag;
if (flagValue) {
document.getElementById("coming-soon").style.display = "none";
document.getElementById("download-links").style.display = "block";
} else {
document.getElementById("coming-soon").style.display = "block";
document.getElementById("download-links").style.display = "none";
}
})
.catch(error => {
console.error('Error fetching launch info:', error);
});
});
</script>
</body>
</html>