This commit is contained in:
@@ -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 && (
|
||||
|
||||
Reference in New Issue
Block a user