Database Structure Cleanup: - Move all SQL files from ./db/ to ./internal/db/ - Update sqlc.yaml to use new paths (preserving schema+setup.sql hack) - Consolidate database-related code in single directory - Remove empty ./db/ directory Injector Migration: - Move injector.go from content package to engine package - Update ContentClient interface to return map instead of slice for GetBulkContent - Update database client implementation to match interface - Remove injector dependency from enhancer (stub implementation) Demo-Site Consolidation: - Move demo-site to test-sites/demo-site for better organization - Update build scripts to use new demo-site location - Maintain all functionality while improving project structure This continues the unified architecture consolidation by moving core content processing logic to the engine and organizing related files properly.
Test Sites Collection
This directory contains a collection of real-world websites for testing insertr CMS functionality across different site types, CSS frameworks, and complexity levels.
Directory Structure
simple/- Simple sites with vanilla CSS and minimal layoutsframework-based/- Sites using CSS frameworks (Bootstrap, Tailwind, etc.)complex/- Complex layouts with advanced interactionstemplates/- Template files for new test sitesscripts/- Automation utilities for downloading and enhancing sitesresults/- Testing results, reports, and documentation
Site Categories
Simple Sites
- dan-eden-portfolio - Clean personal portfolio with minimal styling
- github-pages-simple - Basic GitHub Pages site with standard layout
Framework-Based Sites
- bootstrap-docs - Bootstrap documentation sections
- tailwind-landing - Tailwind CSS marketing pages
Complex Sites
- stripe-product - Enterprise product pages with rich content
- linear-features - Modern SaaS feature pages
Testing Process
- Download - Use scripts to fetch HTML and assets
- Enhance - Add insertr classes to content sections
- Test - Verify functionality across different layouts
- Document - Record results and compatibility notes
Each Site Includes
- Original HTML files
assets/directory with CSS, JS, and imagesREADME.mdwith site-specific testing notesinsertr-config.jsonwith enhancement configuration