mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-12 12:15:12 +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
51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
---
|
|
import BaseLayout from '../layouts/BaseLayout.astro';
|
|
import Modal from '../components/Modal.astro';
|
|
---
|
|
|
|
<BaseLayout title="Prompts" description="Ready-to-use prompt templates for development tasks with GitHub Copilot" activeNav="prompts">
|
|
<main id="main-content">
|
|
<div class="page-header">
|
|
<div class="container">
|
|
<h1>🎯 Prompts</h1>
|
|
<p>Ready-to-use prompt templates for development tasks with GitHub Copilot</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="page-content">
|
|
<div class="container">
|
|
<div class="search-bar">
|
|
<label for="search-input" class="sr-only">Search prompts</label>
|
|
<input type="text" id="search-input" placeholder="Search prompts..." autocomplete="off">
|
|
</div>
|
|
|
|
<div class="filters-bar" id="filters-bar">
|
|
<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 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 prompts...</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<Modal />
|
|
|
|
<script>
|
|
import '../scripts/pages/prompts';
|
|
</script>
|
|
</BaseLayout>
|