import html from '../utils/html.js' /** * @param {import('../schema.d.ts').ResumeSchema['skills']} skills * @returns {string | false} */ 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}
  • `)}
`}
`)}
` }