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!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
update previews, make links clickable
Amruth Pillaibca51870efd7
diff --git a/src/templates/gengar/Gengar.js b/src/templates/gengar/Gengar.jsindex faf56ba20..12051cf9c 100644--- a/src/templates/gengar/Gengar.js+++ b/src/templates/gengar/Gengar.js@@ -30,7 +30,7 @@ const Gengar = () => {</div>);- const ContactItem = ({ icon, value }) =>+ const ContactItem = ({ icon, value, link = '#' }) =>value && (<div className="flex items-center mb-3"><div@@ -44,7 +44,9 @@ const Gengar = () => {{icon}</i></div>- <span className="text-sm font-medium break-all">{value}</span>+ <a href={link}>+ <span className="text-sm font-medium break-all">{value}</span>+ </a></div>);@@ -237,9 +239,17 @@ const Gengar = () => {<hr className="w-1/4 my-5 opacity-50" />- <ContactItem icon="phone" value={data.profile.phone} />- <ContactItem icon="alternate_email" value={data.profile.email} />- <ContactItem icon="language" value={data.profile.website} />+ <ContactItem icon="phone" value={data.profile.phone} link={`tel:${data.profile.phone}`} />+ <ContactItem+ icon="alternate_email"+ value={data.profile.email}+ link={`mailto:${data.profile.email}`}+ />+ <ContactItem+ icon="language"+ value={data.profile.website}+ link={`http://${data.profile.website}`}+ /><ContactItem icon="location_on" value={data.profile.address.line3} /></div>@@ -258,16 +268,12 @@ const Gengar = () => {<Skills /><Languages /><Education />+ <Certifications /></div><div className="col-span-8 px-6 py-8"><Work />-- <div className="grid grid-cols-2 gap-6">- <Awards />- <Certifications />- </div>-+ <Awards /><References /></div></div>diff --git a/src/templates/gengar/preview.png b/src/templates/gengar/preview.pngindex 65f30253d..486c71801 100644Binary files a/src/templates/gengar/preview.png and b/src/templates/gengar/preview.png differdiff --git a/src/templates/onyx/Onyx.js b/src/templates/onyx/Onyx.jsindex f13376c3a..c41aa2b44 100644--- a/src/templates/onyx/Onyx.js+++ b/src/templates/onyx/Onyx.js@@ -33,13 +33,15 @@ const Onyx = () => {</div>);- const ContactItem = ({ icon, value }) =>+ const ContactItem = ({ icon, value, link = '#' }) =>value && (<div className="flex items-center my-3"><span className="material-icons text-lg mr-2" style={{ color: theme.colors.accent }}>{icon}</span>- <span className="font-medium break-all">{value}</span>+ <a href={link}>+ <span className="font-medium break-all">{value}</span>+ </a></div>);@@ -230,9 +232,17 @@ const Onyx = () => {</div><div className="col-span-1 text-xs">- <ContactItem icon="phone" value={data.profile.phone} />- <ContactItem icon="language" value={data.profile.website} />- <ContactItem icon="alternate_email" value={data.profile.email} />+ <ContactItem icon="phone" value={data.profile.phone} link={`tel:${data.profile.phone}`} />+ <ContactItem+ icon="language"+ value={data.profile.website}+ link={`http://${data.profile.website}`}+ />+ <ContactItem+ icon="alternate_email"+ value={data.profile.email}+ link={`mailto:${data.profile.email}`}+ /></div></div>diff --git a/src/templates/onyx/preview.png b/src/templates/onyx/preview.pngindex 443d87e53..5d586f108 100644Binary files a/src/templates/onyx/preview.png and b/src/templates/onyx/preview.png differdiff --git a/src/templates/pikachu/Pikachu.js b/src/templates/pikachu/Pikachu.jsindex 659a27201..ec1377183 100644--- a/src/templates/pikachu/Pikachu.js+++ b/src/templates/pikachu/Pikachu.js@@ -37,13 +37,15 @@ const Pikachu = () => {</div>);- const ContactItem = ({ icon, value }) =>+ const ContactItem = ({ icon, value, link = '#' }) =>value && (<div className="flex items-center my-3"><span className="material-icons text-lg mr-2" style={{ color: theme.colors.accent }}>{icon}</span>- <span className="font-medium break-all">{value}</span>+ <a href={link}>+ <span className="font-medium break-all">{value}</span>+ </a></div>);@@ -227,14 +229,27 @@ const Pikachu = () => {<div className="col-span-4 overflow-hidden"><div className="text-sm mb-6">- <ContactItem icon="phone" value={data.profile.phone} />- <ContactItem icon="language" value={data.profile.website} />- <ContactItem icon="alternate_email" value={data.profile.email} />+ <ContactItem+ icon="phone"+ value={data.profile.phone}+ link={`tel:${data.profile.phone}`}+ />+ <ContactItem+ icon="language"+ value={data.profile.website}+ link={`http://${data.profile.website}`}+ />+ <ContactItem+ icon="alternate_email"+ value={data.profile.email}+ link={`mailto:${data.profile.email}`}+ /><ContactItem icon="location_on" value={data.profile.address.line3} /></div><Skills /><Languages />+ <Certifications /><Extras /></div>@@ -242,7 +257,6 @@ const Pikachu = () => {<Work /><Education /><Awards />- <Certifications /><References /></div></div>diff --git a/src/templates/pikachu/preview.png b/src/templates/pikachu/preview.pngindex f1f37e2e7..46e7e4221 100644Binary files a/src/templates/pikachu/preview.png and b/src/templates/pikachu/preview.png differ