Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
export default function GlitchTextDemo() { const text = "SYSTEM ONLINE" return ( <div className="flex w-full max-w-lg justify-center overflow-hidden"> <style>{` .glitch-demo { position: relative; color: #fff; font-size: clamp(2rem, 10vw, 6rem); font-weight: 900; white-space: nowrap; user-select: none; cursor: pointer; margin: 0 auto; } .glitch-demo::before, .glitch-demo::after { content: attr(data-text); position: absolute; top: 0; background-color: #120F17; overflow: hidden; clip-path: inset(0 0 0 0); } .glitch-demo::after { left: 10px; color: #fff; text-shadow: -5px 0 red; animation: glitch-a 1.5s infinite linear alternate-reverse; } .glitch-demo::before { left: -10px; color: #fff; text-shadow: 5px 0 cyan; animation: glitch-b 1s infinite linear alternate-reverse; } @keyframes glitch-a { 0% { clip-path: inset(20% 0 50% 0); } 25% { clip-path: inset(40% 0 20% 0); } 50% { clip-path: inset(20% 0 50% 0); } 75% { clip-path: inset(40% 0 20% 0); } 100% { clip-path: inset(30% 0 40% 0); } } @keyframes glitch-b { 0% { clip-path: inset(10% 0 60% 0); } 25% { clip-path: inset(30% 0 40% 0); } 50% { clip-path: inset(10% 0 60% 0); } 75% { clip-path: inset(30% 0 40% 0); } 100% { clip-path: inset(15% 0 55% 0); } } `}</style> <div className="glitch-demo" data-text={text}> {text} </div> </div> )}