Skip to content

Commit 0d1dad6

Browse files
committed
CCM-10893 Version updates
1 parent fe583a1 commit 0d1dad6

File tree

4 files changed

+17
-21
lines changed

4 files changed

+17
-21
lines changed

frontend/public/lib/nhsuk-frontend-10.0.0.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/public/lib/nhsuk-frontend-10.0.0.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/app/layout.tsx

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,28 @@ export const metadata: Metadata = {
1010
title: content.global.mainLayout.title,
1111
description: content.global.mainLayout.description,
1212
icons: {
13-
icon: {
14-
url: `${getBasePath()}/lib/assets/favicons/favicon-192x192.png`,
15-
sizes: '192x192',
16-
},
17-
shortcut: {
18-
url: `${getBasePath()}/lib/assets/favicons/favicon.ico`,
19-
type: 'image/x-icon',
20-
},
13+
icon: [
14+
{
15+
url: `${getBasePath()}/assets/images/favicon.ico`,
16+
sizes: '48x48',
17+
},
18+
{
19+
url: `${getBasePath()}/assets/images/favicon.svg`,
20+
type: 'image/svg+xml',
21+
sizes: 'any',
22+
},
23+
],
2124
apple: {
22-
url: `${getBasePath()}/lib/assets/favicons/apple-touch-icon-180x180.png`,
25+
url: `${getBasePath()}/assets/images/nhsuk-icon-180.png`,
2326
},
2427
other: [
2528
{
2629
rel: 'mask-icon',
27-
url: `${getBasePath()}/lib/assets/favicons/favicon.svg`,
30+
url: `${getBasePath()}/assets/images/nhsuk-icon-mask.svg`,
2831
color: '#005eb8',
2932
},
3033
],
3134
},
32-
other: {
33-
'msapplication-TileImage': `${getBasePath()}/lib/assets/favicons/mediumtile-144x144.png`,
34-
'msapplication-TileColor': '#005eb8',
35-
'msapplication-square70x70logo': `${getBasePath()}/lib/assets/favicons/smalltile-70x70.png`,
36-
'msapplication-square150x150logo': `${getBasePath()}/lib/assets/favicons/mediumtile-150x150.png`,
37-
'msapplication-wide310x150logo': `${getBasePath()}/lib/assets/favicons/widetile-310x150.png`,
38-
'msapplication-square310x310logo': `${getBasePath()}/lib/assets/favicons/largetile-310x310.png`,
39-
},
4035
};
4136

4237
export const dynamic = 'force-dynamic';
@@ -49,6 +44,7 @@ export default function RootLayout({
4944
return (
5045
<html lang='en'>
5146
<head>
47+
<link rel='manifest' href={`${getBasePath()}/assets/manifest.json`} />
5248
<script
5349
src={`${getBasePath()}/lib/nhsuk-frontend-10.0.0.min.js`}
5450
defer

frontend/src/styles/nhsuk-frontend-10.0.0.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)