Skip to content

Commit 8920c4f

Browse files
committed
PPHA-783: Add static icon and manifest files and config loading in layout
1 parent e3ee1c6 commit 8920c4f

9 files changed

Lines changed: 54 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
},
99
"cSpell.language": "en-GB",
1010
"cSpell.words": [
11+
"addgroup",
12+
"adduser",
1113
"columnheader",
1214
"dateutil",
1315
"DHSC",
@@ -31,12 +33,16 @@
3133
"qualitygate",
3234
"relativedelta",
3335
"responseset",
36+
"rollup",
3437
"rowgroup",
3538
"sonarsource",
3639
"stylesheet",
3740
"toplevel",
3841
"UKGDPR",
3942
"unsubmitted",
40-
"whitenoise"
43+
"userinfo",
44+
"venv",
45+
"whitenoise",
46+
"wsgi"
4147
],
4248
}

lung_cancer_screening/core/jinja2/layout.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set assetPath = STATIC_URL ~ "/assets" %}
1+
{% set assetPath = STATIC_URL %}
22

33
{% extends 'nhsuk/template.jinja' %}
44

14.7 KB
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Loading
1.05 KB
Loading
1.14 KB
Loading
3.23 KB
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"icons": [
3+
{
4+
"src": "images/favicon.ico",
5+
"type": "image/x-icon",
6+
"sizes": "48x48"
7+
},
8+
{
9+
"src": "images/favicon.svg",
10+
"type": "image/svg+xml",
11+
"sizes": "150x150",
12+
"purpose": "any"
13+
},
14+
{
15+
"src": "images/nhsuk-icon-180.png",
16+
"type": "image/png",
17+
"sizes": "180x180",
18+
"purpose": "maskable"
19+
},
20+
{
21+
"src": "images/nhsuk-icon-192.png",
22+
"type": "image/png",
23+
"sizes": "192x192",
24+
"purpose": "maskable"
25+
},
26+
{
27+
"src": "images/nhsuk-icon-512.png",
28+
"type": "image/png",
29+
"sizes": "512x512",
30+
"purpose": "maskable"
31+
},
32+
{
33+
"src": "images/nhsuk-icon-mask.svg",
34+
"type": "image/svg+xml",
35+
"sizes": "150x150",
36+
"purpose": "monochrome"
37+
}
38+
]
39+
}

0 commit comments

Comments
 (0)