Skip to content

Commit

Permalink
update community pages
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhunter08 committed Oct 2, 2024
1 parent 1c1eb90 commit 26eb38a
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/layouts/community.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

{% set sidebar %}
{{ appSideNavigation({
label: 'Support',
label: 'Contributing and support',
currentPath: page.url,
sections: [
{
Expand Down
10 changes: 9 additions & 1 deletion docs/_includes/layouts/component.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/components/_side-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
8 changes: 8 additions & 0 deletions docs/community/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
7 changes: 7 additions & 0 deletions docs/community/propose-new-component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: layouts/community.njk
title: Propose a new component or pattern
description: ...
tags:
- contribution
---
14 changes: 14 additions & 0 deletions docs/community/suggest-a-change.md
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions docs/get-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.
<p>Anyone can contribute to the NHS App design system. You can share findings, suggest a change or propose a new component or pattern.</p>
<p><a href="/community/" class="nhsuk-link--no-visited-state">Find out how to contribute</a></p>
2 changes: 1 addition & 1 deletion docs/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<hr class="nhsuk-section-break nhsuk-section-break--xl nhsuk-section-break--visible app-section-break">
<div class="nhsuk-u-reading-width">
<h2>Contributing</h2>
<p>Anyone can contribute to the NHS App design system by proposing a new component or pattern.</p>
<p>Anyone can contribute to the NHS App design system. You can share findings, suggest a change or propose a new component or pattern.</p>
<p><a href="/community/" class="nhsuk-link--no-visited-state">Find out how to contribute</a></p>
</div>
</div>
Expand Down

0 comments on commit 26eb38a

Please sign in to comment.