Skip to content

Commit

Permalink
Fix lint, styling, wording for public email warning
Browse files Browse the repository at this point in the history
  • Loading branch information
julianweng committed Nov 8, 2024
1 parent d121715 commit 60a59e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions frontend/components/ClubEditPage/ClubEditCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,18 @@ const EmailModal = ({
closeModal={closeModal}
marginBottom={false}
>
<div className="card-content" style={{ marginBottom: '24px' }}>
<Text>
Warning: This email will be shown to the public. We highly recommend
you don't use a personal email, and instead use a club email. Feel
free to ignore this warning if the email is not a personal email.
<div className="card-content mb-2">
<Text className="has-text-danger">
This email will be visible to the public.
<br />
We recommend that you don’t use a personal email, and instead use a
club email.
</Text>
<Field
name="email"
value={email}
onChange={(e) => setEmail(e.target.value)}
className="input mb-4"
className="input mb-5"
style={{ maxWidth: '350px' }}
></Field>
<div>
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@
},
"engines": {
"node": "^20.0.0"
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}

0 comments on commit 60a59e7

Please sign in to comment.