Skip to content

Commit

Permalink
Merge pull request #202 from AmruthPillai/develop
Browse files Browse the repository at this point in the history
Option to change the heading for Profile
  • Loading branch information
AmruthPillai authored Jul 2, 2020
2 parents cb25010 + 58f0cc7 commit f425693
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/components/LeftSidebar/tabs/Profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ const ProfileTab = ({ data, onChange }) => {

return (
<div>
<TextField
className="mb-6"
placeholder="Heading"
value={data.profile.heading}
onChange={v => onChange('data.profile.heading', v)}
/>

<hr className="my-6" />

<TextField
className="mb-6"
label={t('profile.photoUrl.label')}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/castform/Castform.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Castform = () => {

const ContactInformation = () => (
<div>
<Heading title="Contact Information" />
<Heading title={data.profile.heading} />
<Address />
<ContactItem title="Phone" value={data.profile.phone} link={`tel:${data.profile.phone}`} />
<ContactItem
Expand Down

0 comments on commit f425693

Please sign in to comment.