Commit Graph

5 Commits

Author SHA1 Message Date
Aaron Powell
4cf83b0161 Add contribution CTA to all listing pages (#850)
* Add contribution CTA to all listing/search pages

Add a reusable ContributeCTA component that encourages visitors to
contribute their own resources. The CTA appears at the bottom of every
resource listing page (agents, instructions, skills, hooks, workflows,
plugins, tools) with:

- Contextual text that adapts to the resource type
- 'Contribute yours' primary button linking to CONTRIBUTING.md
- 'Request a resource' outline button linking to new issue creation
- Gradient top bar matching existing card design patterns
- Responsive layout that stacks on mobile

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add Contribute button to page header on all listing pages

Place an outlined Contribute button in each page-header section so it's
immediately visible without scrolling. Uses accent purple border that
fills on hover with a glow effect. Stacks below description on mobile
via a 600px breakpoint.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Add screenshots for contribution CTA PR

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* didn't mean to commit them

* Extract PageHeader component to deduplicate header markup

Address PR review feedback: the header Contribute link (URL, SVG icon,
classes) was duplicated across all 7 listing pages. Extract into a
reusable PageHeader.astro component that accepts title and description
props, with a slot for rich HTML descriptions (used by workflows page).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 16:21:22 +11:00
Bruno Borges
c7c4e49b24 Update website/src/pages/workflows.astro
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-27 17:04:56 -05:00
Bruno Borges
cd65eded2e Link Agentic Workflows headline to gh.io/gh-aw
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-27 15:42:23 -05:00
Aaron Powell
83aed9e974 Extract workflow triggers from 'on' frontmatter field, drop tags
Update parseWorkflowMetadata to extract triggers from the 'on'
property keys (e.g. schedule, issue_comment) instead of a separate
'triggers' field. Remove tags support from workflows since workflows
don't use tags.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 16:23:49 +11:00
Aaron Powell
f5ac976836 Add agentic workflows page to website
Add a new /workflows/ page for browsing agentic workflow definitions
with search, trigger/tag filters, and sorting. Follows the same
patterns as the existing hooks page.

New files:
- website/src/pages/workflows.astro
- website/src/scripts/pages/workflows.ts

Updated files:
- BaseLayout.astro: add Workflows nav link
- index.astro: add Workflows card to homepage
- pages/index.ts: add workflows to counts
- utils.ts: add workflow type to icons, labels, and getResourceType

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-25 16:12:56 +11:00