| Sean McCullough | 618bfb2 | 2025-06-25 20:52:30 +0000 | [diff] [blame] | 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8" /> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | <title>Sketch Web Components - Demo Index</title> |
| 7 | <link rel="stylesheet" href="demo.css" /> |
| 8 | <style> |
| 9 | body { |
| 10 | font-family: |
| 11 | -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 12 | max-width: 800px; |
| 13 | margin: 40px auto; |
| 14 | padding: 20px; |
| 15 | line-height: 1.6; |
| 16 | } |
| 17 | |
| 18 | h1 { |
| 19 | color: #24292f; |
| 20 | border-bottom: 1px solid #d1d9e0; |
| 21 | padding-bottom: 10px; |
| 22 | } |
| 23 | |
| 24 | .demo-list { |
| 25 | list-style: none; |
| 26 | padding: 0; |
| 27 | } |
| 28 | |
| 29 | .demo-list li { |
| 30 | margin: 15px 0; |
| 31 | padding: 15px; |
| 32 | border: 1px solid #d1d9e0; |
| 33 | border-radius: 6px; |
| 34 | background: #f6f8fa; |
| 35 | transition: background-color 0.2s; |
| 36 | } |
| 37 | |
| 38 | .demo-list li:hover { |
| 39 | background: #ffffff; |
| 40 | } |
| 41 | |
| 42 | .demo-list a { |
| 43 | text-decoration: none; |
| 44 | color: #0969da; |
| 45 | display: block; |
| 46 | } |
| 47 | |
| 48 | .demo-list a:hover { |
| 49 | text-decoration: underline; |
| 50 | } |
| 51 | |
| 52 | .demo-list strong { |
| 53 | font-size: 16px; |
| 54 | display: block; |
| 55 | margin-bottom: 5px; |
| 56 | } |
| 57 | |
| 58 | .stats { |
| 59 | background: #fff8dc; |
| 60 | padding: 15px; |
| 61 | border-radius: 6px; |
| 62 | margin: 20px 0; |
| 63 | border-left: 4px solid #f9c23c; |
| 64 | } |
| 65 | |
| 66 | .runner-link { |
| 67 | display: inline-block; |
| 68 | padding: 10px 20px; |
| 69 | background: #0969da; |
| 70 | color: white; |
| 71 | text-decoration: none; |
| 72 | border-radius: 6px; |
| 73 | margin-top: 20px; |
| 74 | } |
| 75 | |
| 76 | .runner-link:hover { |
| 77 | background: #0860ca; |
| 78 | } |
| 79 | </style> |
| 80 | </head> |
| 81 | <body> |
| 82 | <h1>Sketch Web Components Demo Index</h1> |
| 83 | |
| 84 | <div class="stats"> |
| 85 | <strong>Auto-generated index</strong><br /> |
| 86 | Found 3 demo components • Last updated: 6/25/2025, 8:50:21 PM |
| 87 | </div> |
| 88 | |
| 89 | <p> |
| 90 | This page provides an overview of all available component demos. Click on |
| 91 | any component below to view its interactive demo. |
| 92 | </p> |
| 93 | |
| 94 | <a href="demo-runner.html" class="runner-link">🚀 Launch Demo Runner</a> |
| 95 | |
| 96 | <h2>Available Component Demos</h2> |
| 97 | |
| 98 | <ul class="demo-list"> |
| 99 | <li> |
| 100 | <a href="demo-runner.html#sketch-chat-input"> |
| 101 | <strong>Chat Input Demo</strong> - Interactive chat input component |
| 102 | with send functionality |
| 103 | </a> |
| 104 | </li> |
| 105 | <li> |
| 106 | <a href="demo-runner.html#sketch-container-status"> |
| 107 | <strong>Container Status Demo</strong> - Display container status |
| 108 | information with usage statistics |
| 109 | </a> |
| 110 | </li> |
| 111 | <li> |
| 112 | <a href="demo-runner.html#sketch-tool-calls"> |
| 113 | <strong>Tool Calls Demo</strong> - Interactive tool call display with |
| 114 | various tool types |
| 115 | </a> |
| 116 | </li> |
| 117 | </ul> |
| 118 | |
| 119 | <hr style="margin: 40px 0; border: none; border-top: 1px solid #d1d9e0" /> |
| 120 | |
| 121 | <p> |
| 122 | <em |
| 123 | >This index is automatically generated from available |
| 124 | <code>*.demo.ts</code> files.</em |
| 125 | ><br /> |
| 126 | To add a new demo, create a <code>component-name.demo.ts</code> file in |
| 127 | this directory. |
| 128 | </p> |
| 129 | </body> |
| 130 | </html> |