import html from '../utils/html.js' /** * @param {import('../schema.d.ts').ResumeSchema['interests']} interests * @returns {string | false} */ export default function Interests(interests = []) { return interests.length > 0 && html`

Interests

${interests.map(({ keywords = [], name }) => html`
${name && html`

${name}

`} ${keywords.length > 0 && html`
    ${keywords.map(keyword => html`
  • ${keyword}
  • `)}
`}
`)}
` }