-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create One Login bridging page #968
Changes from 1 commit
5af4ec3
0c96676
adaa702
226345e
8410f8f
b7a8ff5
385e30a
2cf7064
784f116
7b776be
9765caf
6d74e30
65a4a22
f262a40
e17b30e
391c35b
2b4f1a5
208c212
3b7ba6a
b556ac3
0c6fa46
93923c3
948fa98
932ba80
9c8bdda
a21cd78
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
|
||
- unless current_user | ||
.govuk-button-group | ||
= govuk_button_link_to 'gov-one/info', class: "govuk-button--start" do | ||
= govuk_button_link_to gov_one_info_path, class: "govuk-button--start" do | ||
| #{t('home.gov-one-button')} | ||
svg.govuk-button__start-icon xmlns='http://www.w3.org/2000/svg' width='17.5' height='19' viewBox='0 0 33 40' aria-hidden='true' focusable='false' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Think I'd left a comment in the code about moving this CTA button into a partial. If you can manage it as part of this please do. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
path fill='currentColor' d='M0 0h13l20 20-20 20H0l20-20z' |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
get 'my-modules', to: 'learning#show' # @see User#course | ||
get 'about-training', to: 'training/modules#index', as: :course_overview | ||
get 'gov-one/info', to: 'gov_one#info' | ||
get 'gov-one/info', to: 'gov_one#info', as: :gov_one_info | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Out of curiosity what name was it given before? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point! Not necessary |
||
|
||
get '/404', to: 'errors#not_found', via: :all | ||
get '/422', to: 'errors#unprocessable_entity', via: :all | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure of the syntax here but your HTML contains an empty div that is adding spacing. For cleanliness it needs removing -
The button at the bottom should be in the grid as follows:
<div class="govuk-!-margin-top-9 govuk-grid-row"><div class="govuk-grid-column-full"><a data-module="govuk-button" draggable="false" role="button" class="govuk-button govuk-button--start" href="/gov-one/info">Start your training now<svg aria-hidden="true" class="govuk-button__start-icon" focusable="false" height="19" viewBox="0 0 33 40" width="17.5" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h13l20 20-20 20H0l20-20z" fill="currentColor"></path></svg></a></div></div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, thanks there was a div left over from the old design that I hadn't deleted