-
Notifications
You must be signed in to change notification settings - Fork 2
feat(website): Awesome GitHub Astro site — complete rebuild #839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fdfd27a
feat(website): Phase 1 — data layer + learn/glossary/cookbook pages
claude 43e5323
feat(website): Phase 2 — search palette, nav + detail page action but…
claude 89833a1
feat(website): Phase 3 — why page, footer nav, mobile hamburger
claude 7b2ba6e
chore(changelog): add Awesome GitHub Astro rebuild entry to unreleased
claude 95a3890
fix(website): address Gemini review — a11y, logic bug, copy UX
claude 114912a
Potential fix for pull request finding
ashleyshaw 1bf6901
fix(website): address Codex review — paths, tree guards, nested anchor
claude d4922cd
feat(website): branch toggle, learn progress tracker, references page
claude 8d5862a
refactor(website): lift awesome-github pages to site root
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
189 changes: 165 additions & 24 deletions
189
website/src/components/AwesomeGithub/AwesomeGithubFooter.astro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,63 +1,204 @@ | ||
| --- | ||
| // Footer component for Awesome GitHub site | ||
| const base = import.meta.env.BASE_URL; | ||
| --- | ||
|
|
||
| <footer class="ag-footer"> | ||
| <div class="ag-footer-container"> | ||
| <div class="ag-footer-mark"> | ||
| <span class="ag-footer-logo">✦</span> | ||
| <div class="ag-footer-brand"> | ||
| <a href={`${base}`} class="ag-footer-logo-link"> | ||
| <span class="ag-footer-logo" aria-hidden="true">✦</span> | ||
| <span class="ag-footer-brand-text"> | ||
| <span>Awesome</span><span class="ag-footer-brand-em">GitHub</span> | ||
| </span> | ||
| </a> | ||
| <p class="ag-footer-tagline">Governance, not opinions.</p> | ||
| </div> | ||
| <p class="ag-footer-copy">Crafted with care in WordPress.</p> | ||
|
|
||
| <nav class="ag-footer-nav" aria-label="Footer navigation"> | ||
| <div class="ag-footer-col"> | ||
| <h3 class="ag-footer-col-title">Explore</h3> | ||
| <ul class="ag-footer-links"> | ||
| <li><a href={`${base}c/agents/`}>Agents</a></li> | ||
| <li><a href={`${base}c/instructions/`}>Instructions</a></li> | ||
| <li><a href={`${base}c/prompts/`}>Prompts</a></li> | ||
| <li><a href={`${base}c/skills/`}>Skills</a></li> | ||
| <li><a href={`${base}c/hooks/`}>Hooks</a></li> | ||
| <li><a href={`${base}c/workflows/`}>Workflows</a></li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <div class="ag-footer-col"> | ||
| <h3 class="ag-footer-col-title">Learn</h3> | ||
| <ul class="ag-footer-links"> | ||
| <li><a href={`${base}learn/`}>Learning Centre</a></li> | ||
| <li><a href={`${base}learn/oriented/`}>Getting Oriented</a></li> | ||
| <li><a href={`${base}learn/governance/`}>Governance</a></li> | ||
| <li><a href={`${base}learn/quality/`}>Quality</a></li> | ||
| <li><a href={`${base}cookbook/`}>Cookbook</a></li> | ||
| <li><a href={`${base}glossary/`}>Glossary</a></li> | ||
| </ul> | ||
| </div> | ||
|
|
||
| <div class="ag-footer-col"> | ||
| <h3 class="ag-footer-col-title">About</h3> | ||
| <ul class="ag-footer-links"> | ||
| <li><a href={`${base}why/`}>Why This Exists</a></li> | ||
| <li><a href={`${base}references/`}>References</a></li> | ||
| <li><a href={`${base}getting-started/`}>Getting Started</a></li> | ||
| <li> | ||
| <a | ||
| href="https://github.com/lightspeedwp/.github" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| >GitHub Repository ↗</a> | ||
| </li> | ||
| <li> | ||
| <a | ||
| href="https://github.com/lightspeedwp/.github/blob/develop/AGENTS.md" | ||
| target="_blank" | ||
| rel="noopener noreferrer" | ||
| >AGENTS.md ↗</a> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| </nav> | ||
| </div> | ||
|
|
||
| <div class="ag-footer-bottom"> | ||
| <p> | ||
| Built by <a href="https://lightspeedwp.agency" target="_blank" rel="noopener noreferrer">LightSpeed WP Agency</a>. | ||
| Open source under the <a href="https://github.com/lightspeedwp/.github/blob/develop/LICENSE" target="_blank" rel="noopener noreferrer">GPL v3 Licence</a>. | ||
| </p> | ||
| </div> | ||
| </footer> | ||
|
|
||
| <style> | ||
| .ag-footer { | ||
| background: var(--c-black); | ||
| color: var(--c-white); | ||
| padding: var(--space-16) var(--gutter); | ||
| text-align: center; | ||
| padding: var(--space-16) var(--gutter) 0; | ||
| } | ||
|
|
||
| .ag-footer-container { | ||
| max-width: var(--container-max); | ||
| margin: 0 auto; | ||
| display: grid; | ||
| grid-template-columns: 1fr 2fr; | ||
| gap: var(--space-16); | ||
| padding-bottom: var(--space-16); | ||
| border-bottom: 1px solid rgba(255, 255, 255, 0.08); | ||
| } | ||
|
|
||
| .ag-footer-brand { | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: var(--space-3); | ||
| } | ||
|
|
||
| .ag-footer-logo-link { | ||
| display: inline-flex; | ||
| align-items: center; | ||
| gap: var(--space-4); | ||
| gap: var(--space-2); | ||
| text-decoration: none; | ||
| color: var(--c-white); | ||
| } | ||
|
|
||
| .ag-footer-logo { | ||
| display: inline-block; | ||
| font-size: 24px; | ||
| margin-bottom: var(--space-4); | ||
| animation: gentle-glow 3s ease-in-out infinite; | ||
| font-size: 20px; | ||
| } | ||
|
|
||
| .ag-footer-brand-text { | ||
| font-size: 16px; | ||
| font-weight: var(--weight-bold); | ||
| font-family: var(--font-display); | ||
| display: flex; | ||
| gap: var(--space-1); | ||
| } | ||
|
|
||
| .ag-footer-brand-em { | ||
| color: var(--c-light-blue); | ||
| } | ||
|
|
||
| .ag-footer-tagline { | ||
| font-size: var(--fs-body-sm); | ||
| color: var(--c-slate-400); | ||
| margin: 0; | ||
| font-style: italic; | ||
| } | ||
|
|
||
| .ag-footer-nav { | ||
| display: grid; | ||
| grid-template-columns: repeat(3, 1fr); | ||
| gap: var(--space-8); | ||
| } | ||
|
|
||
| .ag-footer-col-title { | ||
| font-size: var(--fs-eyebrow); | ||
| font-weight: var(--weight-semibold); | ||
| text-transform: uppercase; | ||
| letter-spacing: var(--tracking-eyebrow); | ||
| color: var(--c-slate-300); | ||
| margin: 0 0 var(--space-4) 0; | ||
| } | ||
|
|
||
| .ag-footer-copy { | ||
| .ag-footer-links { | ||
| list-style: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| display: flex; | ||
| flex-direction: column; | ||
| gap: var(--space-3); | ||
| } | ||
|
|
||
| .ag-footer-links a { | ||
| font-size: var(--fs-body-sm); | ||
| color: var(--c-slate-400); | ||
| font-weight: var(--weight-regular); | ||
| text-decoration: none; | ||
| transition: color var(--dur) var(--ease-out); | ||
| } | ||
|
|
||
| @keyframes gentle-glow { | ||
| 0%, 100% { | ||
| opacity: 0.8; | ||
| } | ||
| 50% { | ||
| opacity: 1; | ||
| .ag-footer-links a:hover { | ||
| color: var(--c-white); | ||
| } | ||
|
|
||
| .ag-footer-bottom { | ||
| max-width: var(--container-max); | ||
| margin: 0 auto; | ||
| padding: var(--space-6) 0; | ||
| } | ||
|
|
||
| .ag-footer-bottom p { | ||
| font-size: var(--fs-body-sm); | ||
| color: var(--c-slate-500); | ||
| margin: 0; | ||
| } | ||
|
|
||
| .ag-footer-bottom a { | ||
| color: var(--c-slate-400); | ||
| text-decoration: none; | ||
| transition: color var(--dur) var(--ease-out); | ||
| } | ||
|
|
||
| .ag-footer-bottom a:hover { | ||
| color: var(--c-white); | ||
| } | ||
|
|
||
| @media (max-width: 900px) { | ||
| .ag-footer-container { | ||
| grid-template-columns: 1fr; | ||
| gap: var(--space-10); | ||
| } | ||
| } | ||
|
|
||
| @media (max-width: 768px) { | ||
| .ag-footer { | ||
| padding: var(--space-10) var(--gutter); | ||
| @media (max-width: 640px) { | ||
| .ag-footer-nav { | ||
| grid-template-columns: repeat(2, 1fr); | ||
| } | ||
| } | ||
|
|
||
| .ag-footer-copy { | ||
| font-size: var(--fs-body-sm); | ||
| @media (max-width: 480px) { | ||
| .ag-footer-nav { | ||
| grid-template-columns: 1fr; | ||
| } | ||
| } | ||
| </style> | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.