From 87dd2d25e23b660c71742a97a39e210a154eca6e Mon Sep 17 00:00:00 2001 From: Michael Foiani Date: Thu, 5 Sep 2019 22:06:52 -0400 Subject: Updated all the dated text for the new year. Also allowed new class of 2023 to sign up. --- src/components/mao-account.js | 2 +- src/components/mao-app.js | 2 +- src/components/mao-competitions.js | 127 ++++--------------------------------- src/components/mao-home.js | 13 ++-- 4 files changed, 19 insertions(+), 125 deletions(-) (limited to 'src') diff --git a/src/components/mao-account.js b/src/components/mao-account.js index 75a54f1..0c3066d 100644 --- a/src/components/mao-account.js +++ b/src/components/mao-account.js @@ -207,7 +207,7 @@ class MaoAccount extends connect(store)(PageViewElement) { if( emailElement.value.includes('2022') || emailElement.value.includes('2021') || emailElement.value.includes('2020') || - emailElement.value.includes('2019') + emailElement.value.includes('2023') ) { if(divisonElement.value == "") { diff --git a/src/components/mao-app.js b/src/components/mao-app.js index 65a1841..034982b 100644 --- a/src/components/mao-app.js +++ b/src/components/mao-app.js @@ -231,7 +231,7 @@ class MaoApp extends connect(store)(LitElement) { diff --git a/src/components/mao-competitions.js b/src/components/mao-competitions.js index cd8e659..ddd433c 100644 --- a/src/components/mao-competitions.js +++ b/src/components/mao-competitions.js @@ -112,7 +112,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) { } .regional-comp6 { - grid-area: comp6; + grid-area: comp1; } .title { @@ -154,7 +154,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) { .regional-competition-grid { grid-template-areas: "title title title title title title" - "comp1 comp1 comp2 comp2 comp3 comp3" + "comp1 comp1 comp1 comp1 comp1 comp1" "comp4 comp4 comp5 comp5 comp6 comp6"; } @@ -178,8 +178,8 @@ class MaoCompetitions extends connect(store)(PageViewElement) {
-

Last competition.

-

States is next week! Only thing lieft is nationals!

+

Competitions

+

Competition season is far away, but when it comes, this page will be updated with the newest information.

@@ -194,7 +194,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) {

States

- +
- - - - -
-

Nationals

- -
- - - -
+ @@ -261,82 +229,11 @@ class MaoCompetitions extends connect(store)(PageViewElement) {

To be elgible for the state or national competiton, one must participate in at least 3 regional competitons.

-
- - -
- -
- - -
- -
- - -
- -
- - - -
- -
- - -
-
@@ -406,7 +303,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) { name = "Logs" information = "The LOGS test is a 3 part exam that compares your statewide and nationally based on your math subject. With registration, you must be able to attend all test dates." - dates = ${["November 30!", "To Be Determined", "To Be Determined"]} + dates = ${[]} signedIn="${props.signedIn}" isRegistered="${props.registeredComps.includes('Logs')}" on-register-comp="${() => store.dispatch(registerComp('Logs'))}"> @@ -421,7 +318,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) { name = "Mathcon" information = "The MathCon test has only one part, which varies in difficulty depending on your grade." - dates = ${["To Be Determined"]} + dates = ${[]} signedIn="${props.signedIn}" isRegistered="${props.registeredComps.includes('Mathcon')}" on-register-comp="${() => store.dispatch(registerComp('Mathcon'))}"> @@ -436,7 +333,7 @@ class MaoCompetitions extends connect(store)(PageViewElement) { name = "Math_Madness" information = "Math Madness is an online competition where CSN faces other schools. Most of these problems base from AMC or other competitions." - dates = ${["Every Thursday after school"]} + dates = ${[]} signedIn="${props.signedIn}" isRegistered="${props.registeredComps.includes('Math_Madness')}" on-register-comp="${() => store.dispatch(registerComp('Math_Madness'))}"> diff --git a/src/components/mao-home.js b/src/components/mao-home.js index 20bcac9..4147f52 100644 --- a/src/components/mao-home.js +++ b/src/components/mao-home.js @@ -72,10 +72,6 @@ class MaoHome extends PageViewElement { Scrapbook- Please upload any mao pictures from this or last year to this google drive. Jaime Trope will compile these into an amazing scrapbook for states! Upload Here
-
  • - T-shirts are in! See Mrs. Coombs to claim yours. -
  • -
  • If you haven't yet, please add this website to your home screen. It will act like an app. Cool!
  • @@ -89,10 +85,10 @@ class MaoHome extends PageViewElement { Dates

    - We meet once a week on D Day Flex. + We plan to meet once a week on D Day Flex.

    - Math Madness during lunch on Thursday. + Math Madness will start soon after the club fair.

    @@ -100,7 +96,7 @@ class MaoHome extends PageViewElement {

    Upcoming Dates

      -
    • States:\t April 11th
    • +
    • Club Fair:\t September 13th
    @@ -113,7 +109,8 @@ class MaoHome extends PageViewElement { Competitions

    - States and nationals are the last competitions. + Regional competitions begin in December, + but some locally held ones may begin before then (such as math madness).

    -- cgit v1.2.3-70-g09d2