-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AUT-3779: Introduce mobile landing page
Phase 2 of the strategic app introduces a mobile specific landing pages. This commit introduces the page, making use of a new constant that holds the mappings between web and mobile templates.
- Loading branch information
Showing
4 changed files
with
54 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends "common/layout/base.njk" %} | ||
{% from "govuk/components/button/macro.njk" import govukButton %} | ||
|
||
{% set pageTitleName = 'mobileAppPages.signIn.title' | translate %} | ||
|
||
{% block content %} | ||
|
||
<h1 class="govuk-heading-l govuk-!-margin-top-0 govuk-!-margin-bottom-3">{{ 'mobileAppPages.signIn.header' | translate }} </h1> | ||
|
||
<p class="govuk-body">{{ 'mobileAppPages.signIn.paragraph' | translate }}</p> | ||
|
||
<form action="/sign-in-or-create" method="post" novalidate="novalidate"> | ||
|
||
<input type="hidden" name="_csrf" value="{{ csrfToken }}" /> | ||
<input type="hidden" name="supportInternationalNumbers" value="{{ supportInternationalNumbers }}" /> | ||
|
||
{{ govukButton({ | ||
text: 'mobileAppPages.signIn.button' | translate, | ||
classes: "govuk-button--primary", | ||
attributes: { | ||
"id": "sign-in-button" | ||
} | ||
}) }} | ||
|
||
</form> | ||
|
||
{{ga4OnPageLoad({ nonce: scriptNonce, statusCode: "200", englishPageTitle: pageTitleName, taxonomyLevel1: "authentication", taxonomyLevel2: "Home", contentId: "9cd55996-3f12-4e79-adf3-0ec3c4faf7ce", loggedInStatus: false, dynamic: true })}} | ||
{% endblock %} |
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