diff --git a/apps/nxtgauge-coming-soon/base/configmap-html.yaml b/apps/nxtgauge-coming-soon/base/configmap-html.yaml index de9bd8c..7b38799 100644 --- a/apps/nxtgauge-coming-soon/base/configmap-html.yaml +++ b/apps/nxtgauge-coming-soon/base/configmap-html.yaml @@ -172,6 +172,11 @@ data: font-size: 14px; font-weight: 600; color: #4ade80; animation: fadeIn 0.4s ease; } + .form-error { + display: none; + font-size: 13px; font-weight: 500; color: #f87171; + margin-top: 8px; + } @keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} } /* ── Footer ──────────────────────────────────────────────────── */ @@ -247,6 +252,7 @@ data:

No spam. We'll only email when we launch.

✓ You're on the list! We'll reach out when we go live.

+

Something went wrong. Please try again.

@@ -259,23 +265,31 @@ data: diff --git a/apps/nxtgauge-coming-soon/base/ingress.yaml b/apps/nxtgauge-coming-soon/base/ingress.yaml index a1b2d33..046c436 100644 --- a/apps/nxtgauge-coming-soon/base/ingress.yaml +++ b/apps/nxtgauge-coming-soon/base/ingress.yaml @@ -17,6 +17,17 @@ spec: - host: nxtgauge.com http: paths: + # More specific paths must come first — Traefik matches the + # longest prefix. /api routes to the Rust gateway directly (the + # coming-soon page is a static nginx site with no backend of its + # own — see the "Notify Me" waitlist form's fetch('/api/waitlist')). + - path: /api + pathType: Prefix + backend: + service: + name: nxtgauge-rust-gateway + port: + number: 9100 - path: / pathType: Prefix backend: @@ -27,6 +38,13 @@ spec: - host: www.nxtgauge.com http: paths: + - path: /api + pathType: Prefix + backend: + service: + name: nxtgauge-rust-gateway + port: + number: 9100 - path: / pathType: Prefix backend: diff --git a/coming-soon/index.html b/coming-soon/index.html index 46ad1bd..edef559 100644 --- a/coming-soon/index.html +++ b/coming-soon/index.html @@ -169,6 +169,11 @@ font-size: 14px; font-weight: 600; color: #4ade80; animation: fadeIn 0.4s ease; } + .form-error { + display: none; + font-size: 13px; font-weight: 500; color: #f87171; + margin-top: 8px; + } @keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} } /* ── Footer ──────────────────────────────────────────────────── */ @@ -244,6 +249,7 @@

No spam. We'll only email when we launch.

✓ You're on the list! We'll reach out when we go live.

+

Something went wrong. Please try again.

@@ -256,23 +262,31 @@