Skip to content

Commit 734f547

Browse files
Move to nhsuk namespace
1 parent c8fb8df commit 734f547

File tree

368 files changed

+422
-411
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

368 files changed

+422
-411
lines changed

.github/workflows/sass.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
- name: Check compilation
4242
run: |
4343
mkdir -p .tmp
44-
time sass packages/nhsuk-frontend/src/nhsuk.scss > .tmp/check.css
44+
time sass packages/nhsuk-frontend/src/nhsuk/all.scss > .tmp/check.css
4545
4646
- name: Check load paths
4747
run: |
4848
mkdir -p .tmp
49-
time sh -c 'echo "@import "\""nhsuk"\"";" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check1.css'
50-
time sh -c 'echo "@forward "\""nhsuk"\"";" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check2.css'
51-
time sh -c 'echo "@use "\""nhsuk"\"" as *;" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check3.css'
49+
time sh -c 'echo "@import "\""nhsuk/all"\"";" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check1.css'
50+
time sh -c 'echo "@forward "\""nhsuk/all"\"";" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check2.css'
51+
time sh -c 'echo "@use "\""nhsuk/all"\"" as *;" | sass --stdin --load-path packages/nhsuk-frontend/src > .tmp/check3.css'
5252
5353
# Check output for uncompiled Sass
5454
- name: Check output

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
10501050

10511051
You need to:
10521052

1053-
- replace `{% from 'components/panel/macro.njk' import panel %}` with `{% from 'components/card/macro.njk' import card %}`
1053+
- replace `{% from 'nhsuk/components/panel/macro.njk' import panel %}` with `{% from 'nhsuk/components/card/macro.njk' import card %}`
10541054
- replace `{{ panel({` with `{{ card({`
10551055
- replace `"html"` with the relevant arguments - for example: `"heading"` and `"descriptionHtml"`
10561056
- declare the heading level size and heading sizes (with helper classes) because the default heading level is now 2 instead of 3
@@ -1060,7 +1060,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
10601060
#### Old Nunjucks macro (Panel)
10611061

