Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

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

Bryan Chavarría Hughesa0f4ccae2834
diff --git a/src/components/LeftSidebar/tabs/Profile.js b/src/components/LeftSidebar/tabs/Profile.js
index 2a05a33d4..e7cb48ecd 100644
--- a/src/components/LeftSidebar/tabs/Profile.js
+++ b/src/components/LeftSidebar/tabs/Profile.js
@@ -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')}
diff --git a/src/templates/castform/Castform.js b/src/templates/castform/Castform.js
index 2422b5b01..910fffd26 100644
--- a/src/templates/castform/Castform.js
+++ b/src/templates/castform/Castform.js
@@ -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