From 80af2e9aeb4a1facc716ffb029e5c69cd8d866db Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 21 Jan 2026 12:55:09 +0100 Subject: [PATCH] Add categories to profile form --- web/components/add-option-entry.tsx | 4 +- web/components/optional-profile-form.tsx | 672 ++++++++++++----------- web/messages/de.json | 9 + web/messages/fr.json | 11 +- web/pages/signup.tsx | 2 +- 5 files changed, 373 insertions(+), 325 deletions(-) diff --git a/web/components/add-option-entry.tsx b/web/components/add-option-entry.tsx index 4e8e6f4..9a8b778 100644 --- a/web/components/add-option-entry.tsx +++ b/web/components/add-option-entry.tsx @@ -6,7 +6,7 @@ import {colClassName, labelClassName} from "web/pages/signup"; import {MultiCheckbox} from "web/components/multi-checkbox"; export function AddOptionEntry(props: { - title: string + title?: string choices: { [key: string]: string } setChoices: (choices: any) => void profile: ProfileWithoutUser, @@ -15,7 +15,7 @@ export function AddOptionEntry(props: { }) { const {profile, setProfile, label, choices, setChoices, title} = props return - + {title && } */} {/**/} - {t('profile.optional.title', 'More about me')} -
- {t('profile.optional.subtitle', 'Optional information')} -
+ {t('profile.optional.subtitle', 'Optional information')} + +