File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ @import " govuk_publishing_components/individual_component_support" ;
2
+
3
+ .app-promo {
4
+ padding-top : govuk-spacing (6 );
5
+ border-top : 4px solid $govuk-brand-colour ;
6
+ margin-top : govuk-spacing (8 );
7
+
8
+ @include govuk-media-query ($from : " tablet" ) {
9
+ margin-top : govuk-spacing (9 );
10
+ }
11
+
12
+ .gem-c-image-card {
13
+ display : flex ;
14
+ margin-bottom : 0 ;
15
+ }
16
+
17
+ .gem-c-image-card__description {
18
+ text-wrap : balance ;
19
+ }
20
+
21
+ .gem-c-image-card__image-wrapper.gem-c-image-card__image-wrapper--one-third {
22
+ flex-basis : 100px ;
23
+ }
24
+ }
Original file line number Diff line number Diff line change 1
1
<%
2
+ add_view_stylesheet("sign-in")
2
3
# These components aren't found in the templates, but the styles are still
3
4
# needed as they're used within the sign in page's `content_item`.
4
5
add_gem_component_stylesheet("document-list")
71
72
text : t ( "help.sign_in.search_for_a_service_button" ) ,
72
73
secondary_solid : true %>
73
74
</ form >
75
+
76
+ < div class ="govuk-!-width-full app-promo ">
77
+ <%= render "govuk_publishing_components/components/image_card" , {
78
+ two_thirds : true ,
79
+ href : "/guidance/download-the-govuk-app" ,
80
+ image_src : asset_path ( "app-promo/govuk-app-icon.png" ) ,
81
+ heading_text : "Get the GOV.UK app" ,
82
+ description : "Your government services and information, on the go." ,
83
+ data_attributes : {
84
+ module : "ga4-link-tracker" ,
85
+ ga4_link : {
86
+ event_name : "navigation" ,
87
+ type : "image card" ,
88
+ } ,
89
+ } ,
90
+ } %>
91
+ </ div >
92
+
74
93
</ div >
75
94
</ div >
Original file line number Diff line number Diff line change 22
22
"views/_service-manual-topic.scss" => "views/_service-manual-topic.css" ,
23
23
"views/_service-toolkit.scss" => "views/_service-toolkit.css" ,
24
24
"views/_sidebar-navigation.scss" => "views/_sidebar-navigation.css" ,
25
+ "views/_sign-in.scss" => "views/_sign-in.css" ,
25
26
"views/_specialist-document.scss" => "views/_specialist-document.css" ,
26
27
"views/_travel-advice.scss" => "views/_travel-advice.css" ,
27
28
"views/_landing_page.scss" => "views/_landing_page.css" ,
You can’t perform that action at this time.
0 commit comments