Skip to content

Commit 97c21b1

Browse files
Split site into 3 sections
1 parent dae4734 commit 97c21b1

File tree

6 files changed

+41
-43
lines changed

6 files changed

+41
-43
lines changed

app/includes/posts.njk

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/includes/shared_projects.njk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<h2 class="govuk-heading-l" id="projects">Projects</h2>
21
<div class="govuk-grid-row">
32
{% set columns = cycler("1", "2") %}
43
{% for repo in repos | includes("topics", "project") | sort(false, true, "name") %}

app/index.md

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ title: Welcome to X-GOVUK
55
description: A community-maintained collection of resources which are useful for working on GOV.UK services.
66
---
77

8-
{% include "../app/includes/shared_projects.njk" %}
9-
10-
{% include "../app/includes/posts.njk" %}
11-
12-
<hr class="govuk-section-break govuk-section-break--visible govuk-section-break--xl govuk-!-margin-top-0">
13-
14-
<h2 class="govuk-heading-l" id="resources">Resources</h2>
15-
168
<div class="govuk-grid-row">
179
<div class="govuk-grid-column-one-half-from-desktop govuk-!-margin-bottom-4">
1810

19-
### Design
11+
## Design
2012

21-
#### Design systems, patterns and components
13+
### Design systems, patterns and components
2214

2315
- [GOV.UK Design System](https://design-system.service.gov.uk)
2416
- [Digital Land Design System](https://digital-land.github.io/design-system/)
@@ -41,38 +33,38 @@ description: A community-maintained collection of resources which are useful for
4133
- [Maidstone Design System](https://digitalservices.maidstone.gov.uk/about-us/design-system)
4234
- [Essex County Council's design and patterns library](https://www.essex.gov.uk/essex-county-councils-design-and-patterns-library)
4335

44-
#### Other design resources
36+
### Content design
37+
38+
- [Government Digital Service style guide](https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style)
39+
- [Department for Education style guide](https://design.education.gov.uk/content-design/style-guide/)
40+
- [GOV.WALES style guide](https://gov.wales/govwales-style-guide)
41+
- [HMRC content style guide](https://design.tax.service.gov.uk/hmrc-content-style-guide/)
42+
- [Home Office style guide](https://design.homeoffice.gov.uk/content-style-guide)
43+
- [MoJ content style guide](https://design-patterns.service.justice.gov.uk/content-standards/style-guide/)
44+
- [NHS content style guide](https://service-manual.nhs.uk/content)
45+
46+
### Other design resources
4547

4648
- [Accessibility Personas](https://alphagov.github.io/accessibility-personas/)
4749
- [Department for Education Design Manual](https://design.education.gov.uk)
4850
- [Statistics on usage of `govuk-frontend` components](https://github.com/x-govuk/govuk-frontend-component-stats)
4951

50-
### User research
52+
## User research
5153

5254
- [Department for Education User Research manual](https://user-research.education.gov.uk)
5355
- [Local government user research library](https://research.localgov.digital/)
5456

5557
</div>
5658
<div class="govuk-grid-column-one-half-from-desktop govuk-!-margin-bottom-4">
5759

58-
### Content design
59-
60-
- [Government Digital Service style guide](https://www.gov.uk/guidance/style-guide/a-to-z-of-gov-uk-style)
61-
- [Department for Education style guide](https://design.education.gov.uk/content-design/style-guide/)
62-
- [GOV.WALES style guide](https://gov.wales/govwales-style-guide)
63-
- [HMRC content style guide](https://design.tax.service.gov.uk/hmrc-content-style-guide/)
64-
- [Home Office style guide](https://design.homeoffice.gov.uk/content-style-guide)
65-
- [MoJ content style guide](https://design-patterns.service.justice.gov.uk/content-standards/style-guide/)
66-
- [NHS content style guide](https://service-manual.nhs.uk/content)
67-
68-
### Prototyping
60+
## Prototyping
6961

7062
- [GOV.UK Prototype Kit](https://prototype-kit.service.gov.uk/docs/)
7163
- [GOV.UK Prototype Wizard](https://github.com/x-govuk/govuk-prototype-wizard)
7264
- [Navigation radios extension](https://github.com/x-govuk/prototype-navigation-radios)
7365
- [GOV.UK Figma library](https://www.figma.com/file/NWuFffKvPQhl3aJ9nKU0p3/GOV.UK-Design-System?node-id=0%3A1)
7466

75-
### Frontend
67+
## Frontend
7668

7769
- [GOV.UK Frontend](https://frontend.design-system.service.gov.uk)
7870
- [GOV.UK Frontend Flask](https://github.com/LandRegistry/govuk-frontend-flask)
@@ -86,11 +78,11 @@ description: A community-maintained collection of resources which are useful for
8678
- [Twirl](https://github.com/hmrc/play-frontend-hmrc)
8779
- [WTForms](https://github.com/LandRegistry/govuk-frontend-wtf)
8880

89-
### Analysis
81+
## Analysis
9082

9183
- [Quarto templates](https://github.com/DataS-DHSC/dhsc_quarto_template)
9284

93-
### Product management
85+
## Product management
9486

9587
- [Product management learning list](https://docs.google.com/spreadsheets/d/15bimOfA5EYpvfC3UbU8MUV-qUjhSKdcrukHisQqNzhU/edit#gid=0)
9688
- [Learn by doing (for associate and mid-level product managers)](https://github.com/alphagov/Product-Managers-Learn-By-Doing)

app/posts/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ pagination:
66
data: collections.post
77
size: 20
88
reverse: true
9-
eleventyNavigation:
10-
parent: X-GOVUK
119
---

app/projects/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: product
3+
title: Community projects
4+
description: Projects being developed across government teams
5+
---
6+
7+
{% include "../../app/includes/shared_projects.njk" %}

eleventy.config.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,22 @@ export default function (eleventyConfig) {
2020
headingPermalinks: true,
2121
url: process.env.GITHUB_ACTIONS && 'https://x-govuk.github.io/',
2222
stylesheets: ['/assets/application.css'],
23+
serviceNavigation: {
24+
navigation: [
25+
{
26+
text: 'Home',
27+
href: '/'
28+
},
29+
{
30+
text: 'Community projects',
31+
href: '/projects'
32+
},
33+
{
34+
text: 'Posts',
35+
href: '/posts'
36+
}
37+
]
38+
},
2339
footer: {
2440
meta: {
2541
items: [

0 commit comments

Comments
 (0)