x
x
x
x
Only portrait mode is currently supported - please rotate your device.
...
Custom section | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
HTML |
---|
<style> #deadline-passed-signup { Â Â display: flex; flex-direction: column; justify-content: center; font-size: 16px; background-color: var(--main-background); margin-bottom: 100px; padding: 20px; margin-top: 10px; } #deadline-passed-signup h4 { font-size: 18px; font-weight: bold !important; } </style> <script> const END_DATE_TIME = Date.parse("7/11/2022 14:00:00 PDT"); const DEADLINE_PASSED_STATE_VAR = END_DATE_TIME < Date.now(); const handleDeadlinePassedState = () => { $("form[name='signupform']").html(`<div id='deadline-passed-signup'><h4>The deadline for the Morgan Stanley Innovation Awards has passed.</h4> <p>Please contact us at <a href='mailto:morganstanley@theonevalley.com'>morganstanley@theonevalley.com</a> if you have any questions.</p></div>`); } </script> <style> #deadline-passed-signup { Â Â display: flex; flex-direction: column; justify-content: center; font-size: 16px; background-color: var(--main-background); margin-bottom: 100px; padding: 20px; margin-top: 10px; } #deadline-passed-signup h4 { font-size: 18px; font-weight: bold !important; } if (DEADLINE_PASSED_STATE_VAR == true) { handleDeadlinePassedState(); } </style>script> |
OneValley