import html from '../utils/html.js' export default function Skills(skills = []) { return skills.length > 0 && html` Skills ${skills.map(({ keywords = [], name }) => html` ${name && html`${name}`} ${keywords.length > 0 && html` ${keywords.map(keyword => html`${keyword}`)} `} `)} ` }