x x x
x
Only portrait mode is currently supported - please rotate your device.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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;
}



.custom-section-container .learn-more-section a.external-link {
    background: #fff!important;
    border: 2px solid var(--tertiary-color)!important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1)!important;
	color: #000!important;
}
#main-content{
	position: relative;
}
.bannerImg{
	position: absolute;
	top: 100px;
	width: 100%;
	height: 400px;
	object-fit: cover;
	z-index: -1;
}


</style>

<script>
const END_DATE_TIME = Date.parse("12/05/2022 17:00:00 EST");
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 Strategy Challenge has passed.</h4> <p>Please contact us at <a href='mailto:morganstanley@theonevalleymorganstanleystrategychallenge@theonevalley.com'>morganstanley@theonevalley>morganstanleystrategychallenge@theonevalley.com</a> if you have any questions.</p></div>`);
}

if (DEADLINE_PASSED_STATE_VAR == true) {
	handleDeadlinePassedState();
}

$('.conditions-message')[0].innerHTML = $('.conditions-message')[0].innerHTML.replace("Innovation Awards", "Strategy Challenge")

window.addEventListener('load', ()=>{
 $('#main-content').append(`<img src='https://cdn.zeplin.io/616854d38df552be46f2b7ad/assets/49b1e703-a8e6-4a1c-b7d0-9a1bc623002a.png' class='bannerImg'>`)
})
  </script>

...