From 945b102d1a1380c0ee0baa8cf1de1ead4ddf56b3 Mon Sep 17 00:00:00 2001 From: TEJAS <98630752+tejaskh3@users.noreply.github.com> Date: Thu, 24 Oct 2024 19:40:01 +0530 Subject: [PATCH] Dev to Main Sync (#949) * Subscription feature (#936) * feat: add form to collect subscription data * feat: add form to collect subscription data * WIP: add ember-phone-input * feat: add not loggedin and subscribed screen and integreate API * feat: fixing bug * fix: bug to show form even if user is already subscribed * fix: urls * fix: urls * fix: urls * delete: service subscribe test * fix: resolve comments * Update app/components/header.hbs Co-authored-by: Mehul Kiran Chaudhari <55375534+MehulKChaudhari@users.noreply.github.com> * fix: comments and remove modal * fix: phone number input * fix: content change * fix: remove card * fix: remove comments * fix:subscribe message --------- Co-authored-by: Vinit khandal <111434418+vinit717@users.noreply.github.com> Co-authored-by: Mehul Kiran Chaudhari <55375534+MehulKChaudhari@users.noreply.github.com> * subscription feature fixes (#944) * fix: navbar & css & phone validation * fix: PR comments * feat: add error to in valid input * fix: lint --------- Co-authored-by: Vinit khandal <111434418+vinit717@users.noreply.github.com> Co-authored-by: Mehul Kiran Chaudhari <55375534+MehulKChaudhari@users.noreply.github.com> --- app/components/header.hbs | 2 +- app/components/join-section.hbs | 3 + app/constants/regex.js | 2 + app/constants/urls.js | 1 + app/controllers/subscribe.js | 100 ++++++++++++ app/models/user.js | 3 + app/router.js | 1 + app/routes/subscribe.js | 3 + app/styles/app.css | 2 + app/styles/base-modal.module.css | 6 +- app/styles/join-section.module.css | 27 ++++ app/styles/phone-input.module.css | 23 +++ app/styles/subscribe.module.css | 242 +++++++++++++++++++++++++++++ app/templates/subscribe.hbs | 49 ++++++ config/environment.js | 6 + package.json | 1 + yarn.lock | 24 +++ 17 files changed, 493 insertions(+), 2 deletions(-) create mode 100644 app/constants/regex.js create mode 100644 app/controllers/subscribe.js create mode 100644 app/routes/subscribe.js create mode 100644 app/styles/phone-input.module.css create mode 100644 app/styles/subscribe.module.css create mode 100644 app/templates/subscribe.hbs diff --git a/app/components/header.hbs b/app/components/header.hbs index dfd80d93..54224285 100644 --- a/app/components/header.hbs +++ b/app/components/header.hbs @@ -51,7 +51,7 @@ class="nav__element" href={{this.STATUS_URL}} >Status - {{#if @dev}} + {{#if @dev}}
Thanks for your interest! You're all set to receive notifications when new applications open.
+Get notified as soon as new applications open and never miss an update!
+We're currently not accepting new applications. Please check back in 2024.
+Be the first to know when applications open!
+ + {{/if}} + {{/if}} + {{else}} + + {{/if}} +