Skip to content

Commit

Permalink
fix: remove join link from join button in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
satyam73 committed Feb 26, 2024
1 parent 175b3d7 commit 9e6b0ea
Showing 1 changed file with 32 additions and 26 deletions.
58 changes: 32 additions & 26 deletions app/components/join-section.hbs
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
{{#if this.isDevMode}}
<section data-test-join class='join'>
<h3 data-test-join-title class='join__title'>How to Join</h3>
<h2 data-test-join-title-highlighted class='join__title-highlighted'>Real Dev
Squad</h2>
<p data-test-para='1' class='join__para'>Our squad focuses on quality and we
want to work with people who are willing to be serious about their growth in
the squad.
</p>
<p data-test-para='2' class='join__para'>It's okay if you don't know much yet,
but it won't be okay to not put in any efforts for yourself. We want to
value everyone's time and efforts.
</p>
<LinkTo data-test-join-link @route='join' class='join__link'>Join the Squad</LinkTo>
</section>
<section data-test-join class='join'>
<h3 data-test-join-title class='join__title'>How to Join</h3>
<h2 data-test-join-title-highlighted class='join__title-highlighted'>Real
Dev Squad</h2>
<p data-test-para='1' class='join__para'>Our squad focuses on quality and we
want to work with people who are willing to be serious about their growth
in the squad.
</p>
<p data-test-para='2' class='join__para'>It's okay if you don't know much
yet, but it won't be okay to not put in any efforts for yourself. We want
to value everyone's time and efforts.
</p>
<LinkTo data-test-join-link @route='join' class='join__link'>Join the Squad</LinkTo>
</section>
{{else}}
<section data-test-join class='join'>
<h3 data-test-join-title class='join__title join__title--new'>How can you join?</h3>
<section data-test-join class='join'>
<h3 data-test-join-title class='join__title join__title--new'>How can you
join?</h3>

<p data-test-para='first' class='join__para join__para--new'>Our squad focuses on quality and we
want to work with people who are willing to be serious about their growth in
the squad.It's okay if you don't know much yet,
but it won't be okay to not put in any efforts for yourself. We want to
value everyone's time and efforts.
</p>
<p data-test-para='first' class='join__para join__para--new'>Our squad
focuses on quality and we want to work with people who are willing to be
serious about their growth in the squad.It's okay if you don't know much
yet, but it won't be okay to not put in any efforts for yourself. We want
to value everyone's time and efforts.
</p>

<LinkTo data-test-join-link @route='join' class='join__link join__link--new' @disabled={{true}}>Join the Squad</LinkTo>
<LinkTo
data-test-join-link
{{! @todo add join link route when join flow gets opened }}
@route='index'
class='join__link join__link--new'
@disabled={{true}}
>Join the Squad</LinkTo>
<p data-test-join-later-text class='join__later-text'>
We're currently not accepting new applications. Please check back in
2024.</p>
</section>
We're currently not accepting new applications. Please check back in 2024.</p>
</section>
{{/if}}

0 comments on commit 9e6b0ea

Please sign in to comment.