Skip to content

Commit

Permalink
refactor(mon-pix): adjust support link on reset demand form.
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelleBonnemay committed Nov 7, 2024
1 parent 3597503 commit f0629fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import PixButton from '@1024pix/pix-ui/components/pix-button';
import PixButtonLink from '@1024pix/pix-ui/components/pix-button-link';
import PixInput from '@1024pix/pix-ui/components/pix-input';
import PixMessage from '@1024pix/pix-ui/components/pix-message';
import { on } from '@ember/modifier';
Expand Down Expand Up @@ -114,17 +113,13 @@ export default class PasswordResetDemandForm extends Component {
</PixButton>
</div>

<p class="authentication-password-reset-demand-form__help">
{{t "components.authentication.password-reset-demand-form.no-email-question"}}
<PixButtonLink
@variant="tertiary"
@href="{{t 'components.authentication.password-reset-demand-form.contact-us-link.link-url'}}"
target="_blank"
class="authentication-password-reset-demand-form__help-contact-us-link"
>
<section class="authentication-password-reset-demand-form__help">
<h2>
{{t "components.authentication.password-reset-demand-form.no-email-question"}}</h2>
<a href="{{t 'components.authentication.password-reset-demand-form.contact-us-link.link-url'}}">
{{t "components.authentication.password-reset-demand-form.contact-us-link.link-text"}}
</PixButtonLink>
</p>
</a>
</section>
</form>
{{/if}}
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,22 @@
}

&__help {
@extend %pix-body-s;
@extend %pix-body-m;

margin-top: var(--pix-spacing-4x);
color: var(--pix-neutral-70);
text-align: center;
}
display: flex;
gap: var(--pix-spacing-2x);
margin-top: var(--pix-spacing-8x);
color: var(--pix-neutral-500);

> a {
color: var(--pix-neutral-800);
font-weight: var(--pix-font-bold);
text-decoration: underline;
}

&__help-contact-us-link {
display: inline;
padding: 0;
}


}

.authentication-password-reset-demand-received-info {
Expand Down Expand Up @@ -65,4 +70,4 @@

margin-top: var(--pix-spacing-4x);
}
}
}

0 comments on commit f0629fa

Please sign in to comment.