File size: 3,133 Bytes
758010d |
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 |
<!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();
// Add click effect to icons
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> |