feat: Website auf geschlossene Beta umstellen
Die Download-Buttons sind weg, die Seite wirbt für die geschlossene Beta. Jeder CTA öffnet eine vorbereitete Mail an kontakt@programmschmiede.de, mit Plattform im Betreff und im Text; die direkten Build-URLs stehen nicht mehr öffentlich. - drei Beta-Schritte über dem Download-Bereich (CSS + Template) - Hero, Nav und Download-Karten auf „Beta-Zugang anfragen“ umgestellt - Hinweis auf Android-APK auf Anfrage, Signatur- und Backup-Warnung - docs/beta-onboarding.md beschreibt Ablauf und Antwort-Mail - tools/publish_beta_build.sh lädt Builds nach /rinkplanner/beta/<version>/ und gibt die Links bzw. eine Mailvorlage aus
This commit is contained in:
parent
e2ded06cab
commit
cde2ec4012
5 changed files with 547 additions and 25 deletions
157
docs/beta-onboarding.md
Normal file
157
docs/beta-onboarding.md
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
# Beta-Onboarding (geschlossene Beta)
|
||||
|
||||
Ablauf für Test-Builds: Besucher fragen per Mail an, du antwortest mit einem
|
||||
direkten Link, der Tester installiert und gibt Feedback. Kein Formular, kein
|
||||
Login, keine Datenbank.
|
||||
|
||||
## 1. Website
|
||||
|
||||
`rinkplanner.programmschmiede.de` zeigt keine Download-Buttons mehr, sondern
|
||||
**„Beta-Zugang anfragen“**. Der Button öffnet eine vorbereitete Mail an
|
||||
`kontakt@programmschmiede.de` – pro Plattform mit passendem Betreff und
|
||||
Plattform-Zeile im Text. Die direkten Build-URLs stehen nicht auf der Seite.
|
||||
|
||||
## 2. Build veröffentlichen
|
||||
|
||||
Nach dem Bauen:
|
||||
|
||||
```bash
|
||||
./tools/export_macos_installer.sh # build/macos/rinkplanner-setup.dmg
|
||||
./tools/export_windows_installer.sh # build/windows/rinkplanner-setup.exe
|
||||
./tools/export_android.sh debug # build/android/rinkplanner-debug.apk
|
||||
```
|
||||
|
||||
Dann:
|
||||
|
||||
```bash
|
||||
./tools/publish_beta_build.sh # Beta + Update-Kopien hochladen
|
||||
```
|
||||
|
||||
Das Script:
|
||||
|
||||
- liest die Version aus `rinkplanner/project.godot`,
|
||||
- lädt die vorhandenen Builds nach `rinkplanner/beta/<version>/`,
|
||||
- lädt macOS/Windows zusätzlich nach `rinkplanner/download/` (dort zeigt
|
||||
`version.json` hin, damit der In-App-Updater weiter funktioniert),
|
||||
- gibt die Links aus und schreibt sie nach `build/beta-links.txt`.
|
||||
|
||||
Fehlt `build/macos/rinkplanner-setup.dmg`, übernimmt das Script die
|
||||
veröffentlichte DMG **derselben Version** aus `/rinkplanner/download/` und
|
||||
prüft die SHA-256. So ist der macOS-Link auch ohne Mac vollständig. Auf einem
|
||||
Mac baut `--build-macos` das DMG vorher neu:
|
||||
|
||||
```bash
|
||||
./tools/publish_beta_build.sh --beta-only --build-macos
|
||||
```
|
||||
|
||||
Mit `--no-live-macos` wird die Übernahme abgeschaltet; dann wird nur
|
||||
veröffentlicht, was lokal gebaut wurde.
|
||||
|
||||
Der Beta-Ordner ist **deterministisch**:
|
||||
|
||||
```
|
||||
https://programmschmiede.de/rinkplanner/beta/0.4.0/rinkplanner-setup.dmg
|
||||
https://programmschmiede.de/rinkplanner/beta/0.4.0/rinkplanner-setup.exe
|
||||
https://programmschmiede.de/rinkplanner/beta/0.4.0/rinkplanner-debug.apk
|
||||
```
|
||||
|
||||
Kein FTP-Client, kein Suchen nach dem neuesten Zufallsordner. Die Version
|
||||
steht in `project.godot`; bei einem neuen Build die Version erhöhen, dann
|
||||
stimmt der Ordner.
|
||||
|
||||
### Nur Links anzeigen
|
||||
|
||||
```bash
|
||||
./tools/publish_beta_build.sh --no-upload
|
||||
```
|
||||
|
||||
### Nur den Beta-Ordner hochladen
|
||||
|
||||
```bash
|
||||
./tools/publish_beta_build.sh --beta-only
|
||||
```
|
||||
|
||||
Damit bleiben die öffentlichen Update-Dateien unter `/download/` unangetastet.
|
||||
|
||||
## 3. Antwort-Mail
|
||||
|
||||
```bash
|
||||
./tools/publish_beta_build.sh --mail macos
|
||||
```
|
||||
|
||||
Gibt eine komplette Mailvorlage mit Link und Installationshinweisen aus.
|
||||
Analog `--mail windows`, `--mail android` oder `--mail all`.
|
||||
|
||||
Wenn eine Datei lokal fehlt, markiert das Script den Link als
|
||||
„(nicht gebaut)“ und warnt bei `--mail`. Dann keinen toten Link verschicken.
|
||||
|
||||
## 4. Tester-Liste
|
||||
|
||||
Eine einfache Tabelle reicht, keine CRM-Software:
|
||||
|
||||
| Datum | Name | E-Mail | Plattform | Build | Beta-Hinweis zugesagt | Feedback |
|
||||
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
||||
| 2026-11-14 | … | … | macOS | 0.4.0 | ja | … |
|
||||
|
||||
Nach der Beta löschen. Keine Adressen ohne Einwilligung in einen Newsletter
|
||||
übernehmen.
|
||||
|
||||
## 5. Was die Mail zusagt
|
||||
|
||||
- Testversion, keine Gewähr, Küren vorher sichern.
|
||||
- macOS ad-hoc signiert, nicht notarisiert (Rechtsklick → Öffnen).
|
||||
- Windows unsigniert (SmartScreen → „Weitere Informationen“ → „Trotzdem
|
||||
ausführen“).
|
||||
- Android Debug-Signatur (Sideloading erlauben).
|
||||
- Feedback per Mail; optional Einladung in den Kür-Hub.
|
||||
|
||||
## 6. Android-APK installieren (Tester)
|
||||
|
||||
Weder Play Store noch Entwickleroptionen sind nötig. Der Tester lädt die APK
|
||||
und erlaubt einmalig „Unbekannte Apps“ für den Browser bzw. Dateimanager.
|
||||
|
||||
1. Link in Chrome öffnen und die APK herunterladen (ca. 33 MB).
|
||||
2. Download-Benachrichtigung antippen oder Chrome → Downloads → APK.
|
||||
3. Falls Android blockt: „Einstellungen“ im Dialog → „Unbekannte Apps
|
||||
installieren“ → Chrome (oder „Dateien“) erlauben → zurück → Installieren.
|
||||
4. Play Protect: „Weitere Details“ → „Trotzdem installieren“.
|
||||
5. Installieren → Öffnen.
|
||||
|
||||
Auf Samsung (Galaxy Tab S9+): Einstellungen → Apps → Spezieller Zugriff →
|
||||
Unbekannte Apps installieren → Chrome/Dateien → zulassen. Der Dialog beim
|
||||
Öffnen der APK führt meist direkt dorthin.
|
||||
|
||||
Entwickleroptionen und USB-Debugging braucht nur, wer die APK per
|
||||
`adb install` vom Rechner aus installiert. Für den Link im Browser ist das
|
||||
nicht nötig.
|
||||
|
||||
Die APK ist debug-signiert. Updates müssen mit demselben Debug-Keystore
|
||||
gebaut werden, sonst verlangt Android eine Neuinstallation (Datenverlust).
|
||||
Für eine längere Beta ist ein eigener Release-Keystore sinnvoll.
|
||||
|
||||
Der Play Store ist nicht zwingend. „Internal Testing“ wäre der komfortablere,
|
||||
aber aufwändigere Weg: Play-Console-Konto, AAB, Signierung und Richtlinien.
|
||||
|
||||
## 7. Wichtig: Update-Kanal nicht schützen
|
||||
|
||||
`version.json` und `/rinkplanner/download/` bleiben öffentlich. Der
|
||||
In-App-Updater kann keine Zugangsdaten eingeben; Basic Auth auf diesem Pfad
|
||||
würde Updates mit HTTP 401 abbrechen. Der geschützte Teil ist die
|
||||
**Onboarding-Mail**, nicht die Update-URL.
|
||||
|
||||
Der Beta-Ordner `/rinkplanner/beta/` ist nicht verlinkt, aber auch nicht
|
||||
zugangsgeschützt. Wenn ein Link weitergegeben wird: neuen Build mit neuer
|
||||
Version bauen, neuen Ordner veröffentlichen, alten Ordner löschen. Für eine
|
||||
geschlossene Beta mit persönlicher Einladung ist das ausreichend.
|
||||
|
||||
## 8. Aufräumen
|
||||
|
||||
Alte Beta-Ordner nach einigen Releases löschen:
|
||||
|
||||
```
|
||||
rinkplanner/beta/0.4.0/
|
||||
rinkplanner/beta/0.5.0/
|
||||
```
|
||||
|
||||
Die jeweils aktuelle Version steht in `project.godot` und in
|
||||
`build/beta-links.txt`.
|
||||
277
tools/publish_beta_build.sh
Executable file
277
tools/publish_beta_build.sh
Executable file
|
|
@ -0,0 +1,277 @@
|
|||
#!/usr/bin/env bash
|
||||
# Lädt die aktuellen Test-Builds in den Beta-Ordner und zeigt die Links für
|
||||
# die Antwort-Mail an. Der Ordner ist pro Version deterministisch:
|
||||
#
|
||||
# https://programmschmiede.de/rinkplanner/beta/<version>/
|
||||
#
|
||||
# Zusätzlich werden macOS/Windows weiterhin nach /rinkplanner/download/
|
||||
# hochgeladen, weil version.json und der In-App-Updater dorthin zeigen.
|
||||
#
|
||||
# Aufruf:
|
||||
# ./tools/publish_beta_build.sh # Beta + Update-Kopien
|
||||
# ./tools/publish_beta_build.sh --beta-only # nur Beta-Ordner
|
||||
# ./tools/publish_beta_build.sh --no-upload # nur Links anzeigen
|
||||
# ./tools/publish_beta_build.sh --mail macos # fertige Mailvorlage
|
||||
# ./tools/publish_beta_build.sh --build-macos # DMG auf dem Mac bauen
|
||||
# ./tools/publish_beta_build.sh --no-live-macos # kein Live-DMG übernehmen
|
||||
#
|
||||
# Fehlt build/macos/rinkplanner-setup.dmg, wird die veröffentlichte DMG
|
||||
# derselben Version aus /rinkplanner/download/ übernommen und per SHA-256
|
||||
# geprüft. --no-live-macos schaltet das ab.
|
||||
#
|
||||
# Die Links landen außerdem in build/beta-links.txt.
|
||||
set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PROJECT_DIR="$REPO_ROOT/rinkplanner"
|
||||
CREDENTIALS="$REPO_ROOT/docs/credentials.txt"
|
||||
BUILD_DIR="$REPO_ROOT/build"
|
||||
LINKS_FILE="$BUILD_DIR/beta-links.txt"
|
||||
|
||||
MACOS="$BUILD_DIR/macos/rinkplanner-setup.dmg"
|
||||
WINDOWS="$BUILD_DIR/windows/rinkplanner-setup.exe"
|
||||
ANDROID="$BUILD_DIR/android/rinkplanner-debug.apk"
|
||||
|
||||
BASE_PUBLIC="https://programmschmiede.de"
|
||||
|
||||
MODE="upload"
|
||||
MAIL_PLATFORM=""
|
||||
BUILD_MACOS=0
|
||||
LIVE_MACOS=1
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
--no-upload) MODE="no-upload" ;;
|
||||
--beta-only) MODE="beta-only" ;;
|
||||
--build-macos) BUILD_MACOS=1 ;;
|
||||
--no-live-macos) LIVE_MACOS=0 ;;
|
||||
--mail)
|
||||
MAIL_PLATFORM="${2:-}"
|
||||
if [[ -z "$MAIL_PLATFORM" ]]; then
|
||||
echo "--mail braucht macos, windows, android oder all." >&2
|
||||
exit 1
|
||||
fi
|
||||
shift
|
||||
;;
|
||||
-h|--help)
|
||||
sed -n '2,18p' "${BASH_SOURCE[0]}" | sed 's/^# \{0,1\}//'
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Unbekannte Option: $1" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
cred() {
|
||||
[[ -f "$CREDENTIALS" ]] || { echo "Fehlt: $CREDENTIALS" >&2; exit 1; }
|
||||
grep -m1 "^$1=" "$CREDENTIALS" | cut -d= -f2- | tr -d '\r'
|
||||
}
|
||||
|
||||
VERSION="$(sed -n 's/^config\/version="\([^"]*\)"/\1/p' "$PROJECT_DIR/project.godot" | head -1)"
|
||||
if [[ -z "$VERSION" ]]; then
|
||||
echo "Version fehlt in $PROJECT_DIR/project.godot (config/version)." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FTP_DIRECTORY="$(cred FTP_DIRECTORY)"
|
||||
[[ -n "$FTP_DIRECTORY" ]] || FTP_DIRECTORY="rinkplanner"
|
||||
|
||||
BETA_URL="$BASE_PUBLIC/$FTP_DIRECTORY/beta/$VERSION"
|
||||
DOWNLOAD_URL="$BASE_PUBLIC/$FTP_DIRECTORY/download"
|
||||
|
||||
platform_name() {
|
||||
case "$1" in
|
||||
macos) echo "rinkplanner-setup.dmg" ;;
|
||||
windows) echo "rinkplanner-setup.exe" ;;
|
||||
android) echo "rinkplanner-debug.apk" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_label() {
|
||||
case "$1" in
|
||||
macos) echo "macOS" ;;
|
||||
windows) echo "Windows" ;;
|
||||
android) echo "Android (APK)" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_local() {
|
||||
case "$1" in
|
||||
macos) echo "$MACOS" ;;
|
||||
windows) echo "$WINDOWS" ;;
|
||||
android) echo "$ANDROID" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
platform_state() {
|
||||
if [[ -f "$(platform_local "$1")" ]]; then
|
||||
echo ""
|
||||
else
|
||||
echo " (nicht gebaut)"
|
||||
fi
|
||||
}
|
||||
|
||||
sha256_of() {
|
||||
if command -v sha256sum >/dev/null 2>&1; then
|
||||
sha256sum "$1" | awk '{print $1}'
|
||||
else
|
||||
shasum -a 256 "$1" | awk '{print $1}'
|
||||
fi
|
||||
}
|
||||
|
||||
## Uses the published DMG when the local macOS build is missing. The live
|
||||
## version must match project.godot and the SHA-256 must verify, so an old or
|
||||
## tampered file is never uploaded to the beta folder.
|
||||
fetch_live_macos() {
|
||||
[[ -f "$MACOS" ]] && return 0
|
||||
local endpoint="https://rinkplanner.programmschmiede.de/version.json"
|
||||
local tmp_json
|
||||
tmp_json="$(mktemp "${TMPDIR:-/tmp}/rinkplanner-version.XXXXXX")"
|
||||
if ! curl -fsSL --max-time 30 "$endpoint" -o "$tmp_json"; then
|
||||
rm -f "$tmp_json"
|
||||
echo "Hinweis: Update-Endpunkt nicht erreichbar; macOS-Link bleibt leer." >&2
|
||||
return 0
|
||||
fi
|
||||
local live_version url sha
|
||||
live_version="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1])).get("version",""))' "$tmp_json")"
|
||||
url="$(python3 -c 'import json,sys; print((json.load(open(sys.argv[1])).get("downloads",{}).get("macos",{}) or {}).get("url",""))' "$tmp_json")"
|
||||
sha="$(python3 -c 'import json,sys; print((json.load(open(sys.argv[1])).get("downloads",{}).get("macos",{}) or {}).get("sha256",""))' "$tmp_json")"
|
||||
rm -f "$tmp_json"
|
||||
if [[ "$live_version" != "$VERSION" || "$url" != https://* || -z "$sha" ]]; then
|
||||
echo "Hinweis: Kein passendes macOS-DMG für Version $VERSION im Live-Endpunkt; bitte auf dem Mac bauen." >&2
|
||||
return 0
|
||||
fi
|
||||
mkdir -p "$(dirname "$MACOS")"
|
||||
if ! curl -fSL --max-time 900 "$url" -o "$MACOS"; then
|
||||
rm -f "$MACOS"
|
||||
echo "Hinweis: macOS-DMG konnte nicht geladen werden." >&2
|
||||
return 0
|
||||
fi
|
||||
if [[ "$(sha256_of "$MACOS")" != "$sha" ]]; then
|
||||
rm -f "$MACOS"
|
||||
echo "Hinweis: SHA-256 des macOS-DMG stimmt nicht; nicht übernommen." >&2
|
||||
return 0
|
||||
fi
|
||||
echo "Lokales macOS-DMG fehlt; veröffentlichte Version $VERSION übernommen (SHA-256 geprüft)."
|
||||
}
|
||||
|
||||
print_mail() {
|
||||
local platform="$1"
|
||||
local link="$2"
|
||||
cat <<EOF
|
||||
Betreff: Rinkplanner Beta – dein Zugang
|
||||
|
||||
Hallo …,
|
||||
|
||||
danke für dein Interesse. Hier ist der Test-Build für $platform:
|
||||
|
||||
$link
|
||||
|
||||
Kurz zum Start:
|
||||
- macOS: DMG öffnen, App in „Programme“ ziehen. Beim ersten Start
|
||||
Rechtsklick → Öffnen (ad-hoc signiert, nicht notarisiert).
|
||||
- Windows: Setup ausführen. SmartScreen → „Weitere Informationen“ →
|
||||
„Trotzdem ausführen“ (unsigniert).
|
||||
- Android: APK installieren, Sideloading erlauben (Debug-Signatur).
|
||||
|
||||
Das ist eine Testversion: Bitte vorher Küren sichern, keine Gewähr,
|
||||
Feedback ist willkommen. Wenn du magst, lade ich dich in den Kür-Hub ein –
|
||||
dann können wir Küren teilen.
|
||||
|
||||
Viele Grüße
|
||||
Torsten
|
||||
EOF
|
||||
}
|
||||
|
||||
if [[ "$MODE" != "no-upload" ]]; then
|
||||
if [[ "$BUILD_MACOS" -eq 1 ]]; then
|
||||
if [[ "$(uname -s)" != "Darwin" ]]; then
|
||||
echo "Hinweis: --build-macos geht nur auf macOS; baue auf einem Mac oder lass das veröffentlichte DMG übernehmen (ohne --no-live-macos)." >&2
|
||||
else
|
||||
"$REPO_ROOT/tools/export_macos_installer.sh"
|
||||
fi
|
||||
fi
|
||||
if [[ "$LIVE_MACOS" -eq 1 ]]; then
|
||||
fetch_live_macos
|
||||
fi
|
||||
|
||||
FTP_URL="$(cred FTP_URL)"
|
||||
FTP_USER="$(cred FTP_USER)"
|
||||
FTP_PASSWORD="$(cred FTP_PASSWORD)"
|
||||
HOST="${FTP_URL#ftp://}"
|
||||
HOST="${HOST#ftps://}"
|
||||
HOST="${HOST%%/*}"
|
||||
HOST="${HOST%%:*}"
|
||||
if [[ -z "$HOST" || -z "$FTP_USER" ]]; then
|
||||
echo "FTP-Zugang unvollständig in $CREDENTIALS." >&2
|
||||
exit 1
|
||||
fi
|
||||
CURL=(curl --ssl-reqd --insecure --silent --show-error --connect-timeout 20 --max-time 900 --user "$FTP_USER:$FTP_PASSWORD")
|
||||
|
||||
uploaded=0
|
||||
for platform in macos windows android; do
|
||||
name="$(platform_name "$platform")"
|
||||
local_file="$(platform_local "$platform")"
|
||||
if [[ ! -f "$local_file" ]]; then
|
||||
echo "Hinweis: $local_file fehlt; der Link wird trotzdem angezeigt." >&2
|
||||
continue
|
||||
fi
|
||||
"${CURL[@]}" --ftp-create-dirs -T "$local_file" \
|
||||
"ftp://$HOST/$FTP_DIRECTORY/beta/$VERSION/$name"
|
||||
if [[ "$MODE" == "upload" && ( "$platform" == "macos" || "$platform" == "windows" ) ]]; then
|
||||
"${CURL[@]}" --ftp-create-dirs -T "$local_file" \
|
||||
"ftp://$HOST/$FTP_DIRECTORY/download/$name"
|
||||
fi
|
||||
uploaded=$((uploaded + 1))
|
||||
done
|
||||
if [[ "$uploaded" -eq 0 ]]; then
|
||||
echo "Keine Builds gefunden. Zuerst bauen:" >&2
|
||||
echo " ./tools/export_macos_installer.sh" >&2
|
||||
echo " ./tools/export_windows_installer.sh" >&2
|
||||
echo " ./tools/export_android.sh debug" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p "$BUILD_DIR"
|
||||
{
|
||||
echo "Rinkplanner $VERSION – Beta-Links"
|
||||
echo
|
||||
for platform in macos windows android; do
|
||||
name="$(platform_name "$platform")"
|
||||
echo "$(platform_label "$platform"): $BETA_URL/$name$(platform_state "$platform")"
|
||||
done
|
||||
echo
|
||||
echo "Update-Kanal (unverändert): $DOWNLOAD_URL/"
|
||||
echo "version.json: https://rinkplanner.programmschmiede.de/version.json"
|
||||
} > "$LINKS_FILE"
|
||||
|
||||
echo "Rinkplanner $VERSION"
|
||||
echo "Beta-Ordner: $BETA_URL/"
|
||||
for platform in macos windows android; do
|
||||
name="$(platform_name "$platform")"
|
||||
echo "$(platform_label "$platform"): $BETA_URL/$name$(platform_state "$platform")"
|
||||
done
|
||||
echo
|
||||
echo "Update-Kanal (unverändert): $DOWNLOAD_URL/"
|
||||
echo "Links gespeichert: $LINKS_FILE"
|
||||
|
||||
if [[ -n "$MAIL_PLATFORM" ]]; then
|
||||
echo
|
||||
if [[ "$MAIL_PLATFORM" == "all" ]]; then
|
||||
for platform in macos windows android; do
|
||||
print_mail "$(platform_label "$platform")" "$BETA_URL/$(platform_name "$platform")"
|
||||
echo
|
||||
done
|
||||
elif [[ "$MAIL_PLATFORM" == "macos" || "$MAIL_PLATFORM" == "windows" || "$MAIL_PLATFORM" == "android" ]]; then
|
||||
if [[ ! -f "$(platform_local "$MAIL_PLATFORM")" ]]; then
|
||||
echo "Achtung: $(platform_local "$MAIL_PLATFORM") fehlt lokal – der Link ist eventuell noch nicht live." >&2
|
||||
fi
|
||||
print_mail "$(platform_label "$MAIL_PLATFORM")" "$BETA_URL/$(platform_name "$MAIL_PLATFORM")"
|
||||
else
|
||||
echo "Unbekannte Plattform: $MAIL_PLATFORM (macos|windows|android|all)." >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
@ -409,6 +409,36 @@ h1 {
|
|||
padding-top: 70px;
|
||||
}
|
||||
|
||||
.beta-steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
max-width: 920px;
|
||||
margin: 28px auto 0;
|
||||
}
|
||||
|
||||
.beta-step {
|
||||
padding: 18px 20px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.beta-step strong {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
color: var(--ice);
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.beta-step p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.download-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
|
@ -664,6 +694,11 @@ h1 {
|
|||
grid-template-columns: 1fr;
|
||||
max-width: 560px;
|
||||
}
|
||||
|
||||
.beta-steps {
|
||||
grid-template-columns: 1fr;
|
||||
max-width: 560px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
|
|
|
|||
64
web/i18n.php
64
web/i18n.php
|
|
@ -10,19 +10,19 @@ declare(strict_types=1);
|
|||
return [
|
||||
'de' => [
|
||||
'meta.title' => 'Rinkplanner – Kürplaner für Eiskunstlauf',
|
||||
'meta.description' => 'Rinkplanner: Der Kürplaner für Eiskunstlauf. Elemente setzen, Timings planen, 3D-Vorschau und Cloud-Sync. Test-Builds für macOS und Windows.',
|
||||
'meta.description' => 'Rinkplanner: Der Kürplaner für Eiskunstlauf. Elemente setzen, Timings planen, 3D-Vorschau und Cloud-Sync. Geschlossene Beta für macOS, Windows und Android.',
|
||||
|
||||
'nav.label' => 'Seitennavigation',
|
||||
'nav.features' => 'Funktionen',
|
||||
'nav.downloads' => 'Downloads',
|
||||
'nav.downloads' => 'Beta',
|
||||
'nav.news' => 'Was ist neu',
|
||||
'nav.home' => 'Startseite',
|
||||
|
||||
'hero.eyebrow' => 'Eiskunstlauf · Kürplanung',
|
||||
'hero.lede' => 'Von der ersten Idee bis zur fertigen Kür: Elemente platzieren, Timings planen, Sprungkombinationen prüfen und die Kür auf dem Tablet oder Desktop zum Leben erwecken.',
|
||||
'hero.cta_download' => 'Jetzt herunterladen',
|
||||
'hero.cta_download' => 'Beta-Zugang anfragen',
|
||||
'hero.cta_features' => 'Funktionen ansehen',
|
||||
'hero.meta' => 'Kostenloser Test-Build · macOS & Windows · 13.11.2026',
|
||||
'hero.meta' => 'Geschlossene Beta · macOS, Windows & Android',
|
||||
|
||||
'features.kicker' => 'Alles für die Kür',
|
||||
'features.title' => 'Dein Programm. Deine Linien.',
|
||||
|
|
@ -41,18 +41,30 @@ return [
|
|||
'feature.tablet.title' => 'Für das Tablet',
|
||||
'feature.tablet.body' => 'Große Touch-Ziele, Zwei-Finger-Zoom und ein Layout, das auch auf dem Eis gut lesbar bleibt.',
|
||||
|
||||
'downloads.kicker' => 'Test-Build',
|
||||
'downloads.title' => 'Rinkplanner herunterladen',
|
||||
'downloads.lede' => 'macOS- und Windows-Installer vom 13.11.2026. Wähle deine Plattform – die Downloads sind direkt einsatzbereit.',
|
||||
'downloads.kicker' => 'Geschlossene Beta',
|
||||
'downloads.title' => 'Teste Rinkplanner',
|
||||
'downloads.lede' => 'Die Test-Builds sind nicht öffentlich. Schreib uns, welchen Build du brauchst – wir schicken dir den Link und die Start-Hinweise.',
|
||||
'downloads.mac.title' => 'Für den Mac',
|
||||
'downloads.mac.body' => 'Universal Binary für Apple Silicon (macOS 13+) und Intel (macOS 11+).',
|
||||
'downloads.mac.cta' => 'Installer herunterladen',
|
||||
'downloads.mac.cta' => 'Zugang anfragen',
|
||||
'downloads.mac.hint' => 'DMG öffnen und <code>Rinkplanner.app</code> auf „Programme“ ziehen. Die App ist ad-hoc signiert, nicht notarisiert – beim ersten Start ggf. Rechtsklick → Öffnen, danach genügt ein Doppelklick.',
|
||||
'downloads.windows.title' => 'Für Windows',
|
||||
'downloads.windows.body' => 'Für Windows 10 und Windows 11 (64-Bit). Installation ohne Administratorrechte.',
|
||||
'downloads.windows.cta' => 'Installer herunterladen',
|
||||
'downloads.windows.cta' => 'Zugang anfragen',
|
||||
'downloads.windows.hint' => 'Installer ausführen und den Anweisungen folgen – inklusive Startmenü-Verknüpfung und Deinstallation. Beim Start kann Windows SmartScreen warnen: „Weitere Informationen“ → „Trotzdem ausführen“.',
|
||||
'downloads.note' => 'Die Builds sind Testversionen und werden regelmäßig aktualisiert. Feedback und Fehlerberichte sind willkommen.',
|
||||
'downloads.note' => 'Testversion, keine Gewähr: Bitte Küren vorher sichern. macOS ist ad-hoc signiert, Windows unsigniert, Android mit Debug-Signatur. Feedback und Fehlerberichte sind willkommen.',
|
||||
|
||||
'beta.step1.title' => '1. Mail schreiben',
|
||||
'beta.step1.body' => 'Plattform, Rolle und Name genügen. Ein Klick öffnet die vorbereitete Mail.',
|
||||
'beta.step2.title' => '2. Zugang erhalten',
|
||||
'beta.step2.body' => 'Du bekommst den Download-Link und die Beta-Hinweise per Mail.',
|
||||
'beta.step3.title' => '3. Installieren und Feedback geben',
|
||||
'beta.step3.body' => 'Fehler, Wünsche und Fragen direkt an uns – gern mit Screenshot oder Kürdatei.',
|
||||
'beta.android' => 'Android-Tablet? Schreib „Android“ in die Mail – den APK-Link gibt es auf Anfrage.',
|
||||
'beta.cta' => 'Zugang anfragen',
|
||||
'beta.mail.platform_any' => 'macOS / Windows / Android',
|
||||
'beta.mail.subject' => 'Rinkplanner-Beta (%s)',
|
||||
'beta.mail.body' => "Hallo,\n\nich möchte Rinkplanner testen.\n\nPlattform: %s\nRolle: Trainer / Läufer / Verein\nName: \n\nViele Grüße",
|
||||
|
||||
'news.kicker' => 'Was ist neu',
|
||||
'news.title' => 'Letzte Änderungen',
|
||||
|
|
@ -117,19 +129,19 @@ return [
|
|||
|
||||
'en' => [
|
||||
'meta.title' => 'Rinkplanner – programme planner for figure skating',
|
||||
'meta.description' => 'Rinkplanner: the programme planner for figure skating. Place elements, plan timings, 3D preview and cloud sync. Test builds for macOS and Windows.',
|
||||
'meta.description' => 'Rinkplanner: the programme planner for figure skating. Place elements, plan timings, 3D preview and cloud sync. Closed beta for macOS, Windows and Android.',
|
||||
|
||||
'nav.label' => 'Site navigation',
|
||||
'nav.features' => 'Features',
|
||||
'nav.downloads' => 'Downloads',
|
||||
'nav.downloads' => 'Beta',
|
||||
'nav.news' => 'What’s new',
|
||||
'nav.home' => 'Home',
|
||||
|
||||
'hero.eyebrow' => 'Figure skating · Programme planning',
|
||||
'hero.lede' => 'From the first idea to the finished programme: place elements, plan timings, check jump combinations and bring your programme to life on a tablet or desktop.',
|
||||
'hero.cta_download' => 'Download now',
|
||||
'hero.cta_download' => 'Request beta access',
|
||||
'hero.cta_features' => 'See the features',
|
||||
'hero.meta' => 'Free test build · macOS & Windows · 13 Nov 2026',
|
||||
'hero.meta' => 'Closed beta · macOS, Windows & Android',
|
||||
|
||||
'features.kicker' => 'Everything for your programme',
|
||||
'features.title' => 'Your programme. Your lines.',
|
||||
|
|
@ -148,18 +160,30 @@ return [
|
|||
'feature.tablet.title' => 'Built for tablets',
|
||||
'feature.tablet.body' => 'Large touch targets, two-finger zoom and a layout that stays readable on the ice.',
|
||||
|
||||
'downloads.kicker' => 'Test build',
|
||||
'downloads.title' => 'Download Rinkplanner',
|
||||
'downloads.lede' => 'macOS and Windows installers from 13 Nov 2026. Pick your platform – the downloads are ready to use.',
|
||||
'downloads.kicker' => 'Closed beta',
|
||||
'downloads.title' => 'Test Rinkplanner',
|
||||
'downloads.lede' => 'The test builds are not public. Tell us which build you need – we will send you the link and the start notes.',
|
||||
'downloads.mac.title' => 'For your Mac',
|
||||
'downloads.mac.body' => 'Universal binary for Apple Silicon (macOS 13+) and Intel (macOS 11+).',
|
||||
'downloads.mac.cta' => 'Download installer',
|
||||
'downloads.mac.cta' => 'Request access',
|
||||
'downloads.mac.hint' => 'Open the DMG and drag <code>Rinkplanner.app</code> into Applications. The app is ad-hoc signed, not notarised – on first launch you may need to right-click → Open; after that a double-click is enough.',
|
||||
'downloads.windows.title' => 'For Windows',
|
||||
'downloads.windows.body' => 'For Windows 10 and Windows 11 (64-bit). Installs without administrator rights.',
|
||||
'downloads.windows.cta' => 'Download installer',
|
||||
'downloads.windows.cta' => 'Request access',
|
||||
'downloads.windows.hint' => 'Run the installer and follow the steps – including the Start menu shortcut and uninstaller. On launch, Windows SmartScreen may warn you: “More info” → “Run anyway”.',
|
||||
'downloads.note' => 'These builds are test versions and are updated regularly. Feedback and bug reports are welcome.',
|
||||
'downloads.note' => 'Test version, no warranty: back up your programmes first. macOS is ad-hoc signed, Windows unsigned, Android debug-signed. Feedback and bug reports are welcome.',
|
||||
|
||||
'beta.step1.title' => '1. Send a mail',
|
||||
'beta.step1.body' => 'Platform, role and name are enough. One click opens the prepared mail.',
|
||||
'beta.step2.title' => '2. Get access',
|
||||
'beta.step2.body' => 'You will receive the download link and the beta notes by mail.',
|
||||
'beta.step3.title' => '3. Install and give feedback',
|
||||
'beta.step3.body' => 'Bugs, wishes and questions straight to us – screenshots or routine files welcome.',
|
||||
'beta.android' => 'Android tablet? Write “Android” in the mail – the APK link is available on request.',
|
||||
'beta.cta' => 'Request access',
|
||||
'beta.mail.platform_any' => 'macOS / Windows / Android',
|
||||
'beta.mail.subject' => 'Rinkplanner beta (%s)',
|
||||
'beta.mail.body' => "Hello,\n\nI would like to test Rinkplanner.\n\nPlatform: %s\nRole: coach / skater / club\nName: \n\nBest regards",
|
||||
|
||||
'news.kicker' => 'What’s new',
|
||||
'news.title' => 'Recent changes',
|
||||
|
|
|
|||
|
|
@ -30,6 +30,15 @@ for ($i = 0; isset($t["release.$i.version"]); $i++) {
|
|||
}
|
||||
|
||||
$langLabels = ['de' => 'DE', 'en' => 'EN'];
|
||||
|
||||
$betaMail = 'kontakt@programmschmiede.de';
|
||||
$betaLink = static function (string $platform) use ($t, $betaMail): string {
|
||||
$subject = sprintf($t['beta.mail.subject'], $platform);
|
||||
$body = sprintf($t['beta.mail.body'], $platform);
|
||||
return 'mailto:' . $betaMail
|
||||
. '?subject=' . rawurlencode($subject)
|
||||
. '&body=' . rawurlencode($body);
|
||||
};
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?= $lang ?>">
|
||||
|
|
@ -87,7 +96,7 @@ $langLabels = ['de' => 'DE', 'en' => 'EN'];
|
|||
<?= $t['hero.lede'] ?>
|
||||
</p>
|
||||
<div class="hero-actions">
|
||||
<a class="button button-primary" href="#downloads"><?= $t['hero.cta_download'] ?></a>
|
||||
<a class="button button-primary" href="<?= $betaLink($t['beta.mail.platform_any']) ?>"><?= $t['hero.cta_download'] ?></a>
|
||||
<a class="button button-ghost" href="#features"><?= $t['hero.cta_features'] ?></a>
|
||||
</div>
|
||||
<p class="hero-meta"><?= $t['hero.meta'] ?></p>
|
||||
|
|
@ -121,13 +130,28 @@ $langLabels = ['de' => 'DE', 'en' => 'EN'];
|
|||
</p>
|
||||
</div>
|
||||
|
||||
<div class="beta-steps">
|
||||
<article class="beta-step">
|
||||
<strong><?= $t['beta.step1.title'] ?></strong>
|
||||
<p><?= $t['beta.step1.body'] ?></p>
|
||||
</article>
|
||||
<article class="beta-step">
|
||||
<strong><?= $t['beta.step2.title'] ?></strong>
|
||||
<p><?= $t['beta.step2.body'] ?></p>
|
||||
</article>
|
||||
<article class="beta-step">
|
||||
<strong><?= $t['beta.step3.title'] ?></strong>
|
||||
<p><?= $t['beta.step3.body'] ?></p>
|
||||
</article>
|
||||
</div>
|
||||
|
||||
<div class="download-grid">
|
||||
<article class="download-card">
|
||||
<span class="os-badge">macOS</span>
|
||||
<h3><?= $t['downloads.mac.title'] ?></h3>
|
||||
<p><?= $t['downloads.mac.body'] ?></p>
|
||||
<a class="button button-primary" href="https://programmschmiede.de/rinkplanner/download/rinkplanner-setup.dmg" download>
|
||||
<?= $t['downloads.mac.cta'] ?> <span>65 MB</span>
|
||||
<a class="button button-primary" href="<?= $betaLink('macOS') ?>">
|
||||
<?= $t['downloads.mac.cta'] ?>
|
||||
</a>
|
||||
<p class="hint">
|
||||
<?= $t['downloads.mac.hint'] ?>
|
||||
|
|
@ -138,8 +162,8 @@ $langLabels = ['de' => 'DE', 'en' => 'EN'];
|
|||
<span class="os-badge">Windows</span>
|
||||
<h3><?= $t['downloads.windows.title'] ?></h3>
|
||||
<p><?= $t['downloads.windows.body'] ?></p>
|
||||
<a class="button button-primary" href="https://programmschmiede.de/rinkplanner/download/rinkplanner-setup.exe" download>
|
||||
<?= $t['downloads.windows.cta'] ?> <span>29 MB</span>
|
||||
<a class="button button-primary" href="<?= $betaLink('Windows') ?>">
|
||||
<?= $t['downloads.windows.cta'] ?>
|
||||
</a>
|
||||
<p class="hint">
|
||||
<?= $t['downloads.windows.hint'] ?>
|
||||
|
|
@ -147,6 +171,11 @@ $langLabels = ['de' => 'DE', 'en' => 'EN'];
|
|||
</article>
|
||||
</div>
|
||||
|
||||
<p class="download-note">
|
||||
<?= $t['beta.android'] ?>
|
||||
<a class="sub-link" href="<?= $betaLink('Android') ?>"><?= $t['beta.cta'] ?></a>
|
||||
</p>
|
||||
|
||||
<p class="download-note">
|
||||
<?= $t['downloads.note'] ?>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue