Dejvino's Curriculum Vitae
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
731 B

  1. import React, { useContext } from 'react';
  2. import Container from 'react-bootstrap/Container';
  3. import { PersonContext } from './PersonContext';
  4. import TagCloud from './TagCloud';
  5. export default function Skills() {
  6. const person = useContext(PersonContext)
  7. return (
  8. <Container className='skills'>
  9. <h2>Skills</h2>
  10. <TagCloud title='Primary' icon='bookmark-star' style='primary' tags={person.skills.primary} />
  11. <TagCloud title='Secondary' icon='bookmark-plus' tags={person.skills.secondary} />
  12. <TagCloud title='Others' icon='bookmark' tags={person.skills.others} />
  13. <TagCloud title='Interests' icon='bookmark-heart' style='light' tags={person.interests} />
  14. </Container>
  15. )
  16. }