|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Glow Switch Control Panel</title> |
|
|
<link rel="stylesheet" href="style.css"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
</head> |
|
|
<body class="bg-gray-900 flex items-center justify-center min-h-screen"> |
|
|
<div class="control-panel"> |
|
|
<ul class="grid grid-cols-3 gap-4 p-6"> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="phone"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="airplane"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" checked class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="moon"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" checked class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="wifi"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="volume-2"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
<li> |
|
|
<label class="cursor-pointer"> |
|
|
<input type="checkbox" class="absolute opacity-0"> |
|
|
<div class="icon flex items-center justify-center"> |
|
|
<i data-feather="map-pin"></i> |
|
|
</div> |
|
|
</label> |
|
|
</li> |
|
|
</ul> |
|
|
</div> |
|
|
|
|
|
<script> |
|
|
feather.replace(); |
|
|
|
|
|
|
|
|
document.querySelectorAll('.icon').forEach(icon => { |
|
|
icon.addEventListener('click', function() { |
|
|
this.classList.add('animate-ping'); |
|
|
setTimeout(() => { |
|
|
this.classList.remove('animate-ping'); |
|
|
}, 300); |
|
|
}); |
|
|
}); |
|
|
</script> |
|
|
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script> |
|
|
</body> |
|
|
</html> |