#!/usr/bin/env bash
BASE="http://localhost:8011"
OUT="/home/sirdrez/arisingmedia-websites/bigbreath.co/.planning/qa/visual-2026-06-01-post-fix"

echo "=== MARKUP COUNTS ==="

home=$(curl -s "$BASE/")
echo "HOME bb-faq__item: $(echo "$home" | grep -o 'bb-faq__item' | wc -l)"
echo "HOME bb-stat:      $(echo "$home" | grep -o 'bb-stat' | wc -l)"
echo "HOME footprint:    $(echo "$home" | grep -oi 'footprint' | wc -l)"
echo "HOME js-enabled:   $(echo "$home" | grep -o 'js-enabled' | wc -l)"

svc=$(curl -s "$BASE/services")
echo "SERVICES service-row: $(echo "$svc" | grep -oi 'service-row' | wc -l)"

gal=$(curl -s "$BASE/gallery")
echo "GALLERY .webp refs: $(echo "$gal" | grep -o '\.webp' | wc -l)"

about=$(curl -s "$BASE/about")
echo "ABOUT hero img match: $(echo "$about" | grep -oc 'about-hero\|bigjoe-about')"

echo "=== DONE ==="
