fix home page button icon, add button for settings

This commit is contained in:
marlon-erler
2026-04-08 20:35:06 +00:00
parent ca674e16fa
commit b1030f2630
4 changed files with 27 additions and 9 deletions
+6 -2
View File
@@ -1,9 +1,13 @@
import * as React from "bloatless-react";
export function HomePageButton(action: () => void, label: string) {
export function HomePageButton(
action: () => void,
label: string,
icon: string,
) {
return (
<button class="tile flex-no" on:click={action}>
<span class="icon">sync_alt</span>
<span class="icon">{icon}</span>
<div>
<span>{label}</span>
</div>