import { toast } from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; export const notifyProfileEdit = () => { toast.success( Your details were successfully updated! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyProfilePicChange = () => { toast.success( Your profile picture was successfully changed! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyLogoChange = () => { toast.success( Your logo was successfully changed! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyJobAdEdit = () => { toast.success( Job advertisement updated successfully! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyJobAdPost = () => { toast.success( Job advertisement posted successfully! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyJobAdDelete = () => { toast.success( Job advertisement deleted successfully! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyAppStatusUpdate = () => { toast.success( Status updated successfully! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyJobAdApply = () => { toast.success( Your application was successfully sent! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyAccessUpdate = (companyName) => { toast.success( {companyName}'s access was successfully changed! , { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false }); } export const notifyIncorrectEmailOrPassword = () => { toast.error( Incorrect email or password. Please try again., { position: "bottom-right", autoClose: 5000, hideProgressBar: false, closeOnClick: true, pauseOnHover: false, draggable: true, progress: undefined, theme: "dark", pauseOnFocusLoss: false } ); }