UNPKG

sinsintro-ai-assistant-dh

Version:

A single npm package providing a React-based voice assistant with OpenAI function-calling, purely client-side.

42 lines (38 loc) 884 B
/* AudioVisualizer.css */ .audio-visualizer-container { position: relative; width: 100%; height: 100vh; background: radial-gradient( farthest-side, #182158 0%, #030414 100% ) no-repeat fixed 0 0; margin: 0; overflow: hidden; } .audio-visualizer-canvas { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 400px; background: transparent; } .start-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2vw; border-radius: 9em; padding: 0.5em 1.5em; border: none; background: rgba(255, 255, 255, 0.8); cursor: pointer; transition: background 0.3s ease; } .start-button:hover { background: rgba(255, 255, 255, 1); }