Add languages
This commit is contained in:
parent
296b9862c9
commit
afff716c09
@ -40,6 +40,7 @@ export const personalData: PersonalData = {
|
|||||||
skills: {
|
skills: {
|
||||||
primary: ['Java', 'TypeScript', 'JavaScript'],
|
primary: ['Java', 'TypeScript', 'JavaScript'],
|
||||||
secondary: ['Kotlin', 'Go'],
|
secondary: ['Kotlin', 'Go'],
|
||||||
|
languages: ['Czech (native)', 'English (proficient)', 'German (elementary)'],
|
||||||
others: ['Driver\'s license (B)']
|
others: ['Driver\'s license (B)']
|
||||||
},
|
},
|
||||||
interests: ['Guitars and Heavy Metal', 'Mazda MX-5', 'DIY electronics'],
|
interests: ['Guitars and Heavy Metal', 'Mazda MX-5', 'DIY electronics'],
|
||||||
|
@ -20,6 +20,7 @@ export type Education = Jobs;
|
|||||||
export type Skills = {
|
export type Skills = {
|
||||||
primary: string[],
|
primary: string[],
|
||||||
secondary?: string[],
|
secondary?: string[],
|
||||||
|
languages?: string[],
|
||||||
others?: string[]
|
others?: string[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ export default function Skills() {
|
|||||||
{person.skills.secondary && (
|
{person.skills.secondary && (
|
||||||
<TagCloud title='Secondary' icon='bookmark-plus' tags={person.skills.secondary} />
|
<TagCloud title='Secondary' icon='bookmark-plus' tags={person.skills.secondary} />
|
||||||
)}
|
)}
|
||||||
|
{person.skills.languages && (
|
||||||
|
<TagCloud title='Languages' icon='bookmarks' tags={person.skills.languages} />
|
||||||
|
)}
|
||||||
{person.skills.others && (
|
{person.skills.others && (
|
||||||
<TagCloud title='Others' icon='bookmark' tags={person.skills.others} />
|
<TagCloud title='Others' icon='bookmark' tags={person.skills.others} />
|
||||||
)}
|
)}
|
||||||
|
@ -10,7 +10,7 @@ export type Props = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Tag(props: {text: string}) {
|
function Tag(props: {text: string}) {
|
||||||
const tagKey = 'tag_' + props.text;
|
const tagKey = 'tag ' + props.text;
|
||||||
const elementRef = useAutoFocus(tagKey)
|
const elementRef = useAutoFocus(tagKey)
|
||||||
return (
|
return (
|
||||||
<span ref={elementRef} className='badge text-bg-light'>{props.text}</span>
|
<span ref={elementRef} className='badge text-bg-light'>{props.text}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user