Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new templates #19

Open
blopa opened this issue Oct 8, 2020 · 0 comments
Open

Add new templates #19

blopa opened this issue Oct 8, 2020 · 0 comments

Comments

@blopa
Copy link
Owner

blopa commented Oct 8, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant