update path handling
All checks were successful
deploy / build-and-deploy (push) Successful in 22s

This commit is contained in:
2025-05-18 15:26:52 +02:00
parent 13a8eae450
commit 28ead9a281
20 changed files with 61 additions and 47 deletions

View File

@@ -8,6 +8,7 @@ import TeamPopup from '@components/website/signup/TeamPopup.svelte';
import RegisteredPopup from '@components/website/signup/RegisteredPopup.svelte';
import { getSettings, SettingKey } from '@util/settings';
import { db } from '@db/database.ts';
import { DISCORD_LINK, PAYPAL_LINK, START_DATE, TEAMSPEAK_LINK } from 'astro:env/server';
const signupSetting = await getSettings(db, [
SettingKey.SignupEnabled,
@@ -123,7 +124,13 @@ const signupDisabledSubMessage = signupSetting[SettingKey.SignupDisabledSubMessa
<Popup client:idle />
<TeamPopup client:idle />
<RegisteredPopup client:idle />
<RegisteredPopup
client:idle
discordLink={DISCORD_LINK}
paypalLink={PAYPAL_LINK}
teamspeakLink={TEAMSPEAK_LINK}
startDate={START_DATE}
/>
{
!signupEnabled && (