wont-orbit / index.html
Freefall's picture
Add 2 files
6c14e95 verified
raw
history blame
17.9 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cosmic Explorer Dashboard</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
:root {
--primary: #6d28d9;
--secondary: #10b981;
--dark: #1e293b;
--light: #f8fafc;
}
body {
font-family: 'Space Grotesk', sans-serif;
background-color: #0f172a;
color: var(--light);
}
.gradient-bg {
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.card-glass {
background: rgba(30, 41, 59, 0.5);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.7);
}
70% {
box-shadow: 0 0 0 10px rgba(109, 40, 217, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(109, 40, 217, 0);
}
}
.orbit {
position: relative;
width: 200px;
height: 200px;
}
.planet {
position: absolute;
width: 30px;
height: 30px;
border-radius: 50%;
background: var(--secondary);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.moon {
position: absolute;
width: 12px;
height: 12px;
border-radius: 50%;
background: #f8fafc;
animation: orbit 8s linear infinite;
}
@keyframes orbit {
from { transform: rotate(0deg) translateX(60px) rotate(0deg); }
to { transform: rotate(360deg) translateX(60px) rotate(-360deg); }
}
</style>
</head>
<body class="min-h-screen gradient-bg">
<div class="container mx-auto px-4 py-8">
<!-- Header -->
<header class="flex justify-between items-center mb-10">
<div class="flex items-center space-x-3">
<div class="w-12 h-12 rounded-full bg-purple-600 flex items-center justify-center">
<i class="fas fa-rocket text-white text-xl"></i>
</div>
<h1 class="text-2xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-emerald-400">
Cosmic Explorer
</h1>
</div>
<div class="flex items-center space-x-4">
<button class="relative p-2 rounded-full hover:bg-slate-700 transition">
<i class="fas fa-bell text-slate-300"></i>
<span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"></span>
</button>
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-slate-600 flex items-center justify-center">
<i class="fas fa-user-astronaut text-white"></i>
</div>
<span class="font-medium">Explorer</span>
</div>
</div>
</header>
<!-- Main Content -->
<main class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<!-- Left Sidebar -->
<div class="lg:col-span-1 space-y-6">
<!-- Mission Status -->
<div class="card-glass rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-satellite-dish mr-2 text-purple-400"></i>
Mission Status
</h2>
<div class="space-y-4">
<div class="flex items-center justify-between">
<span class="text-slate-300">Fuel Level</span>
<div class="w-24 bg-slate-700 rounded-full h-2">
<div class="bg-emerald-400 h-2 rounded-full" style="width: 85%"></div>
</div>
</div>
<div class="flex items-center justify-between">
<span class="text-slate-300">Oxygen Supply</span>
<div class="w-24 bg-slate-700 rounded-full h-2">
<div class="bg-blue-400 h-2 rounded-full" style="width: 72%"></div>
</div>
</div>
<div class="flex items-center justify-between">
<span class="text-slate-300">Power Output</span>
<div class="w-24 bg-slate-700 rounded-full h-2">
<div class="bg-purple-400 h-2 rounded-full" style="width: 93%"></div>
</div>
</div>
</div>
<button class="mt-6 w-full py-2 bg-purple-600 hover:bg-purple-700 rounded-lg font-medium transition flex items-center justify-center space-x-2">
<i class="fas fa-play"></i>
<span>Launch Sequence</span>
</button>
</div>
<!-- Recent Discoveries -->
<div class="card-glass rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-star mr-2 text-yellow-400"></i>
Recent Discoveries
</h2>
<div class="space-y-3">
<div class="flex items-start space-x-3">
<div class="w-10 h-10 rounded-full bg-slate-700 flex items-center justify-center">
<i class="fas fa-atom text-purple-400"></i>
</div>
<div>
<h3 class="font-medium">Quantum Nebula</h3>
<p class="text-sm text-slate-400">Located in Andromeda sector</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="w-10 h-10 rounded-full bg-slate-700 flex items-center justify-center">
<i class="fas fa-meteor text-orange-400"></i>
</div>
<div>
<h3 class="font-medium">Crystalline Asteroid</h3>
<p class="text-sm text-slate-400">Rich in rare minerals</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="w-10 h-10 rounded-full bg-slate-700 flex items-center justify-center">
<i class="fas fa-water text-blue-400"></i>
</div>
<div>
<h3 class="font-medium">Aqua Planet</h3>
<p class="text-sm text-slate-400">Potential for life</p>
</div>
</div>
</div>
</div>
</div>
<!-- Main Dashboard -->
<div class="lg:col-span-2 space-y-6">
<!-- Orbit Visualization -->
<div class="card-glass rounded-xl p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-lg font-semibold flex items-center">
<i class="fas fa-globe-americas mr-2 text-emerald-400"></i>
Current Orbit
</h2>
<div class="flex space-x-2">
<button class="px-3 py-1 bg-slate-700 rounded-lg text-sm">Zoom In</button>
<button class="px-3 py-1 bg-slate-700 rounded-lg text-sm">Zoom Out</button>
</div>
</div>
<div class="flex flex-col items-center">
<div class="orbit mb-6">
<div class="planet pulse"></div>
<div class="moon"></div>
</div>
<div class="w-full bg-slate-800 rounded-lg p-4">
<div class="flex justify-between text-sm mb-2">
<span>Orbital Velocity</span>
<span class="font-mono">7.8 km/s</span>
</div>
<div class="flex justify-between text-sm mb-2">
<span>Altitude</span>
<span class="font-mono">402 km</span>
</div>
<div class="flex justify-between text-sm">
<span>Inclination</span>
<span class="font-mono">51.6°</span>
</div>
</div>
</div>
</div>
<!-- Telemetry Data -->
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="card-glass rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-temperature-high mr-2 text-red-400"></i>
Thermal Control
</h2>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm mb-1">
<span>External</span>
<span>-120°C</span>
</div>
<div class="w-full bg-slate-800 rounded-full h-2">
<div class="bg-blue-400 h-2 rounded-full" style="width: 15%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Internal</span>
<span>22°C</span>
</div>
<div class="w-full bg-slate-800 rounded-full h-2">
<div class="bg-green-400 h-2 rounded-full" style="width: 65%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Engine</span>
<span>320°C</span>
</div>
<div class="w-full bg-slate-800 rounded-full h-2">
<div class="bg-red-400 h-2 rounded-full" style="width: 80%"></div>
</div>
</div>
</div>
</div>
<div class="card-glass rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-tachometer-alt mr-2 text-purple-400"></i>
Navigation Data
</h2>
<div class="grid grid-cols-2 gap-4">
<div class="bg-slate-800 p-3 rounded-lg">
<div class="text-xs text-slate-400 mb-1">Latitude</div>
<div class="font-mono">28.5° N</div>
</div>
<div class="bg-slate-800 p-3 rounded-lg">
<div class="text-xs text-slate-400 mb-1">Longitude</div>
<div class="font-mono">80.6° W</div>
</div>
<div class="bg-slate-800 p-3 rounded-lg">
<div class="text-xs text-slate-400 mb-1">Speed</div>
<div class="font-mono">7.66 km/s</div>
</div>
<div class="bg-slate-800 p-3 rounded-lg">
<div class="text-xs text-slate-400 mb-1">Altitude</div>
<div class="font-mono">402 km</div>
</div>
</div>
</div>
</div>
<!-- Communication Controls -->
<div class="card-glass rounded-xl p-6">
<h2 class="text-lg font-semibold mb-4 flex items-center">
<i class="fas fa-broadcast-tower mr-2 text-blue-400"></i>
Communication
</h2>
<div class="flex flex-col md:flex-row md:items-center md:justify-between space-y-4 md:space-y-0">
<div class="flex items-center space-x-3">
<div class="relative">
<div class="w-12 h-12 rounded-full bg-blue-900 flex items-center justify-center">
<i class="fas fa-satellite text-blue-300"></i>
</div>
<div class="absolute -bottom-1 -right-1 w-5 h-5 bg-green-500 rounded-full border-2 border-slate-800"></div>
</div>
<div>
<h3 class="font-medium">Signal Strength</h3>
<p class="text-sm text-slate-400">Connected to Deep Space Network</p>
</div>
</div>
<div class="flex space-x-3">
<button class="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-lg flex items-center space-x-2">
<i class="fas fa-microphone"></i>
<span>Transmit</span>
</button>
<button class="px-4 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg flex items-center space-x-2">
<i class="fas fa-headphones"></i>
<span>Receive</span>
</button>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="mt-12 pt-6 border-t border-slate-800 text-center text-slate-500 text-sm">
<p>Cosmic Explorer Dashboard v1.0 • Mission Control: Houston</p>
<p class="mt-1">© 2023 Space Exploration Technologies</p>
</footer>
</div>
<script>
// Simple animation for the dashboard
document.addEventListener('DOMContentLoaded', function() {
// Pulse animation for important elements
const pulseElements = document.querySelectorAll('.pulse');
pulseElements.forEach(el => {
el.addEventListener('mouseenter', () => {
el.style.animation = 'pulse 1s infinite';
});
el.addEventListener('mouseleave', () => {
el.style.animation = 'pulse 2s infinite';
});
});
// Simulate data updates
setInterval(() => {
const randomTemp = Math.floor(Math.random() * 10) + 18;
document.querySelectorAll('.font-mono')[2].textContent = `${randomTemp}.${Math.floor(Math.random() * 10)}° N`;
const randomSpeed = (Math.random() * 0.2 + 7.6).toFixed(2);
document.querySelectorAll('.font-mono')[4].textContent = `${randomSpeed} km/s`;
}, 3000);
// Launch sequence button
const launchBtn = document.querySelector('button:contains("Launch Sequence")');
launchBtn.addEventListener('click', () => {
alert('🚀 Launch sequence initiated! Preparing for takeoff in T-10 seconds...');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Freefall/wont-orbit" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>