import html from '../utils/html.js' /** * @param {import('../schema.d.ts').ResumeSchema['languages']} languages * @returns {string | false} */ export default function Languages(languages = []) { return ( languages.length > 0 && html` Languages ${languages.map( ({ fluency, language }) => html`${language && html`${language}`} ${fluency}`, )} ` ) }