diff --git a/public/images/startup.png b/public/images/startup.png index b65f7c5..a7e9150 100644 Binary files a/public/images/startup.png and b/public/images/startup.png differ diff --git a/src/actions/index.js b/src/actions/index.js index 75a55ae..16e6d03 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -85,7 +85,7 @@ const registerEvent = formData => (dispatch) => { services.registerEvent(formData).then((data) => { if (data.success) { dispatch(success('EVENT_REGISTERED_SUCCESS', data)); - SweetAlert('Registered SuccessFully', 'success'); + SweetAlert('Registered Successfully', 'success'); dispatch(getRegisteredEvents()); } else { dispatch(failure('EVENT_REGISTERED_FAILURE', data)); diff --git a/src/components/Events/Events.css b/src/components/Events/Events.css index 8649ca0..0d03f4d 100644 --- a/src/components/Events/Events.css +++ b/src/components/Events/Events.css @@ -29,6 +29,7 @@ body, html { border: 0px solid; transition: all 0.2s ease; margin-bottom: 20px; + min-width: 100%; } #events-page .card:hover { box-shadow: 0px 0px 10px 0px #565656; diff --git a/src/components/Events/Events.jsx b/src/components/Events/Events.jsx index b5b0e0f..64e9816 100644 --- a/src/components/Events/Events.jsx +++ b/src/components/Events/Events.jsx @@ -11,7 +11,7 @@ const checkUser = (registerEvent, eventCategory, eventName, history) => { if ((localStorage.getItem('token') ? jwtDecode(localStorage.getItem('token')).name : null)) { registerEvent(eventCategory, eventName); } else { - SweetAlert('Please Login to Register for an event', 'error'); + SweetAlert('Please Login to Register for an event', 'warning'); history.push('/'); } }; @@ -231,7 +231,7 @@ class Events extends React.Component { const str = e.eventName; if (str.match(re)) { return ( -
To continue we need a few more details about you... - +