Files
awesome-copilot/website/pages/samples.html
Aaron Powell f8829be835 feat: Add GitHub Pages website for browsing resources
- Add static website with pages for agents, prompts, instructions, skills, and collections
- Implement client-side fuzzy search across all resources
- Add file viewer modal with copy-to-clipboard and install-to-editor functionality
- Add Tools page for MCP server and future tools
- Add Samples page placeholder for copilot-sdk cookbook migration
- Add metadata JSON generation script (eng/generate-website-data.mjs)
- Add GitHub Actions workflow for automated Pages deployment
- Update package.json with website build scripts
2026-01-28 13:43:41 +11:00

130 lines
5.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Samples - Awesome GitHub Copilot</title>
<meta name="description" content="Code samples and examples for building with GitHub Copilot">
<link rel="stylesheet" href="../css/styles.css">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>📚</text></svg>">
</head>
<body>
<header class="site-header">
<div class="container">
<div class="header-content">
<a href="../index.html" class="logo">
<span class="logo-icon">🤖</span>
<span class="logo-text">Awesome Copilot</span>
</a>
<nav class="main-nav">
<a href="agents.html">Agents</a>
<a href="prompts.html">Prompts</a>
<a href="instructions.html">Instructions</a>
<a href="skills.html">Skills</a>
<a href="collections.html">Collections</a>
<a href="tools.html">Tools</a>
<a href="samples.html" class="active">Samples</a>
</nav>
<a href="https://github.com/github/awesome-copilot" class="github-link" target="_blank" rel="noopener">
<svg viewBox="0 0 16 16" width="24" height="24" fill="currentColor">
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path>
</svg>
</a>
</div>
</div>
</header>
<main>
<div class="page-header">
<div class="container">
<h1>📚 Samples</h1>
<p>Code samples, tutorials, and examples for building with GitHub Copilot</p>
</div>
</div>
<div class="page-content">
<div class="container">
<!-- Migration Notice -->
<div class="placeholder-section" style="margin-bottom: 48px;">
<h3>🚧 Content Migration in Progress</h3>
<p>We're migrating the cookbook content from the <a href="https://github.com/github/copilot-sdk/tree/main/cookbook" target="_blank">Copilot SDK repository</a> to this location.</p>
<p style="margin-top: 12px; font-size: 14px;">In the meantime, you can access the existing samples at the link below.</p>
<div style="margin-top: 20px;">
<a href="https://github.com/github/copilot-sdk/tree/main/cookbook" class="btn btn-primary" target="_blank">
View Cookbook on GitHub
</a>
</div>
</div>
<!-- Placeholder Categories -->
<section>
<h2 style="margin-bottom: 24px; color: var(--color-text-emphasis);">Sample Categories (Coming Soon)</h2>
<div class="cards-grid">
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">🚀</div>
<h3>Getting Started</h3>
<p>Basic examples to help you get started with GitHub Copilot customization.</p>
</div>
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">🔌</div>
<h3>MCP Integration</h3>
<p>Examples of building and using MCP servers with Copilot.</p>
</div>
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">🤖</div>
<h3>Custom Agents</h3>
<p>Step-by-step tutorials for creating powerful custom agents.</p>
</div>
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">📝</div>
<h3>Prompt Engineering</h3>
<p>Best practices and examples for effective prompts.</p>
</div>
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">🏢</div>
<h3>Enterprise Patterns</h3>
<p>Patterns for deploying Copilot customizations at scale.</p>
</div>
<div class="card tool-card" style="opacity: 0.6;">
<div class="card-icon">🔧</div>
<h3>Tooling & Automation</h3>
<p>Scripts and tools for managing your Copilot configuration.</p>
</div>
</div>
</section>
<!-- Contribute Section -->
<section style="margin-top: 60px;">
<div class="placeholder-section">
<h3>Contribute a Sample</h3>
<p>Have a useful example or tutorial? We'd love to include it! Samples help the community learn and adopt best practices.</p>
<div style="margin-top: 20px;">
<a href="https://github.com/github/awesome-copilot/blob/main/CONTRIBUTING.md" class="btn btn-primary" target="_blank">
Contribution Guide
</a>
</div>
</div>
</section>
</div>
</div>
</main>
<footer class="site-footer">
<div class="container">
<p>
<a href="https://github.com/github/awesome-copilot" target="_blank" rel="noopener">GitHub</a> ·
<a href="https://github.com/github/awesome-copilot/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contribute</a> ·
<a href="https://github.com/github/awesome-copilot/blob/main/LICENSE" target="_blank" rel="noopener">MIT License</a>
</p>
</div>
</footer>
<script src="../js/utils.js"></script>
</body>
</html>