feat: enhance profile and feed pages with friends display logic, update TopFriends component to support mode, and extend bio length in profile schema

This commit is contained in:
2025-09-07 13:37:39 +02:00
parent c9b8bd7b07
commit e1b5a2aaa0
6 changed files with 37 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ export const CreateThoughtSchema = z.object({
export const UpdateProfileSchema = z.object({
displayName: z.string().max(50).optional(),
bio: z.string().max(160).optional(),
bio: z.string().max(4000).optional(),
avatarUrl: z.url().or(z.literal("")).optional(),
headerUrl: z.url().or(z.literal("")).optional(),
customCss: z.string().optional(),