Skip to content

✨ feat(dev-tools-help-docs): add package showcase with parallax and cover generation - #116

Merged
vtempest merged 1 commit into
masterfrom
claude/pensive-franklin-c4e057
Oct 6, 2026
Merged

vtempest merged 1 commit into
masterfrom
claude/pensive-franklin-c4e057

Conversation

@vtempest

@vtempest vtempest commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Adds a scrollable package showcase to the homepage with dynamically generated SVG cover images for each package, app, and template.

Changes

  • New script scripts/generate-package-covers.tsx: Generates self-contained SVG cover images for all packages. Each cover includes the package icon, name, category, description, and terminal window with sample commands. Covers are rendered identically everywhere with no external dependencies (no fonts, no network calls).

  • New component src/components/ui/hero-parallax.tsx: Adapted Aceternity's hero parallax component to support any number of products (split evenly across three rows) with custom headers and optional descriptions per card. Cards tilt into place and slide in opposite directions as the section scrolls past.

  • New component src/app/(home)/package-showcase.tsx: Renders the parallax showcase using all packages from packages-data.ts, with category labels and long descriptions shown on hover.

  • Enhanced data model in src/app/(home)/packages-data.ts:

    • Added longDescription field for fuller descriptions shown on hover
    • Added image field pointing to generated cover SVG
    • Added href field for navigation (docs page or GitHub)
    • Added REPO_URL constant and github() helper for consistent linking
    • Updated all package entries with new fields and improved descriptions
  • Generated assets: 24 SVG cover images in public/packages/ (one per package/app/template), generated by the cover script.

  • Homepage integration in src/app/(home)/page.tsx: Imported and integrated the PackageShowcase component into the page layout.

Implementation details

The cover generator creates SVG files with:

  • Dark background with subtle grid pattern and radial glow
  • Category-specific accent colors (brand/purple, teal, ember/orange)
  • Package icon in a rounded box with accent color
  • Responsive text sizing for package names (scales down for longer names)
  • Terminal window showing up to 2 sample commands
  • Proper XML escaping for all text content

The parallax component distributes products evenly across three rows and applies spring-based animations to create the tilting and sliding effect as the user scrolls.

All cover images should be regenerated after editing a package's name, description, icon, or commands by running bun ./scripts/generate-package-covers.tsx.

https://claude.ai/code/session_01TwfZTtEdayHwyG1y3QR2ws

…mepage

Add Aceternity's HeroParallax (motion/react) as a scroll-driven tour of
every app, CLI, library and template, between the hero and the catalog.
Each package now has a longer description, shown on hover, and a
generated SVG cover image, also used as a banner on the package cards.

- components/ui/hero-parallax.tsx: adapted to any product count, a custom
  header and per-card descriptions
- scripts/generate-package-covers.tsx: renders public/packages/*.svg from
  packages-data.ts
- packages-data.ts: longDescription, image and href per package; fix the
  app-store-buttons and SvelteKit template paths, and replace the Prisma
  template that is not in starter-templates/ with the Cloudflare one
- card search also matches the long description

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TwfZTtEdayHwyG1y3QR2ws
@vercel

vercel Bot commented Oct 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cccp-deployment Ready Ready Preview Oct 6, 2026 9:41am UTC
dev-tools-help-docs Building Building Preview Oct 6, 2026 9:41am UTC
test-google-login Building Building Preview Oct 6, 2026 9:41am UTC

@vtempest
vtempest merged commit 8052ed0 into master Oct 6, 2026
19 of 22 checks passed
@vtempest
vtempest deleted the claude/pensive-franklin-c4e057 branch October 6, 2026 09:42

This branch had an error being deployed

1 failed and 2 active deployments
Preview – test-google-login — a5a668ac Deployed Oct 6, 2026 by vercel[bot]
Preview – dev-tools-help-docs — a5a668ac Deployed Oct 6, 2026 by vercel[bot]
Preview – cccp-deployment — a5a668ac Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants