Skip to content

Commit

Permalink
[1238] Update favicon references
Browse files Browse the repository at this point in the history
  • Loading branch information
avinhurry committed Feb 20, 2024
1 parent c5eb2d6 commit 7f0fef4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
20 changes: 10 additions & 10 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= canonical_tag %>
<%= tag.meta name: "viewport", content: "width=device-width, initial-scale=1" %>
<%= tag.meta property: "og:image", content: asset_path("govuk-frontend/govuk/assets/images/govuk-opengraph-image.png") %>
<%= tag.meta name: "theme-color", content: "#0b0c0c" %>
<%= tag.meta name: "ROBOTS", content: "NOINDEX, NOFOLLOW" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/favicon.ico" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-mask-icon.svg", rel: "mask-icon", type: "image/svg", color: "#0b0c0c" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png", rel: "apple-touch-icon", type: "image/png" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png", rel: "apple-touch-icon", type: "image/png", size: "152x152" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png", rel: "apple-touch-icon", type: "image/png", size: "167x167" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png", rel: "apple-touch-icon", type: "image/png", size: "180x180" %>
<%= tag.meta(name: "viewport", content: "width=device-width, initial-scale=1") %>
<%= tag.meta(property: "og:image", content: image_path("govuk-opengraph-image.png")) %>
<%= tag.meta(name: "theme-color", content: "#0b0c0c") %>
<%= tag.meta(name: "format-detection", content: "telephone=no") %>
<%= favicon_link_tag image_path("favicon.ico"), type: nil, sizes: "48x48" %>
<%= favicon_link_tag image_path("favicon.svg"), type: "image/svg+xml", sizes: "any" %>
<%= favicon_link_tag image_path("govuk-icon-mask.svg"), rel: "mask-icon", color: "#0b0c0c", type: nil %>
<%= favicon_link_tag image_path("govuk-icon-180.png"), rel: "apple-touch-icon", type: nil %>
<%= stylesheet_link_tag "accessible-autocomplete/dist/accessible-autocomplete.min" %>
<%= stylesheet_link_tag "publish_application" %>
<%= javascript_include_tag "publish/application", "data-turbo-track": "reload", defer: true %>
Expand Down
12 changes: 6 additions & 6 deletions app/views/layouts/component_preview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/favicon.ico" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-mask-icon.svg", rel: "mask-icon", type: "image/svg", color: "#0b0c0c" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png", rel: "apple-touch-icon", type: "image/png" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png", rel: "apple-touch-icon", type: "image/png", size: "152x152" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png", rel: "apple-touch-icon", type: "image/png", size: "167x167" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png", rel: "apple-touch-icon", type: "image/png", size: "180x180" %>
<%= favicon_link_tag image_path("favicon.ico"), type: nil, sizes: "48x48" %>
<%= favicon_link_tag image_path("favicon.svg"), type: "image/svg+xml", sizes: "any" %>
<%= favicon_link_tag image_path("govuk-icon-mask.svg"), rel: "mask-icon", color: "#0b0c0c", type: nil %>
<%= favicon_link_tag image_path("govuk-icon-180.png"), rel: "apple-touch-icon", type: nil %>
<%= stylesheet_link_tag "accessible-autocomplete/dist/accessible-autocomplete.min" %>
<%= stylesheet_link_tag "find_application" %>
<%= stylesheet_link_tag "publish_application" %>
Expand Down
19 changes: 10 additions & 9 deletions app/views/layouts/find_layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= canonical_tag %>
<%= tag.meta name: "viewport", content: "width=device-width, initial-scale=1" %>
<%= tag.meta property: "og:image", content: asset_path("govuk-frontend/govuk/assets/images/govuk-opengraph-image.png") %>
<%= tag.meta name: "theme-color", content: "#0b0c0c" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/favicon.ico" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-mask-icon.svg", rel: "mask-icon", type: "image/svg", color: "#0b0c0c" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon.png", rel: "apple-touch-icon", type: "image/png" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-152x152.png", rel: "apple-touch-icon", type: "image/png", size: "152x152" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-167x167.png", rel: "apple-touch-icon", type: "image/png", size: "167x167" %>
<%= favicon_link_tag "govuk-frontend/govuk/assets/images/govuk-apple-touch-icon-180x180.png", rel: "apple-touch-icon", type: "image/png", size: "180x180" %>
<%= tag.meta(name: "viewport", content: "width=device-width, initial-scale=1") %>
<%= tag.meta(property: "og:image", content: image_path("govuk-opengraph-image.png")) %>
<%= tag.meta(name: "theme-color", content: "#0b0c0c") %>
<%= tag.meta(name: "format-detection", content: "telephone=no") %>
<%= favicon_link_tag image_path("favicon.ico"), type: nil, sizes: "48x48" %>
<%= favicon_link_tag image_path("favicon.svg"), type: "image/svg+xml", sizes: "any" %>
<%= favicon_link_tag image_path("govuk-icon-mask.svg"), rel: "mask-icon", color: "#0b0c0c", type: nil %>
<%= favicon_link_tag image_path("govuk-icon-180.png"), rel: "apple-touch-icon", type: nil %>
<%= stylesheet_link_tag "find_application" %>
<%= javascript_include_tag "find/application", "data-turbo-track": "reload", defer: true %>
Expand Down

0 comments on commit 7f0fef4

Please sign in to comment.