No description
Two coupled fixes:
1. NEXT_PUBLIC_WEBDOWN_LIVE wasn't getting inlined into the client
bundle by Next 16 (the literal `t.default.env.NEXT_PUBLIC_WEBDOWN_LIVE`
was left as a runtime reference, evaluating to undefined in the
browser). Result: linkActive was always false, so monitored
domains never reached `mode = "monitored"` and rendered as the
neutral "Live · reachable just now" instead of the green
Monitored variant.
The kill-switch was a pre-launch safety to hide dead web-down.com
links. web-down.com is live now, so the gate is vestigial. Remove
it entirely rather than chase the build-arg plumbing — clean
logic, fewer moving parts.
2. Style the monitored CTA as a clearly-clickable button instead of
an inline text link. Visual treatment: small uppercase pill with
green border + soft success bg, hover-darkens, "View dashboard ↗".
The brand line above ("Monitored by web-down.com") still has the
plain inline link too, so users get both an attribution and an
action.
Result for any domain returning monitored=true from the upstream
check:
[• Monitored by web-down.com] [VIEW DASHBOARD ↗]
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| content/blog | ||
| public | ||
| src | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| Dockerfile | ||
| LOOWII-DOKPLOY.md | ||
| next-env.d.ts | ||
| next.config.ts | ||
| package.json | ||
| pnpm-lock.yaml | ||
| postcss.config.mjs | ||
| SEO_SPRINT.md | ||
| tsconfig.json | ||