govuk-components 2.0.0b2 → 2.0.0b3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6865ba0192a8b3b74dbf3606bdb5c223f6e8ccd200257779d4e55516e07765a5
|
4
|
+
data.tar.gz: a97b96623bc61a2ed3a1d1cd18b65c7e5a77ac0070fd65d22bd2d35f5763f68b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7382fc831161df5683e09d30f7f8e296f6019fd6137e476556e9f0056a45c644cade8f66db02ef05c57984a977a3bd82d53781259612cb4513b1a30290e495e3
|
7
|
+
data.tar.gz: 7961d834d1c290a9bd3ac4b79b145013b943eb4ada59f983ebb20461e692aedfd1944130f194ca4a65f041aeb938dcd629e751f42573e84d7a6980be521153e5
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<%= tag.header(class: classes, role: 'banner', data: { module: 'govuk-header' }, **html_attributes) do %>
|
2
2
|
<%= tag.div(class: container_classes) do %>
|
3
3
|
<div class="govuk-header__logo">
|
4
|
-
<%= link_to(
|
4
|
+
<%= link_to(homepage_url, class: %w(govuk-header__link govuk-header__link--homepage)) do %>
|
5
5
|
<span class="govuk-header__logotype">
|
6
6
|
<% if custom_logo.present? %>
|
7
7
|
<%= custom_logo %>
|
@@ -21,10 +21,10 @@
|
|
21
21
|
<% end %>
|
22
22
|
</div>
|
23
23
|
|
24
|
-
<% if
|
24
|
+
<% if service_name.present? || items.present? %>
|
25
25
|
<div class="govuk-header__content">
|
26
|
-
<% if
|
27
|
-
<%= link_to(
|
26
|
+
<% if service_name.present? %>
|
27
|
+
<%= link_to(service_name, service_url, class: %w(govuk-header__link govuk-header__link--service-name)) %>
|
28
28
|
<% end %>
|
29
29
|
|
30
30
|
<% if items.any? %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.0b3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DfE developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|