replace utf-8 chars with SVGs

This commit is contained in:
Thomas Ruoff
2020-11-28 14:31:39 +01:00
parent f6e08255a6
commit c2b331db18
3 changed files with 22 additions and 8 deletions

View File

@@ -22,8 +22,10 @@ const ShowDoorDialog = () => {
return (
<div className="door-mask" onClick={handleClose}>
<div className="door" onClick={event => event.stopPropagation()}>
<a className="door-close" onClick={handleClose}>
<a className="door-close" onClick={handleClose} title="Schließen">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" width="25px">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
</a>
<h1>Türchen {openSongIndex + 1}</h1>
<Player hidden={!showSolution} />