Template Site: Astro pages & components#494
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
- Initialize Astro project with @astrojs/sitemap and TypeScript - Configure site URL for https://templates.comfy.org - Create content collection schema for template data - Add 5 mock template JSON files for development - Build pages: - Homepage with redirect to /templates/ - Template listing page with grid of cards - Template detail pages with full content - Create components: - SEOHead: Meta tags, Open Graph, structured data - TemplateCard: Card component for listings - TryOnCloudButton: CTA linking to Comfy Cloud - Add BaseLayout with header, footer, and global styles - Include FAQ and SoftwareApplication structured data
- Add hero image from thumbnails on detail page - Show workflow preview graph - Use readable prose layout with proper typography - Add step numbers to how-to instructions - Collapsible FAQ using <details> element - Gallery for multiple example outputs - Subtle metadata for models/tags (not CTA-style) - Dark mode support - Add thumbnail images to listing cards - Add site:* convenience scripts to root package.json Amp-Thread-ID: https://ampcode.com/threads/T-019bdd79-0dc5-730c-904f-2c8489849c4d Co-authored-by: Amp <amp@ampcode.com>
- Integrate Tailwind CSS 4 for proper styling - Redesign BaseLayout with sticky header and footer - Redesign TemplateCard with thumbnail images and hover effects - Redesign template detail page with hero image, styled CTA, numbered steps - Fix generate-ai.ts to preserve thumbnails from sync script - Add gradient CTA sections and dark footer
- Create ThumbnailDisplay component with variant support: - compareSlider: Before/after comparison with draggable handle - hoverDissolve: Fades to 2nd image on hover - zoomHover: Enhanced zoom effect - Animated webp detection with play overlay - Update schema to include mediaSubtype and thumbnailVariant - Pass variant props through TemplateCard and detail page - Dynamic figcaption based on variant type
- Create site/AGENTS.md with full context for future agents: - Quick start commands - Architecture overview - Data flow diagrams - Thumbnail variant documentation - Critical tips and hard-learned lessons - Common tasks and debugging guides - Add site/docs/ folder with: - PRD.md — Product requirements, success metrics - TDD.md — Technical design, SEO strategy - ROADMAP.md — Future improvements and milestones - Include Upwork designer posting materials in docs/ Amp-Thread-ID: https://ampcode.com/threads/T-019bdd79-0dc5-730c-904f-2c8489849c4d
…nside BaseLayout - Add is:inline directive to JSON-LD structured data scripts to silence Astro hints - Move FAQ structured data script inside BaseLayout to ensure it's within the HTML tag Amp-Thread-ID: https://ampcode.com/threads/T-019c25b2-80ce-729c-99de-b119b6dcea0c
145844d to
7dbe9c1
Compare
Summary
Base Astro project with pages, components, and layouts for the template site.
Added
/templates/listing page/templates/[slug]detail pageTemplate Site PRs (merge in order)
Integration tested locally on
template-site/integrationbranch.