Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/www/registry/elevenlabs-ui/examples/orb-demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useState } from "react"
import { Button } from "@/registry/elevenlabs-ui/ui/button"
import { AgentState, Orb } from "@/registry/elevenlabs-ui/ui/orb"

let ORBS: [string, string][] = [
const ORBS: [string, string][] = [
["#CADCFC", "#A0B9D1"],
["#F6E7D8", "#E0CFC2"],
["#E5E7EB", "#9CA3AF"],
Expand All @@ -14,7 +14,7 @@ let ORBS: [string, string][] = [
export default function OrbDemo({ small = false }: { small?: boolean }) {
const [agent, setAgent] = useState<AgentState>(null)

ORBS = small ? [ORBS[0]] : ORBS
const orbs = small ? [ORBS[0]] : ORBS

return (
<div className="bg-card w-full rounded-lg border p-6">
Expand All @@ -27,7 +27,7 @@ export default function OrbDemo({ small = false }: { small?: boolean }) {

<div className="space-y-4">
<div className="flex justify-center gap-8">
{ORBS.map((colors, index) => (
{orbs.map((colors, index) => (
<div
key={index}
className={`relative ${index === 1 ? "block md:block" : "hidden md:block"}`}
Expand Down