mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
more icons in edit profile view
This commit is contained in:
1 parent
e8d56dfe4f
commit
bd6c8beeca
1 file changed
+24
-7
@@ -5,6 +5,9 @@ import { SessionWrapper } from '../../../session/SessionWrapper';
|
||||
import { useParams } from 'react-router-dom';
|
||||
import { VisibleIconFc } from '../../../icons/VisibleIconFc';
|
||||
import { HiddenIconFc } from '../../../icons/HiddenIconFc';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { faDiscord, faFirefox, faGithub, faTwitch, faTwitter } from '@fortawesome/free-brands-svg-icons';
|
||||
import { faDollarSign, faUser } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
const DEFAULT_VISIBILITY = 'public';
|
||||
|
||||
@@ -255,7 +258,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Bio or whatever (supports Markdown)</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faUser} /> Bio or whatever (supports Markdown)
|
||||
</label>
|
||||
<div className="control">
|
||||
<textarea
|
||||
onChange={handleProfileMarkdownChange}
|
||||
@@ -287,7 +292,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>*/}
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Twitter Username</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faTwitter} /> Twitter Username
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleTwitterChange}
|
||||
@@ -307,7 +314,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Discord Username (don't forget the #0000)</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faDiscord} /> Discord Username (don't forget the #0000)
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleDiscordChange}
|
||||
@@ -327,7 +336,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Twitch Username</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faTwitch} /> Twitch Username
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleTwitchChange}
|
||||
@@ -347,7 +358,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>
|
||||
|
||||
<div className="field">
|
||||
<label className="label">CashApp $CashTag (for reward payouts)</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faDollarSign} /> CashApp $CashTag (for reward payouts)
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleCashAppChange}
|
||||
@@ -368,7 +381,9 @@ function ProfileEditFc(props: Props) {
|
||||
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Github Username (I'm hiring engineers and data scientists!)</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faGithub} /> Github Username (I'm hiring engineers and data scientists!)
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleGithubChange}
|
||||
@@ -388,7 +403,9 @@ function ProfileEditFc(props: Props) {
|
||||
</div>
|
||||
|
||||
<div className="field">
|
||||
<label className="label">Personal Website URL</label>
|
||||
<label className="label">
|
||||
<FontAwesomeIcon icon={faFirefox} /> Personal Website URL
|
||||
</label>
|
||||
<div className="control has-icons-left has-icons-right">
|
||||
<input
|
||||
onChange={handleWebsiteUrlChange}
|
||||
|
||||
Reference in new issue
Block a user