diff options
author | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2019-03-01 14:36:48 -0500 |
---|---|---|
committer | Michael Foiani <mfoiani2019@communiyschoolnaples.org> | 2019-03-01 14:36:48 -0500 |
commit | 0e0ccd6a0cbaa06987b4ca4f655f74c85127a496 (patch) | |
tree | dc290f2f874ea577096a5c79b906960fd2e98cc2 | |
parent | 2997ab54b03c8b5c8860ee1a512ec5eddc9641be (diff) |
Added sign up for dave and busters night
-rw-r--r-- | src/components/mao-competitions.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/mao-competitions.js b/src/components/mao-competitions.js index 121d3fc..d662a49 100644 --- a/src/components/mao-competitions.js +++ b/src/components/mao-competitions.js @@ -73,6 +73,10 @@ class MaoCompetitions extends connect(store)(PageViewElement) { .nunnComp { grid-area: test6; } + + .daveBust { + display: block; + } .regional-competition-grid { display: grid; @@ -175,11 +179,28 @@ class MaoCompetitions extends connect(store)(PageViewElement) { <div class="title"> <h2 class="underline">Upcoming Competition!</h2> + <p>Please take a look at the <strong>Dave and Busters</strong> trip for states. It will pop up on this page if you are signed in and registered for states.</p> <p><strong>March 16th Registration Deadline</strong> is due Saturday, March 2nd.</p> <p>Also, please register for nationals early! We need that headcount.</p> </div> </section> + <section hidden="${!(props.signedIn && props.registeredComps.includes('states'))}"> + <test-element + id="daveBust-test-element" + + class="daveBust" + elevation="1" + name = "Dave and Busters Trip" + information = "Please consider a Thursday night trip for dinner and games at Dave and Busters in Orlando. Register here for it if you want to participate in it." + + dates = ${["Thursday night of MAO States"]} + + signedIn="${props.signedIn}" + isRegistered="${props.registeredComps.includes('Dave_and_Busters')}" + on-register-comp="${() => store.dispatch(registerComp('Dave_and_Busters'))}"> + </test-element> + </section> <section> |