-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from ThePandaDevs/develop
Develop
- Loading branch information
Showing
28 changed files
with
757 additions
and
564 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 36 additions & 23 deletions
59
src/components/candidates_components/templates_components/Aptitudes.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
export const Aptitudes = ({ resume,color }) => { | ||
return ( | ||
<> | ||
<div className=" px-5 m-0 md:m-5"> | ||
<div class="card "> | ||
<div class="flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container"> | ||
<div class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}>Habilidades:</div> | ||
</div> | ||
<div className="grid container "> | ||
<div className="col-12 "> | ||
{resume.aptitudes.map((r, i) => { | ||
return( | ||
<div className="text-base text-justify mt-2 font-light text-600 md:ml-3 lg:ml-3 md:mr-3 lg:mr-3"> | ||
• {r.name} | ||
import _ from 'lodash'; | ||
|
||
export const Aptitudes = ({ resume, color }) => { | ||
return ( | ||
<> | ||
<div className=' px-5 m-0 md:m-5'> | ||
<div class='card '> | ||
<div class='flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container'> | ||
<div | ||
class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}> | ||
Habilidades: | ||
</div> | ||
</div> | ||
) | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
<div className='grid container '> | ||
<div className='col-12 '> | ||
{_.size(resume.aptitudes)>0 ? ( | ||
<> | ||
{resume.aptitudes.map((r, i) => { | ||
return ( | ||
<div className='text-base text-justify mt-2 font-light text-600 md:ml-3 lg:ml-3 md:mr-3 lg:mr-3'> | ||
• {r.name} | ||
</div> | ||
); | ||
})} | ||
</> | ||
):( | ||
<div className="flex justify-content-center text-color-secondary"> | ||
Sin datos. | ||
</div> | ||
)} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; |
113 changes: 66 additions & 47 deletions
113
src/components/candidates_components/templates_components/Certifications.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,69 @@ | ||
import DateService from '../../../services/DateService'; | ||
|
||
export const Certifications = ({resume,color}) => { | ||
return ( | ||
<> | ||
<div className=" px-5 m-0 md:m-5"> | ||
<div class="card "> | ||
<div class="flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container"> | ||
<div class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}>Certificación:</div> | ||
</div> | ||
<div className="grid container "> | ||
<div className="col-4 justify-content-center"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Nombre</div> | ||
{resume.certifications.map((r, i) => { | ||
return ( | ||
<div className="text-base font-light text-600 flex justify-content-center">{r.name}</div> | ||
) | ||
})} | ||
</div> | ||
export const Certifications = ({ resume, color }) => { | ||
return ( | ||
<> | ||
<div className=' px-5 m-0 md:m-5'> | ||
<div class='card '> | ||
<div class='flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container'> | ||
<div | ||
class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}> | ||
Certificación: | ||
</div> | ||
</div> | ||
<div className='grid container '> | ||
<div className='col-4 justify-content-center'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Nombre | ||
</div> | ||
{resume.certifications.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{r.name} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
|
||
<div className="col-4 "> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Compañia</div> | ||
{resume.certifications.map((r,i)=>{ | ||
return( | ||
<div className="text-base font-light text-600 flex justify-content-center">{r.company}</div> | ||
) | ||
})} | ||
</div> | ||
<div className="col-4 4 justify-content-center"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Logro</div> | ||
{resume.certifications.map((r,i)=>{ | ||
return( | ||
<div className="text-base font-light text-600 flex justify-content-center">{DateService.parseToDate(r.obtainedDate)}</div> | ||
) | ||
})} | ||
</div> | ||
<div className="col-4 "> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Expiración</div> | ||
{resume.certifications.map((r,i)=>{ | ||
return( | ||
<div className="text-base font-light text-600 flex justify-content-center">{DateService.parseToDate(r.expirationDate)}</div> | ||
) | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
<div className='col-4 '> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Compañia | ||
</div> | ||
{resume.certifications.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{r.company} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<div className='col-4 4 justify-content-center'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Logro | ||
</div> | ||
{resume.certifications.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{DateService.parseToDate(r.obtainedDate)} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<div className='col-4 '> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Expiración | ||
</div> | ||
{resume.certifications.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{DateService.parseToDate(r.expirationDate)} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; |
113 changes: 66 additions & 47 deletions
113
src/components/candidates_components/templates_components/Courses.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,69 @@ | ||
import DateService from '../../../services/DateService'; | ||
|
||
export const Courses = ({ resume,color }) => { | ||
return ( | ||
<> | ||
<div className=" px-5 m-0 md:m-5"> | ||
<div class="card "> | ||
<div class="flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container"> | ||
<div class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}>Cursos:</div> | ||
</div> | ||
export const Courses = ({ resume, color }) => { | ||
return ( | ||
<> | ||
<div className=' px-5 m-0 md:m-5'> | ||
<div class='card '> | ||
<div class='flex flex-wrap align-items-center mt-3 justify-content-center card-container blue-container'> | ||
<div | ||
class={`min-w-full border-round ${color} text-white font-bold p-1 flex align-items-center text-left`}> | ||
Cursos: | ||
</div> | ||
</div> | ||
|
||
<div className="grid container "> | ||
<div className="col-4 justify-content-center"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Nombre</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className="text-base font-light text-600 flex justify-content-center">{r.name}</div> | ||
) | ||
})} | ||
</div> | ||
<div className="col-4"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Instituto</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className="text-base font-light text-600 flex justify-content-center">{r.trainingInstitution}</div> | ||
) | ||
})} | ||
</div> | ||
<div className="col-4 justify-content-center"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Realización</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className="text-base font-light text-600 flex justify-content-center">{DateService.parseToDate(r.realizationDate)}</div> | ||
) | ||
})} | ||
</div> | ||
<div className="col-4"> | ||
<div className="text-base font-bold mt-2 flex justify-content-center">Horas</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className="text-base font-light text-600 flex justify-content-center">{r.hours}</div> | ||
) | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
<div className='grid container '> | ||
<div className='col-4 justify-content-center'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Nombre | ||
</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{r.name} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<div className='col-4'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Instituto | ||
</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{r.trainingInstitution} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<div className='col-4 justify-content-center'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Realización | ||
</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{DateService.parseToDate(r.realizationDate)} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
<div className='col-4'> | ||
<div className='text-base font-bold mt-2 flex justify-content-center'> | ||
Horas | ||
</div> | ||
{resume.courses.map((r, i) => { | ||
return ( | ||
<div className='text-base font-light text-600 flex justify-content-center'> | ||
{r.hours} | ||
</div> | ||
); | ||
})} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; |
Oops, something went wrong.