MCPcopy
hub / github.com/github/awesome-copilot / renderEmptyStateHtml

Function renderEmptyStateHtml

website/src/scripts/pages/card-render.ts:23–30  ·  view source on GitHub ↗
(title: string, description: string)

Source from the content-addressed store, hash-verified

21}
22
23export function renderEmptyStateHtml(title: string, description: string): string {
24 return `
25 <div class="empty-state">
26 <h3>${escapeHtml(title)}</h3>
27 <p>${escapeHtml(description)}</p>
28 </div>
29 `;
30}
31
32export function renderSharedCardHtml(item: SharedCardRenderItem): string {
33 const role = item.role ?? "listitem";

Callers 7

renderInstructionsHtmlFunction · 0.90
renderAgentsHtmlFunction · 0.90
renderHooksHtmlFunction · 0.90
renderSkillsHtmlFunction · 0.90
renderExtensionsHtmlFunction · 0.90
renderPluginsHtmlFunction · 0.90
renderWorkflowsHtmlFunction · 0.90

Calls 1

escapeHtmlFunction · 0.90

Tested by

no test coverage detected