Skip to content

Commit 8eb0d9f

Browse files
committed
custom events
1 parent 2d7c1f5 commit 8eb0d9f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/introduction.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,14 @@ Built for simplicity and flexibility, it standardizes how agent state, UI intent
156156
</div>
157157
</div>
158158

159-
<div style={{border: '1px solid #e5e7eb', borderRadius: '8px', overflow: 'hidden', transition: 'all 0.3s ease', cursor: 'pointer'}} onClick={() => window.location.href = '/concepts/events'} onMouseEnter={(e) => { e.currentTarget.style.borderColor = '#3b82f6'; e.currentTarget.style.boxShadow = '0 4px 12px rgba(59, 130, 246, 0.15)'; }} onMouseLeave={(e) => { e.currentTarget.style.borderColor = '#e5e7eb'; e.currentTarget.style.boxShadow = 'none'; }}>
159+
<div style={{border: '1px solid #e5e7eb', borderRadius: '8px', overflow: 'hidden', transition: 'all 0.3s ease', cursor: 'pointer'}} onMouseEnter={(e) => { e.currentTarget.style.borderColor = '#3b82f6'; e.currentTarget.style.boxShadow = '0 4px 12px rgba(59, 130, 246, 0.15)'; e.currentTarget.querySelector('.content').style.maxHeight = '200px'; e.currentTarget.querySelector('.content').style.opacity = '1'; }} onMouseLeave={(e) => { e.currentTarget.style.borderColor = '#e5e7eb'; e.currentTarget.style.boxShadow = 'none'; e.currentTarget.querySelector('.content').style.maxHeight = '0px'; e.currentTarget.querySelector('.content').style.opacity = '0'; }}>
160160
<div style={{padding: '1rem 1.5rem', backgroundColor: '#f9fafb', fontWeight: '600', color: '#374151'}}>
161-
Events
161+
Custom events
162162
</div>
163-
<div style={{padding: '1rem 1.5rem', color: '#6b7280', lineHeight: '1.6'}}>
164-
Learn about AG-UI's event-driven protocol and all available event types.
163+
<div className="content" style={{maxHeight: '0px', opacity: '0', overflow: 'hidden', transition: 'all 0.3s ease', padding: '0 1.5rem', backgroundColor: '#ffffff'}}>
164+
<div style={{padding: '1rem 0', color: '#6b7280', lineHeight: '1.6'}}>
165+
Open-ended data exchange for needs not covered by the protocol.
166+
</div>
165167
</div>
166168
</div>
167169
</div>

0 commit comments

Comments
 (0)