diff --git a/apps/website/src/components/landing/DemoModal.tsx b/apps/website/src/components/landing/DemoModal.tsx index c45311cec..ef53861d1 100644 --- a/apps/website/src/components/landing/DemoModal.tsx +++ b/apps/website/src/components/landing/DemoModal.tsx @@ -1,7 +1,6 @@ // apps/website/src/components/landing/DemoModal.tsx 'use client'; import { useEffect, useRef } from 'react'; -import { tokens } from '@threadplane/design-tokens'; import { trackExternalLinkClick } from '../../lib/analytics/client'; type TabKey = 'langgraph' | 'ag-ui'; @@ -62,67 +61,39 @@ export function DemoModal({ open, onClose, tabs, active, onActive }: DemoModalPr aria-modal="true" aria-label="Live demo" onMouseDown={(e) => { if (e.target === e.currentTarget) onClose(); }} - style={{ - position: 'fixed', inset: 0, zIndex: 100, - display: 'flex', alignItems: 'center', justifyContent: 'center', - background: 'rgba(16,18,32,.55)', - animation: 'demoModalBackdrop .16s ease-out', - }} + className="demo-modal" > - -
-
-