-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
288 lines (273 loc) · 10.4 KB
/
index.html
File metadata and controls
288 lines (273 loc) · 10.4 KB
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Command Launcher</title>
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<meta name="google-site-verification" content="rkIJZmZGWWI1DAgwbwPxuxYMAGEmkmZJG2xXauBq30g" />
</head>
<body>
<!-- Dark/Light Mode Toggle Button -->
<button id="mode-toggle" class="mode-toggle"><i class="fas fa-sun"></i></button>
<!-- Header with Logo and Navigation -->
<header class="gradient-bg slide-in">
<div class="logo-container">
<img src="https://raw.githubusercontent.com/Firepdx01/Command-Launcher/page/title.png"
alt="Command Launcher Logo"
style="width:625px; height:300px;"
class="logo" />
<div class="title-group fade-in">
<h1>Command Launcher</h1>
<p class="tagline">Classic Edition</p>
</div>
</div>
<nav class="navbar fade-in">
<ul>
<li><a href="#about">About</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#updates">Updates</a></li>
<li><a href="#upcoming">Upcoming</a></li>
</ul>
</nav>
</header>
<!-- Main Content -->
<main>
<!-- About Section -->
<section id="about" class="about fade-in">
<div class="hero">
<h2>Rediscover Classic Minecraft</h2>
<p>Experience Java Edition with enhanced performance and nostalgia.</p>
</div>
</section>
<!-- Features Section -->
<section id="features" class="features">
<div class="feature-box classic zoom-in">
<i class="fas fa-history"></i>
<h3>Time Machine Mode</h3>
<p>Play any version from Classic to Modern.</p>
</div>
<div class="feature-box enhanced zoom-in">
<i class="fas fa-gamepad"></i>
<h3>Enhanced Controls</h3>
<p>Customize key bindings and game settings.</p>
</div>
<div class="feature-box multiplayer zoom-in">
<i class="fas fa-users"></i>
<h3>Coming Soon Multiplayer Mode</h3>
<p>Join friends for epic battles and cooperative play.</p>
</div>
</section>
<!-- Download Section -->
<section id="download" class="download fade-in">
<h2>Get Command Launcher</h2>
<div class="download-grid">
<div class="download-card windows hover-bounce">
<div class="os-icon">
<i class="fab fa-windows"></i>
</div>
<div class="download-info">
<h3>Windows Edition</h3>
<div class="meta-info">
<span class="version">v1.0b</span>
<span class="size">• 76MB</span>
</div>
</div>
<a href="https://github.com/Firepdx01/Command-Launcher/releases/download/client/Command.Launcher.Setup.exe" class="download-btn">
<i class="fas fa-download"></i>
Download Installer
<span class="subtitle">Windows 10/11 x64</span>
</a>
</div>
<div class="download-card legacy hover-bounce">
<div class="os-icon">
<i class="fab fa-android"></i> <!-- Android icon added here -->
</div>
<div class="download-info">
<h3>Android Edition</h3>
<div class="meta-info">
<span class="version">v1.0</span>
<span class="size">• 224MB</span>
</div>
</div>
<a href="#" class="download-btn disabled">
<i class="fas fa-download"></i>
Coming Soon
<span class="subtitle">Android 7/13++</span>
</a>
</div>
</div>
<div class="checksum fade-in">
<h4><i class="fas fa-fingerprint"></i> SHA-256 Checksum</h4>
<code class="checksum-code" id="checksum-code">e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855</code>
<button class="copy-btn" id="copy-btn">
<i class="far fa-copy"></i>
</button>
</div>
</section>
<!-- Updates Section -->
<section id="updates" class="updates fade-in">
<h2>Latest Updates</h2>
<div class="update-list">
<article class="update-item slide-in">
<h3>Version 1.0a Released</h3>
<p>Performance improvements and bug fixes for Windows Edition.</p>
<span class="update-date">2025-03-01</span>
</article>
<article class="update-item slide-in">
<h3>New Multiplayer Mode</h3>
<p>Join your friends in a new, enhanced multiplayer experience.</p>
<span class="update-date">2025-02-15</span>
</article>
</div>
</section>
<!-- Upcoming Features Section -->
<section id="upcoming" class="upcoming fade-in">
<h2>Upcoming Features</h2>
<div class="upcoming-list">
<article class="upcoming-item slide-in">
<h3>Android Edition</h3>
<p>Play Minecraft: Java Edition on your Android device with full controller support.</p>
<span class="release-date">Expected: Q4 2025</span>
</article>
<article class="upcoming-item slide-in">
<h3>Cross-Platform Play</h3>
<p>Seamlessly play with friends across Windows, Android, and iOS.</p>
<span class="release-date">Expected: 2026</span>
</article>
</div>
</section>
</main>
<!-- Footer -->
<footer class="slide-up">
<div class="footer-grid">
<div class="system-req">
<h4><i class="fas fa-microchip"></i> Requirements</h4>
<ul>
<li>Windows 7 or later</li>
<li>Java 8+</li>
<li>4GB RAM</li>
</ul>
</div>
<div class="community">
<h4><i class="fas fa-users"></i> Community</h4>
<a href="#" class="social-btn discord bounce-in">
<i class="fab fa-discord"></i>
Join Discord
</a>
<a href="#" id="view-source-btn" class="social-btn github bounce-in">
<i class="fab fa-github"></i>
View Source
</a>
</div>
<div class="legal">
<ul>
<li><a href="privacy_policy.html">Privacy Policy</a></li>
<li><a href="terms_of_use.html">Terms of Use</a></li>
</ul>
</div>
</div>
<div class="scroll-top" id="scroll-top">
<i class="fas fa-arrow-up"></i>
</div>
</footer>
<!-- Source Code Modal -->
<div id="sourceModal" class="modal">
<div class="modal-content slide-in">
<span class="close-button">×</span>
<h2>Source Code</h2>
<pre><code class="html-code">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Command Launcher</title>
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<meta name="google-site-verification" content="rkIJZmZGWWI1DAgwbwPxuxYMAGEmkmZJG2xXauBq30g" />
</head>
<body>
<!-- Header, Main, Footer, etc. -->
</body>
</html>
</code></pre>
<a href="https://github.com/Firepdx01/Command-Launcher" target="_blank" class="github-link">
View on GitHub
</a>
</div>
</div>
<!-- JavaScript for Interactive Features -->
<script>
// Dark/Light Mode Toggle
const modeToggleBtn = document.getElementById('mode-toggle');
// Set initial mode based on localStorage or system preference
window.addEventListener('DOMContentLoaded', () => {
const savedMode = localStorage.getItem('mode');
if (savedMode === 'light') {
document.body.classList.add('light-mode');
modeToggleBtn.innerHTML = '<i class="fas fa-moon"></i>';
} else if (savedMode === 'dark') {
document.body.classList.remove('light-mode');
modeToggleBtn.innerHTML = '<i class="fas fa-sun"></i>';
} else {
// Default: check system preference
if (window.matchMedia('(prefers-color-scheme: light)').matches) {
document.body.classList.add('light-mode');
modeToggleBtn.innerHTML = '<i class="fas fa-moon"></i>';
} else {
document.body.classList.remove('light-mode');
modeToggleBtn.innerHTML = '<i class="fas fa-sun"></i>';
}
}
});
modeToggleBtn.addEventListener('click', () => {
document.body.classList.toggle('light-mode');
if (document.body.classList.contains('light-mode')) {
modeToggleBtn.innerHTML = '<i class="fas fa-moon"></i>';
localStorage.setItem('mode', 'light');
} else {
modeToggleBtn.innerHTML = '<i class="fas fa-sun"></i>';
localStorage.setItem('mode', 'dark');
}
});
// Copy-to-clipboard for checksum
const copyBtn = document.getElementById('copy-btn');
const checksumCode = document.getElementById('checksum-code');
copyBtn.addEventListener('click', () => {
navigator.clipboard.writeText(checksumCode.textContent).then(() => {
copyBtn.innerHTML = '<i class="fas fa-check"></i>';
setTimeout(() => {
copyBtn.innerHTML = '<i class="far fa-copy"></i>';
}, 2000);
});
});
// Scroll-to-top functionality
const scrollTopBtn = document.getElementById('scroll-top');
scrollTopBtn.addEventListener('click', () => {
window.scrollTo({ top: 0, behavior: 'smooth' });
});
window.addEventListener('scroll', () => {
scrollTopBtn.style.display = window.scrollY > 300 ? 'flex' : 'none';
});
// Source Code Modal functionality
const viewSourceBtn = document.getElementById('view-source-btn');
const sourceModal = document.getElementById('sourceModal');
const closeButton = document.querySelector('.close-button');
viewSourceBtn.addEventListener('click', (e) => {
e.preventDefault();
sourceModal.style.display = 'block';
});
closeButton.addEventListener('click', () => {
sourceModal.style.display = 'none';
});
window.addEventListener('click', (e) => {
if (e.target === sourceModal) {
sourceModal.style.display = 'none';
}
});
</script>
</body>
</html>