Pre-launch page for nxtgauge.com with email waitlist capture, Nxtgauge branding, and Powered by Traceworks footer. Includes nginx.conf for static site deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
62 lines
1.6 KiB
Markdown
62 lines
1.6 KiB
Markdown
# 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)
|
|
|
|
1. Copy the folder contents to the server:
|
|
```bash
|
|
scp -r nxtgauge-coming-soon/ user@your-server:/var/www/nxtgauge-coming-soon/
|
|
```
|
|
|
|
2. In your nginx config, point `nxtgauge.com` to this folder:
|
|
```nginx
|
|
root /var/www/nxtgauge-coming-soon;
|
|
```
|
|
|
|
3. Or use the included `nginx.conf` directly.
|
|
|
|
## Deploy with Docker (static nginx)
|
|
|
|
```dockerfile
|
|
FROM nginx:alpine
|
|
COPY . /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
```
|
|
|
|
```bash
|
|
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`:
|
|
|
|
```js
|
|
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.).
|