import { Title, Meta } from "@solidjs/meta"; import { HttpStatusCode } from "@solidjs/start"; import { useNavigate } from "@solidjs/router"; import { createEffect, createSignal, For } from "solid-js"; export default function Page_401() { const navigate = useNavigate(); const [glitchText, setGlitchText] = createSignal("401"); createEffect(() => { const glitchChars = "!@#$%^&*()_+-=[]{}|;':\",./<>?~`"; const originalText = "401"; const glitchInterval = setInterval(() => { if (Math.random() > 0.85) { let glitched = ""; for (let i = 0; i < originalText.length; i++) { if (Math.random() > 0.7) { glitched += glitchChars[Math.floor(Math.random() * glitchChars.length)]; } else { glitched += originalText[i]; } } setGlitchText(glitched); setTimeout(() => setGlitchText(originalText), 100); } }, 300); return () => clearInterval(glitchInterval); }); const createParticles = () => { return Array.from({ length: 45 }, (_, i) => ({ id: i, left: `${Math.random() * 100}%`, top: `${Math.random() * 100}%`, animationDelay: `${Math.random() * 3}s`, animationDuration: `${2 + Math.random() * 3}s` })); }; function doubleBack() { window.history.go(-2); } return ( <> 401 Unauthorized | Michael Freno
{/* Animated particle background */}
{(particle) => (
)}
{/* Animated grid background */}
{/* Logo overlay */}
logo
{/* Main content */}
{/* Glitchy 401 */}

{glitchText()}

{/* Error message */}

Access Denied

You lack authentication sufficient for that page.
Please log in or return to a safe location.

{/* Action buttons */}
{/* Floating elements */}
{/* Footer */}

Error Code: 401 • Unauthorized Access

{/* Custom styles */}
); }