mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-14 05:05:15 +00:00
feat: add contributors page to website (#928)
* Initial plan * feat: add contributors page to website Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> * feat: add footer with contributors link and fix emoji-only display - Add custom Starlight Footer component with 'Made with ❤️ by our amazing contributors' linking to /contributors/ - Filter out contribution types without emoji mappings in the contributor data generation so only emojis (🎭🎁🧭⌨️🧰) are shown on the contributors page, not text labels like 'code' or 'doc' Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat: use all-contributors HTML output for contributors page - Restyle all-contributors generated table as a responsive card grid using CSS grid on tbody with card-styled td cells - Remove old custom JS search/filter UI and contributors.ts script - Remove generateContributorsData from data pipeline (no longer needed) - Keep all-contributors markers for bot regeneration - Include updated contributor data from .all-contributorsrc Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix: CSS fixes for contributors page Starlight compatibility - Override Starlight table width/overflow to prevent clipping - Force td width: 100% to counteract HTML width="14.28%" attribute - Set emoji links to display: inline to prevent vertical stacking - Improve border visibility with lighter gray color Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com> Co-authored-by: Aaron Powell <me@aaron-powell.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
30
website/src/components/Footer.astro
Normal file
30
website/src/components/Footer.astro
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
import type { Props } from '@astrojs/starlight/props';
|
||||
import Default from '@astrojs/starlight/components/Footer.astro';
|
||||
---
|
||||
|
||||
<Default {...Astro.props}><slot /></Default>
|
||||
|
||||
<div class="made-by">
|
||||
<p>Made with ❤️ by our amazing <a href="/contributors/">contributors</a></p>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.made-by {
|
||||
text-align: center;
|
||||
padding: 1rem 0 1.5rem;
|
||||
font-size: var(--sl-text-xs);
|
||||
color: var(--sl-color-gray-3);
|
||||
}
|
||||
|
||||
.made-by a {
|
||||
color: var(--sl-color-gray-3);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.15em;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.made-by a:hover {
|
||||
color: var(--sl-color-accent);
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user