Skip to content

Commit 2a9792c

Browse files
construction and more pages.
1 parent b03aca0 commit 2a9792c

File tree

23 files changed

+114
-42
lines changed

23 files changed

+114
-42
lines changed

_data/contact/benefits.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- heading: Email
2+
description: |
3+
Get in touch with us to learn how the Solution Architecture Framework (SAF) can help you improve your solution architecture processes.
4+
5+
- heading: Github
6+
description: |
7+
Use github to report issues, suggest improvements, or contribute to the SAF documentation. Your feedback is valuable in enhancing the framework.
8+
9+
- heading: Slack
10+
description: |
11+
Our public Slack channel is a great place to connect with other SAF users, share experiences, and get support. Join the conversation and be part of the SAF community.

_data/home/contact.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
heading: Get in touch with the NHSE Solution Architecture Team
22
description: |
33
We're here to help you with any questions or feedback you may have about the NHSE Solution Architecture Framework. Whether you're an architect, developer, or stakeholder, we want to hear from you.
4-
image: sa.png
4+
image: contact.png
55
image_alt: |
66
""

_includes/components/image.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<figure class="nhsuk-image {{ include.class | xml_escape }}">
2-
{% assign src = '/assets/images/' | prepend: site.baseurl | append: include.src %}
2+
{% assign src = '/assets/images/' | append: include.src | relative_url %}
3+
34
{% if include.src contains 'https://' %}
45
<img class="nhsuk-image__img" src='{{ include.src | uri_escape }}' alt='{{ include.alt | xml_escape }}' />
56
{% else %}

_includes/construction.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
{% if page.published %}
3+
{% else %}
4+
5+
<p>👷🚧🏗️👷‍♂️👷‍♀️ This page is under construction.</p>
6+
{% endif %}

_includes/saf.html

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,3 @@
1-
{% for saf_dimension in site.saf_dimensions %}
2-
<h3> <a href="{{ saf_dimension.url | relative_url }}">{{saf_dimension.title}}</a></h3>
3-
4-
5-
<table>
6-
{% for saf in site.safs %}
7-
{% if saf.dimension != saf_dimension.name %}
8-
{% continue %}
9-
{% endif %}
10-
<tr>
11-
<td>
12-
<a href="{{ saf.url | relative_url }}">
13-
{{ saf.title }}
14-
</a>
15-
</td>
16-
<td>
17-
{{saf.content | markdownify | remove: '<p>' | remove: '</p>' }}
18-
</td>
19-
</tr>
20-
{% endfor %}
21-
</table>
22-
23-
{% endfor %}
1+
{% include construction.html %}
2+
<h1>{{ page.title }}: <a href="{{ saf_dimension.url | relative_url }}">{{ saf_dimension.title }}</a> </h1>
3+
{{ content }}

_includes/safs.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% for saf_dimension in site.saf_dimensions %}
2+
<h3> <a href="{{ saf_dimension.url | relative_url }}">{{saf_dimension.title}}</a></h3>
3+
4+
5+
<table>
6+
{% for saf in site.safs %}
7+
{% if saf.dimension != saf_dimension.name %}
8+
{% continue %}
9+
{% endif %}
10+
<tr>
11+
<td>
12+
<a href="{{ saf.url | relative_url }}">
13+
{{ saf.title }}
14+
</a>
15+
</td>
16+
<td>
17+
{{saf.content | markdownify | remove: '<p>' | remove: '</p>' }}
18+
</td>
19+
</tr>
20+
{% endfor %}
21+
</table>
22+
23+
{% endfor %}

_layouts/home.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
---
44
<main id="maincontent" role="main">
55

6+
67
{{ content }}
78

9+
10+
811
{%- include footer.html -%}
912

1013
</main>

_layouts/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
{% if page.section != undefined %}
3030
<heading class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</heading>
3131
{% endif %}
32+
{% include construction.html %}
3233
<h1>{{ page.title }}</h1>
34+
3335
{{ content }}
3436

3537
</div>

_layouts/saf.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
{% endif %}
4545

4646
{% assign saf_dimension = site.saf_dimensions | where: "name", page.dimension | first %}
47-
48-
<h1>{{ page.title }}: <a href="{{ saf_dimension.url | relative_url }}">{{ saf_dimension.title }}</a> </h1>
49-
50-
51-
{{ content }}
47+
{%- include saf.html -%}
5248

5349
</div>
5450
</div>

_layouts/saf_dimension.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{% if page.section != undefined %}
4343
<heading class="nhsuk-heading-s" style="margin-bottom: 0; color: #4c6272">{{ page.section }}</heading>
4444
{% endif %}
45-
45+
{% include construction.html %}
4646
<h1>{{ page.title }} </h1>
4747

4848
{{ content }}

0 commit comments

Comments
 (0)