From 9e660926954266ff0e3df6fda9d27769cc5ab2af Mon Sep 17 00:00:00 2001
From: Pierre-Olivier Mercier
Date: Thu, 4 Jun 2026 11:43:06 +0900
Subject: [PATCH] Redirect sign-in and register links to a beta landing page
Public registrations on app.happydomain.org are paused. Route the
sign-in, register, and join entry points to a new /beta/ page that
explains the beta program and points users to self-hosting via the
binary or Docker image.
---
config.yml | 4 ++--
content/beta.en.md | 40 ++++++++++++++++++++++++++++++++
content/beta.fr.md | 42 ++++++++++++++++++++++++++++++++++
layouts/partials/cta-join.html | 2 +-
static/_redirects | 6 ++---
5 files changed, 88 insertions(+), 6 deletions(-)
create mode 100644 content/beta.en.md
create mode 100644 content/beta.fr.md
diff --git a/config.yml b/config.yml
index 4a92e15..8b4c264 100644
--- a/config.yml
+++ b/config.yml
@@ -35,7 +35,7 @@ languages:
others_links:
- text: "S'identifier"
- href: "//app.happydomain.org/login"
+ href: "/fr/beta/"
class: "btn btn-link text-dark"
- text: "Essayer en ligne →"
href: "//try.happydomain.org/"
@@ -89,7 +89,7 @@ params:
others_links:
- text: "Sign in"
- href: "//app.happydomain.org/login"
+ href: "/en/beta/"
class: "btn btn-link text-dark"
- text: "Try it online →"
href: "//try.happydomain.org/"
diff --git a/content/beta.en.md b/content/beta.en.md
new file mode 100644
index 0000000..db68dab
--- /dev/null
+++ b/content/beta.en.md
@@ -0,0 +1,40 @@
++++
+title = "Join the beta"
+description = "Public registrations on app.happydomain.org are closed. Join the beta program or self-host happyDomain to get started."
++++
+
+## Online version closed
+
+Public registrations on `app.happydomain.org` are paused while we
+polish the next release. Two ways to use happyDomain right now:
+
+### 1. Join the beta program
+
+Subscribe below and we will send you an invitation once a spot opens up.
+
+
+
+### 2. Self-host happyDomain
+
+happyDomain is open source. You can run it on your own machine in minutes:
+
+- **Binary:** download a [release for your platform](/#downloads).
+- **Docker:** `docker run -p 8081:8081 happydomain/happydomain`.
+
+Source code and documentation live on [git.happydomain.org](https://git.happydomain.org/).
diff --git a/content/beta.fr.md b/content/beta.fr.md
new file mode 100644
index 0000000..40e8634
--- /dev/null
+++ b/content/beta.fr.md
@@ -0,0 +1,42 @@
++++
+title = "Rejoindre la bêta"
+description = "Les inscriptions publiques sur app.happydomain.org sont fermées. Rejoignez le programme bêta ou auto-hébergez happyDomain pour commencer."
++++
+
+## Version en ligne fermée
+
+Les inscriptions publiques sur `app.happydomain.org` sont suspendues
+le temps de finaliser la prochaine version. Deux manières d'utiliser
+happyDomain dès maintenant :
+
+### 1. Rejoindre le programme bêta
+
+Inscrivez-vous ci-dessous, nous vous enverrons une invitation
+dès qu'une place se libère.
+
+
+
+### 2. Auto-héberger happyDomain
+
+happyDomain est libre. Vous pouvez le faire tourner sur votre propre machine en quelques minutes :
+
+- **Binaire :** téléchargez une [version pour votre plateforme](/fr/#downloads).
+- **Docker :** `docker run -p 8081:8081 happydomain/happydomain`.
+
+Le code source et la documentation sont sur [git.happydomain.org](https://git.happydomain.org/).
diff --git a/layouts/partials/cta-join.html b/layouts/partials/cta-join.html
index 209d33a..85cc31a 100644
--- a/layouts/partials/cta-join.html
+++ b/layouts/partials/cta-join.html
@@ -13,7 +13,7 @@