first commit
This commit is contained in:
63
public/index.html
Normal file
63
public/index.html
Normal file
@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Minecraft Server Status Checker</title>
|
||||
<script src="https://cdn.jsdelivr.net/npm/tsparticles@3.5.0/tsparticles.bundle.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.9.3/dist/confetti.browser.min.js"></script>
|
||||
<link rel="stylesheet" href="css/style.min.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">
|
||||
<link rel="manifest" href="/favicon/site.webmanifest">
|
||||
</head>
|
||||
|
||||
<body class="bg-gray-900 text-white min-h-screen flex flex-col relative overflow-hidden">
|
||||
<div id="particles-js" class="absolute inset-0 z-0"></div>
|
||||
<header class="relative z-10 bg-gray-800/80 backdrop-blur-md py-6 shadow-md">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<h1 class="text-4xl font-bold tracking-tight text-center animate-slide-in">
|
||||
My-MC Server Status Check
|
||||
</h1>
|
||||
</div>
|
||||
</header>
|
||||
<main class="relative z-10 flex-grow max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 w-full">
|
||||
<div class="bg-gray-800/50 backdrop-blur-md p-8 rounded-2xl shadow-xl max-w-lg mx-auto ring-1 ring-gray-700/50">
|
||||
<form id="serverForm" class="space-y-6">
|
||||
<div class="animate-slide-in" style="animation-delay: 0.1s;">
|
||||
<label for="edition" class="block text-sm font-medium text-gray-300">Server Edition</label>
|
||||
<select id="edition" name="edition"
|
||||
class="mt-2 block w-full bg-gray-700/50 border border-gray-600 rounded-lg shadow-sm focus:ring-blue-500 focus:border-blue-500 text-white transition-all duration-300 hover:bg-gray-600/50 py-2 px-3">
|
||||
<option value="java">Java Edition</option>
|
||||
<option value="bedrock">Bedrock Edition</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="animate-slide-in" style="animation-delay: 0.2s;">
|
||||
<label for="connection" class="block text-sm font-medium text-gray-300">Connection String (host:port)</label>
|
||||
<input type="text" id="connection" name="connection" placeholder="example.com:25565"
|
||||
class="mt-2 block w-full bg-gray-700/50 border border-gray-600 rounded-lg shadow-sm focus:ring-blue-500 focus:border-blue-500 text-white transition-all duration-300 hover:bg-gray-600/50 py-2 px-3"
|
||||
required>
|
||||
</div>
|
||||
<button type="submit"
|
||||
class="w-full bg-blue-600 hover:bg-blue-700 text-white font-semibold py-3 px-4 rounded-lg transition-all duration-300 animate-slide-in shadow-md hover:shadow-lg"
|
||||
style="animation-delay: 0.3s;">
|
||||
Check Status
|
||||
</button>
|
||||
</form>
|
||||
<div id="statusResult" class="mt-8 hidden">
|
||||
<h2 class="text-2xl font-semibold text-blue-400 animate-slide-in">Server Status</h2>
|
||||
<div id="statusContent" class="mt-4 p-6 bg-gray-700/50 rounded-lg text-gray-200 ring-1 ring-gray-600/50"></div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="relative z-10 bg-gray-800/80 backdrop-blur-md py-4 shadow-md">
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<p class="text-gray-400 text-sm">© 2025 Minecraft Server Status Checker</p>
|
||||
</div>
|
||||
</footer>
|
||||
<script src="js/app.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user