Build a full-screen 4K (3840Γ2160) console that sits idle until a single click. On click, run a precise 30.0s cyber boot/defense sequence with cinematic motion and layered audio. Hold on the final hero screen with three logos (OECRT HADATHA, MTCIT, Middle East College). No scrolling. No overlapping text.
76c309e verified Download index.html from onlyoneritz/cyber-sentinel-boot-sequence: direct link, hf CLI and curl.
- Browser
- Download file 15.6 kB
-
https://huggingface.co/spaces/onlyoneritz/cyber-sentinel-boot-sequence/resolve/main/index.html
- Command line
-
hf download hf://spaces/onlyoneritz/cyber-sentinel-boot-sequence/index.html
-
curl -L -o index.html https://huggingface.co/spaces/onlyoneritz/cyber-sentinel-boot-sequence/resolve/main/index.html
15.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cyber Sentinel</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap'); | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| letter-spacing: 0.1em; | |
| overflow: hidden; | |
| touch-action: none; | |
| user-select: none; | |
| -webkit-user-select: none; | |
| } | |
| .scanlines { | |
| background: linear-gradient( | |
| rgba(10, 15, 20, 0) 0%, | |
| rgba(10, 15, 20, 0.08) 50%, | |
| rgba(10, 15, 20, 0) 100% | |
| ); | |
| background-size: 100% 2px; | |
| pointer-events: none; | |
| } | |
| .grid-pattern { | |
| background-image: | |
| linear-gradient(rgba(18, 230, 255, 0.03) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(18, 230, 255, 0.03) 1px, transparent 1px); | |
| background-size: 24px 24px; | |
| pointer-events: none; | |
| } | |
| .cursor-pulse { | |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 0.4; } | |
| 50% { opacity: 1; } | |
| } | |
| .text-glow { | |
| text-shadow: 0 0 8px rgba(18, 230, 255, 0.7); | |
| } | |
| .progress-bar { | |
| background: linear-gradient(90deg, rgba(18, 230, 255, 0.1) 0%, rgba(18, 230, 255, 1) 50%, rgba(18, 230, 255, 0.1) 100%); | |
| box-shadow: 0 0 12px rgba(18, 230, 255, 0.5); | |
| } | |
| .hex-grid { | |
| background-image: | |
| radial-gradient(circle, transparent 65%, #0A0F14 100%), | |
| url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2312e6ff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M30 1.04L0 26.04 0 52h60V26L30 1.04zm30 0L30 26.04 60 52V26l30-24.96z'/%3E%3C/g%3E%3C/svg%3E"); | |
| background-size: 60px 52px; | |
| } | |
| .logo-plate { | |
| background-color: rgba(15, 44, 54, 0.8); | |
| padding: 16px; | |
| border-radius: 8px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-[#0A0F14] text-[#E8E8E8] h-screen w-screen flex items-center justify-center relative"> | |
| <!-- Background Elements --> | |
| <div id="vanta-bg" class="absolute inset-0"></div> | |
| <div class="absolute inset-0 grid-pattern"></div> | |
| <div class="absolute inset-0 scanlines"></div> | |
| <!-- Idle State --> | |
| <div id="idle-state" class="z-10 flex flex-col items-center justify-center"> | |
| <div class="relative mb-8"> | |
| <div class="absolute -inset-4 rounded-full border-2 border-[#12E6FF] opacity-0 cursor-pulse"></div> | |
| <button id="initiate-btn" class="px-12 py-4 rounded-full border-2 border-[#12E6FF] bg-[#0E3A46]/30 text-[#12E6FF] text-xl uppercase tracking-widest hover:bg-[#0E3A46]/50 transition-all duration-300"> | |
| PRESS TO INITIATE | |
| </button> | |
| </div> | |
| <p class="text-sm text-[#12E6FF]/50 uppercase tracking-widest">or press SPACE</p> | |
| </div> | |
| <!-- Running State (hidden initially) --> | |
| <div id="running-state" class="z-10 w-full h-full flex flex-col items-center justify-center pointer-events-none opacity-0 absolute inset-0 px-32 py-24"> | |
| <!-- System Init --> | |
| <div id="system-init" class="hidden"> | |
| <div class="font-mono text-[#12E6FF] text-xl mb-8 leading-relaxed"> | |
| <p id="boot-line-1" class="hidden">BOOT SEQUENCE ONLINE</p> | |
| <p id="boot-line-2" class="hidden">INITIALIZING MEC_NETCORE... <span class="text-[#FFB400]">OK</span></p> | |
| <p id="boot-line-3" class="hidden">AUTH: MULTI-FACTOR... <span class="text-[#FFB400]">OK</span></p> | |
| </div> | |
| <div class="w-full h-1 bg-[#0E3A46] rounded-full overflow-hidden"> | |
| <div id="progress-bar" class="h-full progress-bar w-0"></div> | |
| </div> | |
| </div> | |
| <!-- Firewall Grid --> | |
| <div id="firewall-grid" class="hidden w-full h-full absolute inset-0 hex-grid flex items-center justify-center"></div> | |
| <!-- Intrusion Event --> | |
| <div id="intrusion-event" class="hidden absolute inset-0 flex items-center justify-center"> | |
| <div class="text-center"> | |
| <p id="intrusion-text" class="text-[#FF0033] text-3xl font-bold hidden">NEUTRALIZING VECTOR... SECURE</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Hero State (hidden initially) --> | |
| <div id="hero-state" class="z-10 w-full h-full flex flex-col items-center justify-center opacity-0 absolute inset-0"> | |
| <div class="text-center mb-16"> | |
| <h1 id="hero-headline" class="text-[#12E6FF] text-6xl font-bold uppercase tracking-widest mb-6 hidden">HADATHA CENTRE FOR CYBER SECURITY INDUSTRY</h1> | |
| <p id="hero-subline" class="text-3xl uppercase tracking-widest hidden">NOW LIVE AT MIDDLE EAST COLLEGE</p> | |
| </div> | |
| <div class="flex items-center justify-center space-x-24"> | |
| <div id="logo-1" class="logo-plate hidden"> | |
| <img src="https://via.placeholder.com/520x120/0A0F14/12E6FF?text=OECRT+HADATHA" alt="OECRT HADATHA" class="h-[120px]"> | |
| </div> | |
| <div id="logo-2" class="logo-plate hidden"> | |
| <img src="https://via.placeholder.com/520x120/0A0F14/12E6FF?text=MTCIT" alt="MTCIT" class="h-[120px]"> | |
| </div> | |
| <div id="logo-3" class="logo-plate hidden"> | |
| <img src="https://via.placeholder.com/520x120/0A0F14/12E6FF?text=Middle+East+College" alt="Middle East College" class="h-[120px]"> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Initialize Vanta.js background | |
| VANTA.NET({ | |
| el: "#vanta-bg", | |
| color: 0x12e6ff, | |
| backgroundColor: 0xa0f14, | |
| points: 10, | |
| maxDistance: 20, | |
| spacing: 15 | |
| }); | |
| feather.replace(); | |
| // State management | |
| let currentState = 'idle'; | |
| let timeline; | |
| // DOM Elements | |
| const idleState = document.getElementById('idle-state'); | |
| const runningState = document.getElementById('running-state'); | |
| const heroState = document.getElementById('hero-state'); | |
| const initiateBtn = document.getElementById('initiate-btn'); | |
| // System Init Elements | |
| const systemInit = document.getElementById('system-init'); | |
| const bootLine1 = document.getElementById('boot-line-1'); | |
| const bootLine2 = document.getElementById('boot-line-2'); | |
| const bootLine3 = document.getElementById('boot-line-3'); | |
| const progressBar = document.getElementById('progress-bar'); | |
| // Firewall Grid Elements | |
| const firewallGrid = document.getElementById('firewall-grid'); | |
| // Intrusion Elements | |
| const intrusionEvent = document.getElementById('intrusion-event'); | |
| const intrusionText = document.getElementById('intrusion-text'); | |
| // Hero Elements | |
| const heroHeadline = document.getElementById('hero-headline'); | |
| const heroSubline = document.getElementById('hero-subline'); | |
| const logo1 = document.getElementById('logo-1'); | |
| const logo2 = document.getElementById('logo-2'); | |
| const logo3 = document.getElementById('logo-3'); | |
| // Audio elements (would be implemented with Web Audio API in a real project) | |
| // Timeline setup | |
| function startSequence() { | |
| if (currentState !== 'idle') return; | |
| currentState = 'running'; | |
| // Hide idle state | |
| gsap.to(idleState, { opacity: 0, duration: 0.5 }); | |
| // Show running state | |
| gsap.to(runningState, { opacity: 1, duration: 0.5 }); | |
| // Create master timeline | |
| timeline = gsap.timeline({ | |
| onComplete: showHeroState | |
| }); | |
| // 0.00β0.80 β Wake | |
| timeline.fromTo(document.body, | |
| { backgroundColor: "#000000" }, | |
| { backgroundColor: "#0A0F14", duration: 0.8, ease: "power2.inOut" }, | |
| 0 | |
| ); | |
| // 0.80β3.00 β System Init | |
| timeline.add(() => { | |
| systemInit.classList.remove('hidden'); | |
| gsap.fromTo(bootLine1, | |
| { opacity: 0 }, | |
| { opacity: 1, duration: 0.3, onComplete: () => { | |
| bootLine1.classList.remove('hidden'); | |
| }} | |
| ); | |
| }, 0.8); | |
| timeline.add(() => { | |
| gsap.fromTo(bootLine2, | |
| { opacity: 0 }, | |
| { opacity: 1, duration: 0.3, onComplete: () => { | |
| bootLine2.classList.remove('hidden'); | |
| }} | |
| ); | |
| }, 1.2); | |
| timeline.add(() => { | |
| gsap.fromTo(bootLine3, | |
| { opacity: 0 }, | |
| { opacity: 1, duration: 0.3, onComplete: () => { | |
| bootLine3.classList.remove('hidden'); | |
| }} | |
| ); | |
| }, 1.6); | |
| timeline.to(progressBar, { | |
| width: "100%", | |
| duration: 1.4, | |
| ease: "power2.inOut" | |
| }, 1.8); | |
| // 3.00β6.50 β Firewall Grid | |
| timeline.add(() => { | |
| systemInit.classList.add('hidden'); | |
| firewallGrid.classList.remove('hidden'); | |
| gsap.fromTo(firewallGrid, | |
| { opacity: 0 }, | |
| { opacity: 1, duration: 0.5 } | |
| ); | |
| }, 3.0); | |
| // 6.50β10.00 β Data Streams | |
| // (Would be implemented with animated SVG paths in a real project) | |
| // 10.00β13.80 β Network Map | |
| // (Would be implemented with Three.js in a real project) | |
| // 13.80β17.80 β Intrusion Event | |
| timeline.add(() => { | |
| firewallGrid.classList.add('hidden'); | |
| intrusionEvent.classList.remove('hidden'); | |
| intrusionText.classList.remove('hidden'); | |
| gsap.fromTo(intrusionText, | |
| { opacity: 0, scale: 1.2 }, | |
| { opacity: 1, scale: 1, duration: 0.3 } | |
| ); | |
| }, 13.8); | |
| // 17.80β21.50 β Countermeasure | |
| timeline.add(() => { | |
| gsap.to(intrusionText, { | |
| opacity: 0, | |
| duration: 0.3, | |
| onComplete: () => { | |
| intrusionText.textContent = "NEUTRALIZING VECTOR... SECURE"; | |
| gsap.to(intrusionText, { opacity: 1, duration: 0.3 }); | |
| } | |
| }); | |
| }, 17.8); | |
| // 21.50β24.50 β Quantum Lock | |
| timeline.add(() => { | |
| intrusionEvent.classList.add('hidden'); | |
| // Would implement quantum lock visualization here | |
| }, 21.5); | |
| // 24.50β27.50 β Sentinel Online | |
| timeline.add(() => { | |
| runningState.classList.add('opacity-0'); | |
| }, 24.5); | |
| // Total duration: 30.0s | |
| } | |
| function showHeroState() { | |
| currentState = 'hero'; | |
| // Show hero state | |
| gsap.to(heroState, { opacity: 1, duration: 0.5 }); | |
| // Animate hero elements | |
| gsap.fromTo(heroHeadline, | |
| { opacity: 0, y: 20 }, | |
| { opacity: 1, y: 0, duration: 0.7, onComplete: () => { | |
| heroHeadline.classList.remove('hidden'); | |
| }} | |
| ); | |
| gsap.fromTo(heroSubline, | |
| { opacity: 0, y: 20 }, | |
| { opacity: 1, y: 0, duration: 0.25, delay: 0.3, onComplete: () => { | |
| heroSubline.classList.remove('hidden'); | |
| }} | |
| ); | |
| // Logo animations | |
| gsap.fromTo(logo1, | |
| { opacity: 0, scale: 0.95 }, | |
| { opacity: 1, scale: 1, duration: 0.3, delay: 0.6, onComplete: () => { | |
| logo1.classList.remove('hidden'); | |
| }} | |
| ); | |
| gsap.fromTo(logo2, | |
| { opacity: 0, scale: 0.95 }, | |
| { opacity: 1, scale: 1, duration: 0.3, delay: 0.72, onComplete: () => { | |
| logo2.classList.remove('hidden'); | |
| }} | |
| ); | |
| gsap.fromTo(logo3, | |
| { opacity: 0, scale: 0.95 }, | |
| { opacity: 1, scale: 1, duration: 0.3, delay: 0.84, onComplete: () => { | |
| logo3.classList.remove('hidden'); | |
| }} | |
| ); | |
| } | |
| function resetSequence() { | |
| if (currentState === 'idle') return; | |
| // Kill any running animations | |
| if (timeline) timeline.kill(); | |
| // Reset states | |
| currentState = 'idle'; | |
| // Hide all states | |
| gsap.to([runningState, heroState], { opacity: 0, duration: 0.5 }); | |
| // Show idle state | |
| gsap.to(idleState, { opacity: 1, duration: 0.5 }); | |
| // Reset all elements | |
| systemInit.classList.add('hidden'); | |
| firewallGrid.classList.add('hidden'); | |
| intrusionEvent.classList.add('hidden'); | |
| intrusionText.classList.add('hidden'); | |
| heroHeadline.classList.add('hidden'); | |
| heroSubline.classList.add('hidden'); | |
| logo1.classList.add('hidden'); | |
| logo2.classList.add('hidden'); | |
| logo3.classList.add('hidden'); | |
| // Reset text | |
| bootLine1.classList.add('hidden'); | |
| bootLine2.classList.add('hidden'); | |
| bootLine3.classList.add('hidden'); | |
| intrusionText.textContent = "NEUTRALIZING VECTOR... SECURE"; | |
| // Reset progress bar | |
| gsap.set(progressBar, { width: 0 }); | |
| } | |
| // Event listeners | |
| initiateBtn.addEventListener('click', startSequence); | |
| document.addEventListener('keydown', (e) => { | |
| if (e.code === 'Space' && currentState === 'idle') { | |
| startSequence(); | |
| } else if (e.key.toUpperCase() === 'R') { | |
| resetSequence(); | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> | |