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>

div#custom-footer {
    display: none;
}
.main-container {
    min-height: calc(100vh - 50px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
div#toggle {
    display: none;
}
input#signupButton {
	background-color: var(--primary-color) !important;
}


div.signContainer {
	position: relative;
}
div.bigImageContainer {
	position: absolute;
	right: 0px;
	height: 100%;
}

#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("03/23/2023 2318:00:00 PST");
    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 Inclusive Ventures Lab has passed.</h4>
                <p>Contact <a href="mailto:msivl@morganstanley.com">msivl@morganstanley.com</a> for Americas and <a href="mailto:emsivl@morganstanley.com">emsivl@morganstanley.com</a> for EMEA with any inquiries.</p>
            </div>`);
        document.getElementsByClassName("formContainer")[0].style.width = "unset";
        document.getElementsByClassName("formContainer")[0].style.marginRight = "unset";
    }

    if (DEADLINE_PASSED_STATE_VAR === true) {
        handleDeadlinePassedState();
    }
</script>

...