Commit Graph

3 Commits

Author SHA1 Message Date
Senior Web Designer
bcb4f1688e ELF-457: add slot 3 rotating tagline above hero sub
Some checks are pending
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Three taglines rotate every 3.5s with a subtle 700ms opacity crossfade:
  1. Inspect any request. Mock any response. (default)
  2. Your HTTP bin, on your machine.
  3. Send. Capture. Mock. No signup.

Implementation notes:
- Client component, default tagline in initial SSR HTML for SEO/no-JS
- ARIA: aria-live=polite on container, aria-hidden on inactive items,
  aria-atomic=true; prefers-reduced-motion suppresses both the timer
  and the fade (via motion-reduce:transition-none + early-return guard)
- No CLS: container has fixed h-7 md:h-8 height; absolute children
  crossfade in place
- Hierarchy: tagline below H1 (mb-6), above hero sub (mb-6 from tagline
  container, mb-10 from sub to CTAs)

Tailwind v4 fixes that were needed to make this visible:
- app/globals.css: switch to @import 'tailwindcss' with explicit
  @source globs (auto-detection misses components when Turbopack
  workspace root is ambiguous)
- app/globals.css: drop redundant  reset;
  Tailwind v4 Preflight handles it, and an unlayered  selector
  beats @layer utilities so it was silently killing mb-*, mx-*, etc.
- app/globals.css: wrap  in @layer base
  so text-white / text-zinc-* utilities can override it
- next.config.ts: pin turbopack.root to project dir so the build
  works regardless of shell cwd (was running into the paperclip
  workspace root during agent sessions)
2026-06-26 19:30:57 +02:00
Chris Anderson
7bbc0ddda3 Rebuild hatch.surf with Next.js
- Recreated old website with Next.js 16 + Tailwind CSS
- Hero section with terminal animation
- Features section (Capture, Inspect, Mock)
- Why section (Compliance, Cost, Speed)
- CTA section
- Header and Footer components
- Dark theme with Inter + JetBrains Mono fonts
- Static export for Docker deployment

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-24 10:36:40 +02:00
Chris Anderson
17eee790c4 Initial commit: hatch.surf web application with Docker deployment
- Next.js 16 app with React 19 and Tailwind CSS 4
- Multi-stage Dockerfile (node:20-alpine build → nginx:alpine runtime)
- docker-compose.yml for container orchestration
- nginx.conf for container-level configuration
- GitHub Actions CI/CD workflow for automated deployment
- .dockerignore and .gitignore configured

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-24 09:55:30 +02:00