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 ( -
+
); diff --git a/src/components/OnBoarding/OnBoarding.css b/src/components/OnBoarding/OnBoarding.css index 191bc88..4801b36 100644 --- a/src/components/OnBoarding/OnBoarding.css +++ b/src/components/OnBoarding/OnBoarding.css @@ -2,13 +2,22 @@ min-height: 100vh; margin: 0px; animation-name: fade-in; - animation-duration: 0.3s; - animation-timing-function: ease-in-out; + animation-duration: 0.3s; + background: none !important; + animation-timing-function: ease-in-out; + color: #fff !important; +} +#onBoarding-page h1 { + font-weight: bold; } .control-width { max-width: 50%; margin-left: 20px; } +body, html { + background: linear-gradient(rgb(17, 67, 87), rgb(242, 148, 146)) !important; +} + @keyframes fade-in { from { opacity: 0; @@ -18,4 +27,15 @@ opacity: 1; transform: scale(1); } +} + +/* For Firefox */ +input[type='number'] { + -moz-appearance:textfield; +} +/* Webkit browsers like Safari and Chrome */ +input[type=number]::-webkit-inner-spin-button, +input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; } \ No newline at end of file diff --git a/src/components/OnBoarding/OnBoarding.jsx b/src/components/OnBoarding/OnBoarding.jsx index e7fd16f..1b507d1 100644 --- a/src/components/OnBoarding/OnBoarding.jsx +++ b/src/components/OnBoarding/OnBoarding.jsx @@ -46,12 +46,12 @@ class OnBoarding extends React.Component {

Welcome aboard

-

- Techspardha18 Prime -

-
+

+ Techspardha'18 Prime +

+

To continue we need a few more details about you... - +


diff --git a/src/components/User/User.css b/src/components/User/User.css index 12140c2..8cf100f 100644 --- a/src/components/User/User.css +++ b/src/components/User/User.css @@ -36,6 +36,7 @@ body, html { } #myProfile-heading { margin-bottom: 30px; + font-weight: bold !important; } #user-name, #user-college, #user-year { text-transform: capitalize;