diff --git a/frontend/index.html b/frontend/index.html index 57621a268b..ee55c25a66 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -6,6 +6,9 @@ Full Stack FastAPI Project + + +
diff --git a/frontend/src/components/Admin/AddUser.tsx b/frontend/src/components/Admin/AddUser.tsx index a0b534bd96..6f4e286c5e 100644 --- a/frontend/src/components/Admin/AddUser.tsx +++ b/frontend/src/components/Admin/AddUser.tsx @@ -75,7 +75,7 @@ const AddUser = () => { mutationFn: (data: UserCreate) => UsersService.createUser({ requestBody: data }), onSuccess: () => { - showSuccessToast("User created successfully") + showSuccessToast("Good job. The user was added successfully.") form.reset() setIsOpen(false) }, @@ -113,7 +113,7 @@ const AddUser = () => { render={({ field }) => ( - Email * + Email ID* + {/* Small visible demo: dismissible banner and floating feedback button */} +
+ + +
, ) + +function Banner() { + const [open, setOpen] = useState(true) + if (!open) return null + return ( +
+
+
+ UI updated +
Refreshed typography, subtle background gradients, buttons, and cards.
+
+
+ + +
+
+
+ ) +} + +function Fab() { + return ( + + Feedback + + ) +}