Open blopa opened 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.
src/components/ResumeTemplates/Default
You need a Index.jsx file, like src/components/ResumeTemplates/NewTemplate/Index.jsx and that's it.
Index.jsx
src/components/ResumeTemplates/NewTemplate/Index.jsx
You can use makeStyles from '@material-ui/core/styles' to style your template.
makeStyles
'@material-ui/core/styles'
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:
resume
{ 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!
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, likesrc/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:So in every level you can always check if that element is toggled on or off, and then render it or not.
Happy hacking!