Skip to content

Commit cfb1d3b

Browse files
DavidBiddlechao-xian
authored andcommitted
update asset URLs
1 parent cdc44f9 commit cfb1d3b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/views/layouts/base.html.erb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88
<%= csrf_meta_tags %>
99
<%= csp_meta_tag %>
1010

11-
<link rel="icon" sizes="48x48" href="<%= vite_asset_path "#{govuk_assets_path}/images/favicon.ico" %>">
12-
<link rel="icon" sizes="any" href="<%= vite_asset_path "#{govuk_assets_path}/images/favicon.svg" %>" type="image/svg+xml">
13-
<link rel="mask-icon" href="<%= vite_asset_path "#{govuk_assets_path}/images/govuk-icon-mask.svg" %>" color="#0b0c0c">
14-
<link rel="apple-touch-icon" href="<%= vite_asset_path "#{govuk_assets_path}/images/govuk-icon-180.png"%>">
11+
<meta name="theme-color" content="#1d70b8">
12+
<link rel="icon" sizes="48x48" href="<%= vite_asset_path "#{govuk_assets_path}/rebrand/images/favicon.ico" %>">
13+
<link rel="icon" sizes="any" href="<%= vite_asset_path "#{govuk_assets_path}/rebrand/images/favicon.svg" %>" type="image/svg+xml">
14+
<link rel="mask-icon" href="<%= vite_asset_path "#{govuk_assets_path}/rebrand/images/govuk-icon-mask.svg" %>" color="#1d70b8">
15+
<link rel="apple-touch-icon" href="<%= vite_asset_path "#{govuk_assets_path}/rebrand/images/govuk-icon-180.png"%>">
1516
<%# This manifest file and the icons it references are currently being served from the `public` folder. %>
1617
<%# TODO: update the build to either generate the manifest with references to fingerprinted assets, or automatically copy the manifest and its dependencies to `public`. %>
17-
<link rel="manifest" href="/icons/manifest.json">
18-
<meta property="og:image" content="<%= vite_asset_path "#{govuk_assets_path}/images/govuk-opengraph-image.png" %>">
18+
<link rel="manifest" href="/rebrand/manifest.json">
19+
<meta property="og:image" content="<%= vite_asset_path "#{govuk_assets_path}/rebrand/images/govuk-opengraph-image.png" %>">
1920

2021
<%= vite_stylesheet_tag 'application.scss' %>
2122

0 commit comments

Comments
 (0)