add signup info message
All checks were successful
deploy / build-and-deploy (/testvaro, /opt/website-test, website-test) (push) Successful in 15s
deploy / build-and-deploy (/varo, /opt/website, website) (push) Successful in 22s

This commit is contained in:
2025-06-16 13:01:08 +02:00
parent b10f400e4a
commit 019ef4d444
4 changed files with 14 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const teams = await db.getTeams({});
const deaths = await db.getDeaths({});
const signupEnabled = await getSetting(db, SettingKey.SignupEnabled, false);
const signupInfoMessage = await getSetting(db, SettingKey.SignupInfoMessage);
const information = [
{
@@ -64,6 +65,7 @@ const information = [
>{signupEnabled ? 'Jetzt registrieren' : 'Infos zur Anmeldung'}</a
>
</div>
{signupInfoMessage && <span class="text-center text-xs text-base-content/80 mt-3">{signupInfoMessage}</span>}
</div>
</div>
</div>