Commit a7a5b4c
Add Astro GitHub Pages site showcasing the extensions (#14)
* Add Astro GitHub Pages site for extensions showcase
Scaffold an Astro site under site/ that showcases the six Copilot canvas
extensions, with per-card copy-to-clipboard install prompts and screenshot
placeholders that fall back to a shared SVG until real images are added.
Deploys via the official withastro/action flow from a root workflow pointed
at the site/ subfolder; base path is set to /copilot-extensions/.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add live canvas screenshots to the showcase cards
Capture each of the six canvas extensions running with real, seeded content
(live Yahoo quotes, Google News headlines, a Wikipedia article, a generated
Spanish course, a random animal, and the code-tutor onboarding) and drop them
into site/public/screenshots/ so the cards render real product shots instead of
the placeholder.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add card lightbox and group/reorder the extensions
Clicking a card now opens a lightbox with a big version of it (large screenshot,
title, description, install prompt + copy, View on GitHub) and prev/next
navigation across all extensions via side arrows, arrow keys, Esc to close, and a
position counter.
Reorder into three groups — Tutors (code-tutor first, then language-tutor),
Live & discover (stock-ticker, news-aggregator, wiki-discover), and Just for fun
(random-animal) — each rendered as its own labeled section.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add dependency-free smoke test for the showcase site + CI
Cover the new interactive site: a build-and-assert smoke test (test/smoke.test.mjs,
npm test) verifies the base path, all six extension cards, group order with
code-tutor first, the embedded lightbox data, the lightbox markup, and that every
card has a real screenshot. Add a site job to the Validate workflow so it runs on
every push and PR. Matches the repo's zero-dependency, self-contained test style.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Improve code-tutor screenshot with a seeded curriculum
Replace the empty onboarding shot with a populated Learn view (five topics,
reading-level slider, progress chips, code-review findings) so the card reflects
what the extension does once a codebase is analyzed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Recapture code-tutor from the top (header + logo, no scroll)
* Add hover zoom on card screenshots; recapture language-tutor from top
Card thumbnails scale to 1.08 on hover/focus with a smooth transition (and a
reduced-motion guard). Recapture the language-tutor shot anchored at the top so
the profile bar and course header aren't clipped.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Make card hover zoom more pronounced (1.12)
* Add sticky topbar with light/dark toggle, GitHub icon, and author byline
Match the other gh-pages sites: a sticky header with a brand, nav, a persisted
light/dark theme switcher (no-flash, data-theme + localStorage), and a GitHub
repo icon. Add a 'by Jon Gallant (jongio)' byline + footer credit. Extend the
smoke test to assert the title, theme toggle, and repo link.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 57e6a9a commit a7a5b4c
22 files changed
Lines changed: 6470 additions & 0 deletions
File tree
- .github/workflows
- site
- public
- screenshots
- src
- components
- layouts
- pages
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments