mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 18:35:14 +00:00
- Add git-dates.mjs utility to extract file modification dates from git history - Include lastUpdated field in JSON data for all resource types - Display relative time (e.g., '3 days ago') with full date on hover - Add 'Recently Updated' sort option to agents, prompts, instructions, and skills pages - Update deploy-website.yml to use fetch-depth: 0 for full git history CI overhead: ~20-30s additional for full git checkout
62 lines
2.2 KiB
Plaintext
62 lines
2.2 KiB
Plaintext
---
|
|
import BaseLayout from '../layouts/BaseLayout.astro';
|
|
import Modal from '../components/Modal.astro';
|
|
---
|
|
|
|
<BaseLayout title="Agents" description="Specialized agents that enhance GitHub Copilot for specific technologies, workflows, and domains" activeNav="agents">
|
|
<main id="main-content">
|
|
<div class="page-header">
|
|
<div class="container">
|
|
<h1>🤖 Custom Agents</h1>
|
|
<p>Specialized agents that enhance GitHub Copilot for specific technologies, workflows, and domains</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="page-content">
|
|
<div class="container">
|
|
<div class="search-bar">
|
|
<label for="search-input" class="sr-only">Search agents</label>
|
|
<input type="text" id="search-input" placeholder="Search agents..." autocomplete="off">
|
|
</div>
|
|
|
|
<!-- Filters -->
|
|
<div class="filters-bar" id="filters-bar">
|
|
<div class="filter-group">
|
|
<label for="filter-model">Model:</label>
|
|
<select id="filter-model" multiple aria-label="Filter by model"></select>
|
|
</div>
|
|
<div class="filter-group">
|
|
<label for="filter-tool">Tool:</label>
|
|
<select id="filter-tool" multiple aria-label="Filter by tool"></select>
|
|
</div>
|
|
<div class="filter-group">
|
|
<label class="checkbox-label">
|
|
<input type="checkbox" id="filter-handoffs">
|
|
Has Handoffs
|
|
</label>
|
|
</div>
|
|
<div class="filter-group">
|
|
<label for="sort-select">Sort:</label>
|
|
<select id="sort-select" aria-label="Sort by">
|
|
<option value="title">Name (A-Z)</option>
|
|
<option value="lastUpdated">Recently Updated</option>
|
|
</select>
|
|
</div>
|
|
<button id="clear-filters" class="btn btn-secondary btn-small">Clear Filters</button>
|
|
</div>
|
|
|
|
<div class="results-count" id="results-count" aria-live="polite"></div>
|
|
<div class="resource-list" id="resource-list" role="list">
|
|
<div class="loading" aria-live="polite">Loading agents...</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<Modal />
|
|
|
|
<script>
|
|
import '../scripts/pages/agents';
|
|
</script>
|
|
</BaseLayout>
|