frontend: add settings boilerplate

This commit is contained in:
Kentai Radiquum 2024-04-27 23:41:53 +05:00
parent c2656fbab9
commit baaa67f2ab
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,32 @@
export default function Settings() {
return (
<>
<dialog
className="active left round bottom small"
style={{ blockSize: "unset" }}
>
<h5>Настройки</h5>
<nav className="wrap">
<div class="max">
<h6 className="small">сохранение в истории просмотров</h6>
</div>
<label class="switch">
<input type="checkbox" />
<span></span>
</label>
</nav>
<li className="small-divider"></li>
<nav className="wrap small-space">
<button className="red">
<i>delete_forever</i>
<span>Удалить все настройки</span>
</button>
<button className="red">
<i>delete_history</i>
<span>Удалить историю поиска</span>
</button>
</nav>
</dialog>
</>
);
}