Commit Graph

6 Commits

Author SHA1 Message Date
JasonFraser d22b628945 Bring website/ into the dev/prod workflow: local bring-up + a real test suite
dev.sh now also brings up website/'s own stack (bi.bettersight.io,
bettersight.io, shared backend) via its own docker compose up -d --build,
and force-recreates marketing locally too — its content-hash label never
changes on a plain local `up -d` the way generate-dokploy-compose.sh
makes it change for Dokploy, so local edits to bettersightbox-index.html
were silently not picked up either without this.

website/backend gets a real test suite (17 tests: contact form
validation/success/failure, both calculator endpoints, and build_pdf()
exercised for real since it's pure/offline) — previously completely
untested. prod.sh now gates the ship on both test suites passing, since
one git push now triggers both Dokploy apps' AutoDeploy.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:49:48 -04:00
JasonFraser 363f9ec134 Add node-network visual to bettersight.io's hero
Pure SVG/CSS, no external assets — an ambient, low-opacity connected-node
pattern behind the nav/hero copy (z-index 0 vs. 1), deliberately
content-agnostic since this page fans out to both BettersightBox and the
Assistant rather than depicting either product specifically.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:38:41 -04:00
JasonFraser 1856699460 Group box.bettersight.io's footer Product/Company columns together
footer-inner's justify-content:space-between was spreading the two link
columns across the full footer width instead of keeping them as a
cluster — wraps them in the same .footer-cols pattern bettersight.io's
own footer already uses.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:36:12 -04:00
JasonFraser 9810a68217 Match bettersight.io's header/hero to bi.bettersight.io's exact design
Replaces the separate white sticky header + hamburger-menu mobile nav
with bi.'s own pattern: nav embedded inside the hero section (pill-
shaped, dark, floating), same logo image, nav links simply hidden below
760px rather than collapsed into a menu. CSS rules (.mkt-nav*, .mkt-hero*)
are a direct port from bi.'s assets/css/marketing.css, not a reimplementation,
so the two sites now share one actual design, not just matching tokens.

Also links the Products section's two placeholder links to the real
sites: "See BettersightBox" -> box.bettersight.io, "See the Assistant" ->
bi.bettersight.io.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 17:12:04 -04:00
JasonFraser 30fbff883f Rename website/backend's sender name default to "Bettersight"
It now sends notifications for both bi.bettersight.io and
bettersight.io's contact forms, so "Bettersight Intelligence" (naming
just one of the two products) was no longer accurate as the From name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 16:38:26 -04:00
JasonFraser c35003c2fa Add Resend contact-form wiring, hero image, mobile-nav fix; add website/ (bi.bettersight.io + bettersight.io)
Sightbox marketing page (box.bettersight.io):
- Mobile nav now closes when a menu link is clicked
- Contact form posts to a new backend/billing/contact_lead.py route,
  proxied same-origin through the marketing nginx container to
  backend-billing, which notifies via Resend
- Hero section now uses assets/building.jpg as its background

Reorganize: bettersightbox-index.html + its nginx config + assets move to
website/website-bettersightbox/, colocated with two new sibling sites:
- website/ (root) — bi.bettersight.io (Bettersight Intelligence)
- website/website-bettersight.io/ — bettersight.io (parent company apex
  page), given the same mobile-nav/contact-form treatment as box's page,
  sharing website/backend's existing Resend-based /api/contact endpoint
- website/docker-compose.yml's backend service moved off env_file (never
  survives Dokploy's AutoDeploy re-clone) onto plain environment: vars,
  same fix already proven for backend-billing

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-04 16:06:56 -04:00