Files
pbakaus_impeccable/api/download/bundle/[provider].js
T
Paul Bakaus 1bdb3ea17a Redesign website with interactive demos and improved layout
- Add interactive before/after demos for all skills (UX Writing, Spatial Design, Motion Design, Typography, Interaction Design, Color & Contrast, Responsive Design)
- Implement tabbed demo navigation for skills with multiple examples
- Refactor app.js into modular JS files (skills.js, commands.js, data.js, skill-demos.js, command-demos.js, demo-toggles.js)
- Add new CSS modules (skill-demos.css, workflow.css, problem-section.css, solution-section.css)
- Redesign commands section with sidebar nav matching skills layout
- Replace large download buttons with compact icon buttons
- Fix gray-on-pink color clashing throughout UI
- Remove frontend-design skill (Anthropic's work, not ours)
- Format skill names properly (e.g., 'UX Writing' not 'ux-writing')
- Remove redundant 'Combines Well With' from skills
- Add 'The Problem' and 'The Solution' sections to homepage
- Various CSS fixes for buttons, backgrounds, and spacing
2025-12-06 12:33:00 -08:00

15 lines
421 B
JavaScript

import { handleBundleDownload } from "../../../server/lib/api-handlers.js";
export default {
async fetch(request) {
const url = new URL(request.url);
const pathParts = url.pathname.split('/').filter(Boolean);
// Extract provider from path: /api/download/bundle/[provider]
const provider = pathParts[3]; // after 'api', 'download', 'bundle'
return handleBundleDownload(provider);
},
};