-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #892 from Real-Dev-Squad/develop
Dev to Main sync
- Loading branch information
Showing
21 changed files
with
2,592 additions
and
1,021 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
/blueprints/*/files/ | ||
|
||
# compiled output | ||
/declarations/ | ||
/dist/ | ||
|
||
# misc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,75 @@ | ||
<div data-test-status-card class="status-card"> | ||
<div data-test-status-card-heading-icon class="status-card__heading-Icon"> | ||
{{#each this.APPLICATION_STATUSES as |statusDetails|}} | ||
{{#if (eq @status statusDetails.status)}} | ||
<h3 | ||
data-test-status-card-heading | ||
class="status-card__heading heading__h3" | ||
> | ||
{{statusDetails.heading}} | ||
</h3> | ||
<FaIcon | ||
data-test-icon={{@status}} | ||
@icon={{statusDetails.icon}} | ||
@size="lg" | ||
class="{{statusDetails.icon}}-icon" | ||
/> | ||
{{/if}} | ||
{{/each}} | ||
</div> | ||
<div | ||
data-test-status-card-description-container | ||
class="status-card__description" | ||
> | ||
{{#if (eq @status this.APPLICATION_STATUS_TYPES.pending)}} | ||
<p data-test-status-card-description-1> | ||
Your application is currently in pending state, please regularly check | ||
this page for invite link. | ||
</p> | ||
{{else if (eq @status this.APPLICATION_STATUS_TYPES.rejected)}} | ||
<p data-test-status-card-description-1> | ||
Your application is rejected | ||
</p> | ||
{{#if @feedback}} | ||
<p data-test-status-card-description-2> | ||
<strong>Here's the feedback for your application</strong> | ||
</p> | ||
<p data-test-status-card-description-3> | ||
{{@feedback}} | ||
{{#if this.currentStatusDetails}} | ||
<div data-test-status-card-heading-icon class="status-card__heading-icon"> | ||
<h3 data-test-status-card-heading class="status-card__heading heading__h3"> | ||
{{this.currentStatusDetails.heading}} | ||
</h3> | ||
<FaIcon | ||
data-test-icon={{this.status}} | ||
@icon={{this.currentStatusDetails.icon}} | ||
@size="2x" | ||
class="{{this.currentStatusDetails.icon}}-icon" | ||
/> | ||
</div> | ||
|
||
<div data-test-status-card-description-container class="status-card__description"> | ||
{{#if (eq this.status this.APPLICATION_STATUS_TYPES.pending)}} | ||
<p data-test-status-card-description-1> | ||
Your application is currently under review. Please check this page regularly for updates. If you don't receive an update within 10 days, please reach out to Ankush on <a href={{this.ANKUSH_TWITTER}} target="_blank" rel="noopener noreferrer">X</a> by providing below link 👇. | ||
</p> | ||
{{/if}} | ||
{{else if (eq @status this.APPLICATION_STATUS_TYPES.accepted)}} | ||
<p data-test-status-card-description-1> | ||
<b>Congratulations!</b> | ||
Your application is accepted by us | ||
</p> | ||
{{#if @feedback}} | ||
<p data-test-status-card-description-2> | ||
<strong>Here's the feedback for your application</strong> | ||
{{else if (eq this.status this.APPLICATION_STATUS_TYPES.rejected)}} | ||
<p data-test-status-card-description-1> | ||
We're sorry to inform you that your application has been rejected. | ||
</p> | ||
<p data-test-status-card-description-3> | ||
{{@feedback}} | ||
|
||
{{#if this.feedback}} | ||
<div class="status-card__feedback"> | ||
<p data-test-status-card-feedback-title><strong>Feedback:</strong></p> | ||
<p data-test-status-card-feedback-content>{{this.feedback}}</p> | ||
</div> | ||
{{/if}} | ||
|
||
<p data-test-status-card-description-encouragement> | ||
Don't be discouraged. We encourage you to apply again in the future. | ||
</p> | ||
{{else if (eq this.status this.APPLICATION_STATUS_TYPES.accepted)}} | ||
<p data-test-status-card-description-1 class="status-card__congrats"><b>Congratulations!</b> Your application has been accepted.</p> | ||
{{#if this.feedback}} | ||
<div class="status-card__feedback"> | ||
<p data-test-status-card-description-2><strong>Feedback:</strong></p> | ||
<p data-test-status-card-description-3>{{this.feedback}}</p> | ||
</div> | ||
{{/if}} | ||
<p data-test-status-card-description-4>You're almost there! Join our Discord server to connect with the team.</p> | ||
{{/if}} | ||
<p data-test-status-card-description-4> | ||
Take the Next Step and Join Our Discord Server. | ||
</p> | ||
</div> | ||
|
||
{{#if (eq this.status this.APPLICATION_STATUS_TYPES.pending)}} | ||
<div class="joining__copy"> | ||
<h3 class="details" data-test-link-text>Here is your personalized link</h3> | ||
<p id="url" class="copy__link">{{this.introLink}}</p> | ||
<CopyButton | ||
data-test-copy-btn | ||
@target="#url" | ||
@onSuccess={{this.onSuccess}} | ||
@onError={{this.onError}} | ||
class="btn btn-dark" | ||
> | ||
Copy | ||
</CopyButton> | ||
</div> | ||
{{/if}} | ||
|
||
{{#if (eq this.status this.APPLICATION_STATUS_TYPES.accepted)}} | ||
<div class="status-card__buttons"> | ||
<Reusables::Button | ||
@text="Join Discord" | ||
@variant="dark" | ||
@onClick={{@joinDiscord}} | ||
@test="join-discord-link" | ||
@type="button" | ||
/> | ||
</div> | ||
{{/if}} | ||
</div> | ||
<div class="status-card__buttons"> | ||
<Reusables::Button | ||
@text="Go to home" | ||
@variant="dark" | ||
{{!-- @onClick={{@joinDiscord}} --}} | ||
@onClick={{this.redirectToHome}} | ||
@test="join-discord-link" | ||
@type="button" | ||
{{!-- @disabled={{if | ||
(not-eq @status this.APPLICATION_STATUS_TYPES.accepted) | ||
true | ||
false | ||
}} --}} | ||
{{! TODO : This was done for onboarding developers and should be removed later }} | ||
{{!-- @disabled={{true}} --}} | ||
/> | ||
</div> | ||
{{/if}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.