blopa / Resume-Builder

Resume Builder is a free open-source project that allows anyone to easily maintain and build any kind of resume.
https://resume-builder.js.org/
MIT License
184 stars 41 forks source link

Add new templates #19

Open blopa opened 3 years ago

blopa commented 3 years ago

The goal of this project is to have a huge variety of templates so people can use them freely.

Check how the default template is done in src/components/ResumeTemplates/Default.

You need a Index.jsx file, like src/components/ResumeTemplates/NewTemplate/Index.jsx and that's it.

You can use makeStyles from '@material-ui/core/styles' to style your template.

A prop called resume is going to be sent to your template, with the resume data, this data has a schema like the example below:

{
  basics: {
    enable: true,
    value: {...}
  }
}

So in every level you can always check if that element is toggled on or off, and then render it or not.

Happy hacking!