Skip to content

Scheduling infrastructure for absolutely everyone.

[CAL-106] /onboarding - UI issues & small improvements (#5396)

GitStart8593da4e25fa
diff --git a/apps/web/components/getting-started/steps-views/UserProfile.tsx b/apps/web/components/getting-started/steps-views/UserProfile.tsx
index 7f7f96db048..1bea8b0632c 100644
--- a/apps/web/components/getting-started/steps-views/UserProfile.tsx
+++ b/apps/web/components/getting-started/steps-views/UserProfile.tsx
@@ -102,8 +102,7 @@ const UserProfile = (props: IUserProfile) => {
return (
<form onSubmit={onSubmit}>
- <p className="font-cal text-sm">{t("profile_picture")}</p>
- <div className="mt-4 flex flex-row items-center justify-start rtl:justify-end">
+ <div className="flex flex-row items-center justify-start rtl:justify-end">
{user && <AvatarSSR user={user} alt="Profile picture" className="h-16 w-16" />}
<input
ref={avatarRef}
@@ -118,7 +117,7 @@ const UserProfile = (props: IUserProfile) => {
<ImageUploader
target="avatar"
id="avatar-upload"
- buttonMsg={t("upload")}
+ buttonMsg={t("add_profile_photo")}
handleAvatarChange={(newAvatar) => {
avatarRef.current.value = newAvatar;
const nativeInputValueSetter = Object.getOwnPropertyDescriptor(
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 87b5aa61759..c8d458710bc 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -1127,6 +1127,7 @@
"removes_cal_branding": "Removes any Cal related brandings, i.e. 'Powered by Cal.'",
"profile_picture": "Profile picture",
"upload": "Upload",
+ "add_profile_photo": "Add profile photo",
"web3": "Web3",
"rainbow_token_gated": "This event type is token gated.",
"rainbow_connect_wallet_gate": "Connect your wallet if you own <1>{{name}}</1> (<3>{{symbol}}</3>).",