|
All checks were successful
sync-to-github / sync (push) Successful in 6s
Backend endpoint already deployed (nxtgauge-backend-rust apps/users/src/handlers/waitlist.rs, routed through the gateway). - ingress.yaml: route /api on nxtgauge.com and www.nxtgauge.com to nxtgauge-rust-gateway:9100, same 'more specific paths first' pattern nxtgauge-frontend-solid's ingress already uses - the coming-soon page is a static nginx site with no backend of its own. - index.html: handleSubmit now actually awaits the fetch instead of unconditionally showing success after a commented-out example call. Disables the submit button while in flight, added a form-error state for a failed request (was previously just documented, not wired). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| index.html | ||
| nginx.conf | ||
| README.md | ||
Nxtgauge — Coming Soon Page
Pre-launch page for nxtgauge.com.
Folder structure
nxtgauge-coming-soon/
├── index.html ← the page
├── nginx.conf ← nginx config for nxtgauge.com
├── assets/
│ ├── nxtgauge-logo.png ← Nxtgauge logo (white-filtered via CSS)
│ └── traceworks-trademark-white.svg ← Traceworks logo (footer)
└── README.md
Deploy with nginx (on your K3s server)
-
Copy the folder contents to the server:
scp -r nxtgauge-coming-soon/ user@your-server:/var/www/nxtgauge-coming-soon/ -
In your nginx config, point
nxtgauge.comto this folder:root /var/www/nxtgauge-coming-soon; -
Or use the included
nginx.confdirectly.
Deploy with Docker (static nginx)
FROM nginx:alpine
COPY . /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
docker build -t nxtgauge-coming-soon .
docker run -p 80:80 nxtgauge-coming-soon
Deploy via Flux / K3s (gitops)
Add this repo to your nxtgauge-gitops Kustomize setup and create a
Deployment + Service + Ingress pointing nxtgauge.com at the nginx container.
Waitlist email hook
The "Notify Me" form currently logs to console. To capture emails, wire it to
your backend by uncommenting the fetch block in index.html:
fetch('/api/waitlist', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ email })
});
Or point it to an external service (Brevo, Mailchimp, Resend, etc.).