Compare commits
3 Commits
afd3541d4d
...
56deba780d
Author | SHA1 | Date | |
---|---|---|---|
56deba780d | |||
5a8203d122 | |||
aacc815676 |
@ -9,10 +9,10 @@ export const signup = {
|
||||
input: z.object({
|
||||
firstname: z.string().trim().min(2),
|
||||
lastname: z.string().trim().min(2),
|
||||
// this will be inaccurate as it is evaluated only once
|
||||
birthday: z
|
||||
.string()
|
||||
.date()
|
||||
// this will be inaccurate as it is evaluated only once
|
||||
.max(Date.now() - 1000 * 60 * 60 * 24 * 365 * 6),
|
||||
phone: z.string().trim().nullable(),
|
||||
username: z.string().trim(),
|
||||
|
@ -78,6 +78,6 @@
|
||||
}
|
||||
]
|
||||
]}
|
||||
onSubmit={addTeam}
|
||||
onSubmit={deleteTeam}
|
||||
bind:open={editPopupOpen}
|
||||
/>
|
||||
|
@ -69,7 +69,7 @@
|
||||
{#if team.memberOne}
|
||||
<div class="flex items-center gap-x-2">
|
||||
<img
|
||||
class="w-4 h-4 pixelated"
|
||||
class="h-4 pixelated"
|
||||
src={team.memberOne.dead ? Skeleton.src : `https://mc-heads.net/head/${team.memberOne.username}/8`}
|
||||
alt="head"
|
||||
/>
|
||||
@ -83,7 +83,7 @@
|
||||
{#if team.memberTwo}
|
||||
<div class="flex items-center gap-x-2">
|
||||
<img
|
||||
class="w-4 h-4 pixelated"
|
||||
class="h-4 pixelated"
|
||||
src={team.memberTwo.dead ? Skeleton.src : `https://mc-heads.net/head/${team.memberTwo.username}/8`}
|
||||
alt="head"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user