[Feature] Option to change the value of the header in the Profile section

Fixes #187
This commit is contained in:
Bryan Chavarría Hughes
2020-06-10 19:25:24 -06:00
parent da98bf5bf4
commit a0f4ccae28
2 changed files with 10 additions and 1 deletions

View File

@ -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')}

View File

@ -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