diff --git a/docs/_includes/layouts/community.njk b/docs/_includes/layouts/community.njk index 9986ea4..2abf1e7 100644 --- a/docs/_includes/layouts/community.njk +++ b/docs/_includes/layouts/community.njk @@ -24,7 +24,7 @@ {% set sidebar %} {{ appSideNavigation({ - label: 'Support', + label: 'Contributing and support', currentPath: page.url, sections: [ { diff --git a/docs/_includes/layouts/component.njk b/docs/_includes/layouts/component.njk index 9af423c..5c86cd4 100644 --- a/docs/_includes/layouts/component.njk +++ b/docs/_includes/layouts/component.njk @@ -24,8 +24,16 @@ {% set sidebar %} {{ appSideNavigation({ + label: 'Components', currentPath: page.url, - items: collections.component | sort(attribute="data.title") + sections: [ + { + heading: { + text: 'Components' + }, + items: collections.component | sort(attribute="data.title") + } + ] }) }} {% endset %} diff --git a/docs/assets/css/components/_side-navigation.scss b/docs/assets/css/components/_side-navigation.scss index 02f2f9c..154b631 100644 --- a/docs/assets/css/components/_side-navigation.scss +++ b/docs/assets/css/components/_side-navigation.scss @@ -14,7 +14,7 @@ color: $color_nhsuk-grey-1; font-weight: normal; margin: 0; - padding: nhsuk-spacing(2) nhsuk-spacing(2) nhsuk-spacing(2) 0; + padding: nhsuk-spacing(1) nhsuk-spacing(2) nhsuk-spacing(2) 0; } .app-side-navigation__list { diff --git a/docs/community/index.md b/docs/community/index.md index faa05ec..ffabc07 100644 --- a/docs/community/index.md +++ b/docs/community/index.md @@ -4,3 +4,11 @@ title: Community --- The NHS App design system supports the design, build, and delivery of accessible and consistent services. It does this by helping people, teams, professions, and communities across the NHS App to learn from the experiences of each other, contribute and share knowledge, and reuse as much as possible. + +Anyone can contribute. You just need a [GitHub account](https://github.com/signup) so you can: + +- [share your findings](/community/share-findings/) +- [suggest a change](/community/suggest-a-change/) +- [propose a new component or pattern](/community/propose-new-component/) + +If you need any help using GitHub, you can [contact the design system team](/community/help-and-feedback/). diff --git a/docs/community/propose-new-component.md b/docs/community/propose-new-component.md new file mode 100644 index 0000000..e2e6dfe --- /dev/null +++ b/docs/community/propose-new-component.md @@ -0,0 +1,7 @@ +--- +layout: layouts/community.njk +title: Propose a new component or pattern +description: ... +tags: + - contribution +--- diff --git a/docs/community/suggest-a-change.md b/docs/community/suggest-a-change.md new file mode 100644 index 0000000..f704112 --- /dev/null +++ b/docs/community/suggest-a-change.md @@ -0,0 +1,14 @@ +--- +layout: layouts/community.njk +title: Suggest a change +description: You may have questions about our current components and patterns guidance, or changes you want to suggest. There might be something you feel we haven’t covered, or a different approach you’ve noticed another organisation taking, for example. +tags: + - contribution +--- + +You can post any feedback like this on the relevant GitHub issue template: + +- [Bug report](https://github.com/nhsuk/nhsapp-frontend/issues/new?assignees=&labels=type%3A+bug%2C+awaiting+triage&projects=&template=bug_report.yaml&title=%5BBug%5D%3A+) – if something isn’t working as expected +- [Design defect](https://github.com/nhsuk/nhsapp-frontend/issues/new?assignees=&labels=type%3A+bug%2C+awaiting+triage&projects=&template=design_defect.yaml&title=%5BBug%5D%3A+) – if there is a visual design issue +- [Documentation](https://github.com/nhsuk/nhsapp-frontend/issues/new?assignees=&labels=type%3A+documentation%2C+awaiting+triage&projects=&template=documentation.yaml&title=%5BDocumentation%5D%3A+) – to suggest adding new documentation, or report missing, incorrect or unclear documentation +- [Feature request](https://github.com/nhsuk/nhsapp-frontend/issues/new?assignees=&labels=type%3A+feature+request%2C+awaiting+triage&projects=&template=new_feature.yaml&title=%5BFeature+request%5D%3A+) – to suggest a new feature or idea diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 2ade8bc..e33f510 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -8,9 +8,9 @@ To make your service consistent with the NHS, you should start by checking what If something is not in the NHS design system, you should check what exists in the: - NHS App design system -- [government department pattern libraries](https://github.com/ctdesign/gov-design-systems-list) - [NHS community backlog](https://github.com/nhsuk/nhsuk-service-manual-community-backlog) - [NHS App design system backlog](https://github.com/orgs/nhsuk/projects/8) +- [government department pattern libraries](https://github.com/ctdesign/gov-design-systems-list) Reuse as much as possible and iterate based on user needs. @@ -25,4 +25,5 @@ To use these components and patterns you can either: ## Contributing to the design system -You can contribute your research findings, designs or code to the NHS App design system by commenting on [existing issues](https://github.com/orgs/nhsuk/projects/8) or starting a [new issue](https://github.com/nhsuk/nhsapp-frontend/issues/new/choose) on GitHub. +
Anyone can contribute to the NHS App design system. You can share findings, suggest a change or propose a new component or pattern.
+ diff --git a/docs/index.njk b/docs/index.njk index 3f6635b..f7d419d 100644 --- a/docs/index.njk +++ b/docs/index.njk @@ -51,7 +51,7 @@Anyone can contribute to the NHS App design system by proposing a new component or pattern.
+Anyone can contribute to the NHS App design system. You can share findings, suggest a change or propose a new component or pattern.