clipboard = (text) => { navigator.clipboard.writeText(text) .then(() => alert("Посилання скопійовано!")) .catch(err => console.error(err)) }