10621062
```
1063-
{% from 'components/panel/macro.njk' import panel %}
1063+
{% from 'nhsuk/components/panel/macro.njk' import panel %}
10641064
10651065
{{ panel({
10661066
"html": "<h3>If you need help now, but it’s not an emergency</h3> <p>Go to <a href=\"#\">111.nhs.uk</a> or <a href=\"#\">call 111</a>.</p>"
@@ -1072,7 +1072,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
10721072
##### Changing the heading level
10731073

10741074
```
1075-
{% from 'components/card/macro.njk' import card %}
1075+
{% from 'nhsuk/components/card/macro.njk' import card %}
10761076
10771077
{{ card({
10781078
"heading": "If you need help now, but it’s not an emergency",
@@ -1084,7 +1084,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
10841084
##### Changing the heading size
10851085

10861086
```
1087-
{% from 'components/card/macro.njk' import card %}
1087+
{% from 'nhsuk/components/card/macro.njk' import card %}
10881088
10891089
{{ card({
10901090
"heading": "If you need help now, but it’s not an emergency",
@@ -1132,7 +1132,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
11321132

11331133
You need to:
11341134

1135-
- replace `{% from 'components/promo/macro.njk' import promo %}` with `{% from 'components/card/macro.njk' import card %}`
1135+
- replace `{% from 'nhsuk/components/promo/macro.njk' import promo %}` with `{% from 'nhsuk/components/card/macro.njk' import card %}`
11361136
- replace `{{ promo({` with `{{ card({`
11371137
- declare the heading level size and heading sizes (with helper classes) because the default heading level is now 2 instead of 3
11381138

@@ -1141,7 +1141,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
11411141
#### Old Nunjucks macro (Promo)
11421142

11431143
```
1144-
{% from 'components/promo/macro.njk' import promo %}
1144+
{% from 'nhsuk/components/promo/macro.njk' import promo %}
11451145
11461146
{{ promo({
11471147
"href": "https://www.nhs.uk",
@@ -1155,7 +1155,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
11551155
##### Changing the heading level
11561156

11571157
```
1158-
{% from 'components/card/macro.njk' import card %}
1158+
{% from 'nhsuk/components/card/macro.njk' import card %}
11591159
11601160
{{ card({
11611161
"href": "https://www.nhs.uk",
@@ -1168,7 +1168,7 @@ The list panel component can be recreated by adding `nhsuk-list--border` to the
11681168
##### Changing the heading size
11691169

11701170
```
1171-
{% from 'components/card/macro.njk' import card %}
1171+
{% from 'nhsuk/components/card/macro.njk' import card %}
11721172
11731173
{{ card({
11741174
"href": "https://www.nhs.uk",

gulpfile.mjs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ gulp.task(
5454
gulp.task('watch', () =>
5555
Promise.all([
5656
gulp.watch(
57-
[join(config.paths.pkg, 'src/**/*.scss')],
57+
[join(config.paths.pkg, 'src/nhsuk/**/*.scss')],
5858
gulp.series(['style'])
5959
),
60-
gulp.watch([join(config.paths.pkg, 'src/**/*.js')], gulp.series(['script']))
60+
gulp.watch(
61+
[join(config.paths.pkg, 'src/nhsuk/**/*.js')],
62+
gulp.series(['script'])
63+
)
6164
])
6265
)
6366

@@ -75,7 +78,7 @@ gulp.task('docs:watch', () =>
7578
gulp.watch(
7679
[
7780
join(config.paths.app, 'src/**/*.njk'),
78-
join(config.paths.pkg, 'src/**/*.njk')
81+
join(config.paths.pkg, 'src/nhsuk/**/*.njk')
7982
],
8083
buildHTML
8184
),
@@ -84,7 +87,10 @@ gulp.task('docs:watch', () =>
8487
.on('change', browserSync.reload),
8588
gulp.watch([join(config.paths.root, 'dist/*.min.{css,css.map}')], copyCSS),
8689
gulp.watch([join(config.paths.root, 'dist/*.min.{js,js.map}')], copyJS),
87-
gulp.watch([join(config.paths.pkg, 'src/assets/**/*')], copyBinaryAssets)
90+
gulp.watch(
91+
[join(config.paths.pkg, 'src/nhsuk/assets/**/*')],
92+
copyBinaryAssets
93+
)
8894
])
8995
)
9096

packages/nhsuk-frontend-review/src/_templates/layout.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% extends 'template.njk' %}
1+
{% extends 'nhsuk/template.njk' %}
22
{% block pageTitle %}{{ title }} - NHS.UK Frontend{% endblock %}
33

44
{% set assetPath = "/nhsuk-frontend/assets" %}

packages/nhsuk-frontend-review/src/_templates/page.njk

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
{% from 'components/header/macro.njk' import header %}
2-
{% from 'components/footer/macro.njk' import footer %}
3-
{% from 'components/skip-link/macro.njk' import skipLink %}
4-
{% from 'components/action-link/macro.njk' import actionLink %}
5-
{% from 'components/breadcrumb/macro.njk' import breadcrumb %}
6-
{% from 'components/card/macro.njk' import card %}
7-
{% from 'components/contents-list/macro.njk' import contentsList %}
8-
{% from 'components/details/macro.njk' import details %}
9-
{% from 'components/hero/macro.njk' import hero %}
10-
{% from 'components/do-dont-list/macro.njk' import list %}
11-
{% from 'components/images/macro.njk' import image %}
12-
{% from 'components/inset-text/macro.njk' import insetText %}
13-
{% from 'components/pagination/macro.njk' import pagination %}
14-
{% from 'components/skip-link/macro.njk' import skipLink %}
15-
{% from 'components/tables/macro.njk' import table %}
16-
{% from 'components/warning-callout/macro.njk' import warningCallout %}
17-
{% from 'components/back-link/macro.njk' import backLink %}
18-
{% from 'components/button/macro.njk' import button %}
19-
{% from 'components/checkboxes/macro.njk' import checkboxes %}
20-
{% from 'components/date-input/macro.njk' import dateInput %}
21-
{% from 'components/error-message/macro.njk' import errorMessage %}
22-
{% from 'components/error-summary/macro.njk' import errorSummary %}
23-
{% from 'components/fieldset/macro.njk' import fieldset %}
24-
{% from 'components/hint/macro.njk' import hint %}
25-
{% from 'components/input/macro.njk' import input %}
26-
{% from 'components/label/macro.njk' import label %}
27-
{% from 'components/radios/macro.njk' import radios %}
28-
{% from 'components/select/macro.njk' import select %}
29-
{% from 'components/summary-list/macro.njk' import summaryList %}
30-
{% from 'components/textarea/macro.njk' import textarea %}
1+
{% from 'nhsuk/components/header/macro.njk' import header %}
2+
{% from 'nhsuk/components/footer/macro.njk' import footer %}
3+
{% from 'nhsuk/components/skip-link/macro.njk' import skipLink %}
4+
{% from 'nhsuk/components/action-link/macro.njk' import actionLink %}
5+
{% from 'nhsuk/components/breadcrumb/macro.njk' import breadcrumb %}
6+
{% from 'nhsuk/components/card/macro.njk' import card %}
7+
{% from 'nhsuk/components/contents-list/macro.njk' import contentsList %}
8+
{% from 'nhsuk/components/details/macro.njk' import details %}
9+
{% from 'nhsuk/components/hero/macro.njk' import hero %}
10+
{% from 'nhsuk/components/do-dont-list/macro.njk' import list %}
11+
{% from 'nhsuk/components/images/macro.njk' import image %}
12+
{% from 'nhsuk/components/inset-text/macro.njk' import insetText %}
13+
{% from 'nhsuk/components/pagination/macro.njk' import pagination %}
14+
{% from 'nhsuk/components/skip-link/macro.njk' import skipLink %}
15+
{% from 'nhsuk/components/tables/macro.njk' import table %}
16+
{% from 'nhsuk/components/warning-callout/macro.njk' import warningCallout %}
17+
{% from 'nhsuk/components/back-link/macro.njk' import backLink %}
18+
{% from 'nhsuk/components/button/macro.njk' import button %}
19+
{% from 'nhsuk/components/checkboxes/macro.njk' import checkboxes %}
20+
{% from 'nhsuk/components/date-input/macro.njk' import dateInput %}
21+
{% from 'nhsuk/components/error-message/macro.njk' import errorMessage %}
22+
{% from 'nhsuk/components/error-summary/macro.njk' import errorSummary %}
23+
{% from 'nhsuk/components/fieldset/macro.njk' import fieldset %}
24+
{% from 'nhsuk/components/hint/macro.njk' import hint %}
25+
{% from 'nhsuk/components/input/macro.njk' import input %}
26+
{% from 'nhsuk/components/label/macro.njk' import label %}
27+
{% from 'nhsuk/components/radios/macro.njk' import radios %}
28+
{% from 'nhsuk/components/select/macro.njk' import select %}
29+
{% from 'nhsuk/components/summary-list/macro.njk' import summaryList %}
30+
{% from 'nhsuk/components/textarea/macro.njk' import textarea %}
3131

3232
{% extends 'layout.njk' %}
3333

packages/nhsuk-frontend-review/src/components/action-link/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Action link' %}
2-
{% from 'components/action-link/macro.njk' import actionLink %}
2+
{% from 'nhsuk/components/action-link/macro.njk' import actionLink %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/all.njk

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{% set title = 'Components' %}
2-
{% from 'components/action-link/macro.njk' import actionLink %}
3-
{% from 'components/breadcrumb/macro.njk' import breadcrumb %}
4-
{% from 'components/card/macro.njk' import card %}
5-
{% from 'components/character-count/macro.njk' import characterCount %}
6-
{% from 'components/contents-list/macro.njk' import contentsList %}
7-
{% from 'components/details/macro.njk' import details %}
8-
{% from 'components/header/macro.njk' import header %}
9-
{% from 'components/footer/macro.njk' import footer %}
10-
{% from 'components/do-dont-list/macro.njk' import list %}
11-
{% from 'components/images/macro.njk' import image %}
12-
{% from 'components/inset-text/macro.njk' import insetText %}
13-
{% from 'components/pagination/macro.njk' import pagination %}
14-
{% from 'components/skip-link/macro.njk' import skipLink %}
15-
{% from "components/summary-list/macro.njk" import summaryList %}
16-
{% from 'components/tables/macro.njk' import table %}
17-
{% from 'components/tag/macro.njk' import tag %}
18-
{% from 'components/warning-callout/macro.njk' import warningCallout %}
19-
{% from 'components/back-link/macro.njk' import backLink %}
20-
{% from 'components/button/macro.njk' import button %}
21-
{% from 'components/checkboxes/macro.njk' import checkboxes %}
22-
{% from 'components/date-input/macro.njk' import dateInput %}
23-
{% from 'components/input/macro.njk' import input %}
24-
{% from 'components/radios/macro.njk' import radios %}
25-
{% from 'components/select/macro.njk' import select %}
26-
{% from 'components/textarea/macro.njk' import textarea %}
27-
{% from 'components/tabs/macro.njk' import tabs %}
2+
{% from 'nhsuk/components/action-link/macro.njk' import actionLink %}
3+
{% from 'nhsuk/components/breadcrumb/macro.njk' import breadcrumb %}
4+
{% from 'nhsuk/components/card/macro.njk' import card %}
5+
{% from 'nhsuk/components/character-count/macro.njk' import characterCount %}
6+
{% from 'nhsuk/components/contents-list/macro.njk' import contentsList %}
7+
{% from 'nhsuk/components/details/macro.njk' import details %}
8+
{% from 'nhsuk/components/header/macro.njk' import header %}
9+
{% from 'nhsuk/components/footer/macro.njk' import footer %}
10+
{% from 'nhsuk/components/do-dont-list/macro.njk' import list %}
11+
{% from 'nhsuk/components/images/macro.njk' import image %}
12+
{% from 'nhsuk/components/inset-text/macro.njk' import insetText %}
13+
{% from 'nhsuk/components/pagination/macro.njk' import pagination %}
14+
{% from 'nhsuk/components/skip-link/macro.njk' import skipLink %}
15+
{% from "nhsuk/components/summary-list/macro.njk" import summaryList %}
16+
{% from 'nhsuk/components/tables/macro.njk' import table %}
17+
{% from 'nhsuk/components/tag/macro.njk' import tag %}
18+
{% from 'nhsuk/components/warning-callout/macro.njk' import warningCallout %}
19+
{% from 'nhsuk/components/back-link/macro.njk' import backLink %}
20+
{% from 'nhsuk/components/button/macro.njk' import button %}
21+
{% from 'nhsuk/components/checkboxes/macro.njk' import checkboxes %}
22+
{% from 'nhsuk/components/date-input/macro.njk' import dateInput %}
23+
{% from 'nhsuk/components/input/macro.njk' import input %}
24+
{% from 'nhsuk/components/radios/macro.njk' import radios %}
25+
{% from 'nhsuk/components/select/macro.njk' import select %}
26+
{% from 'nhsuk/components/textarea/macro.njk' import textarea %}
27+
{% from 'nhsuk/components/tabs/macro.njk' import tabs %}
2828

2929
{% extends 'page.njk' %}
3030

packages/nhsuk-frontend-review/src/components/back-link/button.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Back link as a button' %}
2-
{% from 'components/back-link/macro.njk' import backLink %}
2+
{% from 'nhsuk/components/back-link/macro.njk' import backLink %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/back-link/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Back link' %}
2-
{% from 'components/back-link/macro.njk' import backLink %}
2+
{% from 'nhsuk/components/back-link/macro.njk' import backLink %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/breadcrumb/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Breadcrumb' %}
2-
{% from 'components/breadcrumb/macro.njk' import breadcrumb %}
2+
{% from 'nhsuk/components/breadcrumb/macro.njk' import breadcrumb %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/disabled.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button disabled' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/link.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button as a link' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/prevent-double-click.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button - double click prevented ' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/reverse.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button reverse' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block main %}

packages/nhsuk-frontend-review/src/components/button/secondary.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button secondary' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/button/warning.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Button warning' %}
2-
{% from 'components/button/macro.njk' import button %}
2+
{% from 'nhsuk/components/button/macro.njk' import button %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/basic-card.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Basic card' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/card-group.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Card group' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/card-primary.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - primary card (with chevron)' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/card-secondary.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - secondary' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/card-with-image.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Card with an image' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/care-card-emergency.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Care card emergency (red and black)' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/care-card-non-urgent.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Care card non-urgent (blue)' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/care-card-urgent.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Care card urgent (red)' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

packages/nhsuk-frontend-review/src/components/card/clickable-card.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set title = 'Card - Clickable card' %}
2-
{% from 'components/card/macro.njk' import card %}
2+
{% from 'nhsuk/components/card/macro.njk' import card %}
33
{% extends 'example.njk' %}
44

55
{% block content %}

0 commit comments

Comments
 (0)