aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/mao-competitions.js21
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>