Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions studio/src/pages/profile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ function Profile() {
return (
<div className="content">
<Helmet title={'Profile'} />
<Card title="Update Profile" loading={loading}>
<div>
<Form
form={form}
name="update_profile"
layout="vertical"
style={{ paddng: '34px 25px', background: '#F9FAFB' }}
onFinish={update}
initialValues={{
Expand All @@ -74,11 +75,6 @@ function Profile() {
</Button>
</Row>
<Row gutter={56}>
<Col md={6} xs={24}>
<Form.Item name="featured_medium_id">
<MediaSelector profile={true} />
</Form.Item>
</Col>
<Col md={10} xs={24}>
<Form.Item
label="First Name"
Expand Down Expand Up @@ -112,6 +108,9 @@ function Profile() {
<Radio.Button value="other">Other</Radio.Button>
</Radio.Group>
</Form.Item>
<Form.Item label="Description" name="description">
<Input.TextArea placeholder="Description" autoSize={{ minRows: 2, maxRows: 6 }} />
</Form.Item>
<Form.Item label="Facebook Url" name={['social_media_urls', 'facebook']}>
<Input placeholder="Facebook url" />
</Form.Item>
Expand All @@ -124,14 +123,15 @@ function Profile() {
<Form.Item label="Instagram Url" name={['social_media_urls', 'instagram']}>
<Input placeholder="Instagram url" />
</Form.Item>
<Form.Item label="Description" name="description">
<Input.TextArea placeholder="Description" autoSize={{ minRows: 2, maxRows: 6 }} />
</Col>
<Col md={6} xs={24}>
<Form.Item name="featured_medium_id">
<MediaSelector profile={true} />
</Form.Item>
</Col>
~
</Row>
</Form>
</Card>
</div>
</div>
);
}
Expand Down