added final frontend with full responsive style but without any logic

This commit is contained in:
2025-08-18 18:41:52 +02:00
parent ea275c0fd0
commit 817a1efcdd
12 changed files with 316 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
import { toast, type ToastOptions } from "react-toastify";
export type ToastType = "success" | "error" | "info" | "warning";
export const myToast = (message: string, msgType: ToastType) => {
let config: ToastOptions = {
position: "top-right",
autoClose: 5000,
hideProgressBar: false,
closeOnClick: true,
pauseOnHover: true,
draggable: true,
progress: undefined,
theme: "light",
};
toast[msgType](message, config);
};