From dce377b5866475a9041ed7d3f5cd95b4ec3e69a5 Mon Sep 17 00:00:00 2001 From: IO420 <320154041@pcpuma.acatlan.unam.mx> Date: Wed, 24 Sep 2025 18:34:13 -0600 Subject: [PATCH] Modified Alerts --- app/(private)/Alta/page.tsx | 4 +- app/(private)/Impresiones/page.tsx | 5 ++- app/(private)/Programas/page.tsx | 4 +- app/Components/AlertBox/AlertBox.css | 1 - .../ChangePassword/changePassword.tsx | 2 +- app/Components/ClearParams/ClearParams.tsx | 27 ++++++++++++++ app/Components/visual/GlobalAlert.tsx | 37 +++++++++++++++++++ app/globals.css | 18 +++++++++ app/layout.tsx | 3 +- 9 files changed, 91 insertions(+), 10 deletions(-) create mode 100644 app/Components/ClearParams/ClearParams.tsx create mode 100644 app/Components/visual/GlobalAlert.tsx diff --git a/app/(private)/Alta/page.tsx b/app/(private)/Alta/page.tsx index dc08afd..54113ab 100644 --- a/app/(private)/Alta/page.tsx +++ b/app/(private)/Alta/page.tsx @@ -11,7 +11,7 @@ export default function Page() {

ALTA

console.log()}> -
+
-
+ {showError && ( - + <> + + )} {showSuccess && ( diff --git a/app/(private)/Programas/page.tsx b/app/(private)/Programas/page.tsx index 3722faf..4477740 100644 --- a/app/(private)/Programas/page.tsx +++ b/app/(private)/Programas/page.tsx @@ -62,7 +62,7 @@ export default function Page() {