cv/src/app/components/Skills.tsx

18 lines
731 B
TypeScript
Raw Normal View History

2023-05-24 19:15:53 +00:00
import React, { useContext } from 'react';
import Container from 'react-bootstrap/Container';
import { PersonContext } from './PersonContext';
import TagCloud from './TagCloud';
export default function Skills() {
const person = useContext(PersonContext)
return (
<Container className='skills'>
<h2>Skills</h2>
<TagCloud title='Primary' icon='bookmark-star' style='primary' tags={person.skills.primary} />
<TagCloud title='Secondary' icon='bookmark-plus' tags={person.skills.secondary} />
<TagCloud title='Others' icon='bookmark' tags={person.skills.others} />
<TagCloud title='Interests' icon='bookmark-heart' style='light' tags={person.interests} />
</Container>
)
}