Developer Guide: Customizing This Showcase ℹ️
File Structure: Each demo links to files named index1.html, index2.html, etc. (11 files total). Place your actual landing pages with these exact filenames in the same directory as this showcase page.
Replacing Thumbnails: For best results, replace the inline SVG placeholders with optimized images:
- Recommended format: WebP (fallback to JPEG)
- Optimal dimensions: 800×600px at 85% quality
- Add
loading="lazy"for better performance - Example:
<img src="screenshots/demo1.webp" alt="Demo 1 preview" width="800" height="600" loading="lazy">
Changing Link Targets: If your demos are in a subdirectory (e.g., /demos/), update all href attributes. Find-and-replace href="index with href="/demos/index.
Color Customization: Edit CSS variables in the :root selector at the top of the stylesheet. Change --color-primary, --color-secondary, and --color-dark to match your brand.
Analytics Integration: The JavaScript already logs preview clicks to the console. Replace console.log() calls with your analytics provider's tracking code (Google Analytics, Plausible, etc.).