feat: logo et favicon, confirmation modale, fil d'ariane, e-mails sombres (#4)
CD — Déploiement / deploy (push) Failing after 25s

- logo embarque dans les e-mails (CID) et gabarit repense en mode sombre
- favicon multi-tailles + icone PNG, logo a gauche du titre (app et auth)
- modale de confirmation animee a la place de window.confirm
- bouton retour et fil d'ariane dans l'explorateur

---------

Co-authored-by: xEsiah <[email protected]>
Reviewed-on: #4
Reviewed-by: Esiah <[email protected]>
Co-authored-by: Gitea Actions <-[email protected]>
This commit was merged in pull request #4.
This commit is contained in:
Gitea Actions
2026-10-16 11:08:47 +00:00
committed by Esiah
co-authored by Esiah
parent 25b6e0669a
commit 9dd1ad72e0
105 changed files with 2638 additions and 592 deletions
+31
View File
@@ -0,0 +1,31 @@
import type { ReactNode } from "react";
import { Spinner, cn } from "../ui/index.js";
export const IconAction = ({
label,
icon,
onClick,
isLoading = false,
tone = "neutral",
}: {
label: string;
icon: ReactNode;
onClick: () => void;
isLoading?: boolean;
tone?: "neutral" | "danger";
}) => (
<button
type="button"
title={label}
aria-label={label}
disabled={isLoading}
onClick={onClick}
className={cn(
"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-sm text-muted-foreground transition-colors",
"hover:bg-surface-hover hover:text-foreground disabled:pointer-events-none disabled:opacity-50",
tone === "danger" && "hover:text-destructive",
)}
>
{isLoading ? <Spinner size="xs" /> : icon}
</button>
);