Skip to content

Commit

Permalink
rename folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vickytnz committed Nov 2, 2024
1 parent 349074a commit 16413bd
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</h1>

{% block makePrototype %}

<p>Add text in makePrototype block </p>
{% endblock %}

Expand All @@ -41,7 +41,7 @@
nextPage: next.title if next
}) }}


{% include "how-tos/includes/back-button.html" %}

</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set next = { "title" : "Link your index page to your start page" , "link" :
"link-index-page-start-page" } %} {% set prev = { "title" : "Let the user change
their answers" , "link" : "let-user-change-answers" } %} {% extends
'how-tos/make-first-prototype/_BASE.njk' %} {% block makePrototype %}
'how-tos/build-basic-prototype/_BASE.njk' %} {% block makePrototype %}

<p>
Our first question asks the user if they have had symptoms of magical powers
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set pageTitle = "Create pages" %} {% set next = { "title" : "Link your pages
together" , "link" : "link-pages-together" } %} {% set prev = { "title" : "Open
your prototype in your editor" , "link" : "open-prototype-in-editor" } %} {%
extends 'how-tos/make-first-prototype/_BASE.njk' %} {% block makePrototype %}
extends 'how-tos/build-basic-prototype/_BASE.njk' %} {% block makePrototype %}

<p>Create pages by copying template files that come with the Prototype Kit.</p>
<h3 id="create-a-start-page">Create a start page</h3>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% set noCaption = true %}
{% set pageTitle = "Build a basic prototype using the NHS.UK prototype kit" %}
{% set next = { "title" : "Open your prototype in your editor" , "link" : "open-prototype-in-editor" } %}

{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}

Expand Down Expand Up @@ -53,6 +52,7 @@ <h2>
</ul>


<a class="nhsuk-button" href="open-prototype-in-editor">Start now</a>


{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set next = { "title" : "Show different pages depending on user input" , "link" : "branching" } %}
{% set prev = { "title" : "Show the user’s answers on your ‘Check answers’ page" , "link" : "show-users-answers" } %}

{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}
<h2 id="make-the-change-links-work">Make the ‘Change’ links work</h2>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set pageTitle = "Link your index page to your start page" %} {% set prev = {
"title" : "Show different pages depending on user input" , "link" : "branching"
} %} {% extends 'how-tos/make-first-prototype/_BASE.njk' %} {% block
} %} {% extends 'how-tos/build-basic-prototype/_BASE.njk' %} {% block
makePrototype %}

<p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set pageTitle = "Link your pages together" %} {% set next = { "title" : "Use
components from the Design System" , "link" : "use-components" } %} {% set prev
= { "title" : "Create pages" , "link" : "create-pages" } %} {% extends
'how-tos/make-first-prototype/_BASE.njk' %} {% block makePrototype %}
'how-tos/build-basic-prototype/_BASE.njk' %} {% block makePrototype %}

<div class="app-prose-scope">
<p>To take users from one page to another, you can use either:</p>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

{% set pageTitle = "Open your prototype in your editor" %}
{% set next = { "title" : "Create pages" , "link" : "create-pages" } %}
{% set prev = { "title" : "Get started" , "link" : "start" } %}
{% set prev = { "title" : "Get started" , "link" : "index" } %}


{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}
<p>In your code editor open your prototype folder. You will see the files and folders that you can edit in your prototype.</p>
Expand All @@ -19,4 +19,4 @@ <h2 class="nhsuk-heading-m">Overview of folders in the Prototype Kit </h2>



{% endblock %}
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% set next = { "title" : "Let the user change their answers" , "link" : "let-user-change-answers" } %}
{% set prev = { "title" : "Add a textarea to question 2" , "link" : "use-components-2" } %}

{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% set next = { "title" : "Show the user’s answers on your ‘Check answers’ page" , "link" : "show-users-answers" } %}
{% set prev = { "title" : "Use components from the Design System" , "link" : "use-components" } %}

{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}
<ol class="nhsuk-list nhsuk-list--number">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% set prev = { "title" : "Link your pages together" , "link" : "link-pages-together" } %}


{% extends 'how-tos/make-first-prototype/_BASE.njk' %}
{% extends 'how-tos/build-basic-prototype/_BASE.njk' %}

{% block makePrototype %}

Expand Down
22 changes: 11 additions & 11 deletions app/views/how-tos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,34 @@ <h1>How to guides</h1>

<p class="nhsuk-lede-text">These guides will show you how to use the prototype kit, from creating a simple page to building complex user journeys.</p>

<h2>Get started</h2>
<h2>Build a basic prototype</h2>
<ul class="nhsuk-list">
<li>
<a href="/how-tos/make-first-prototype/start">Build a basic prototype</a>
<a href="/how-tos/build-basic-prototype/index">Before you start the tutorial</a>
<ol class="nhsuk-list nhsuk-list--number">
<li>
<a href="/how-tos/make-first-prototype/open-prototype-in-editor">Open your prototype in your editor</a>
<a href="/how-tos/build-basic-prototype/open-prototype-in-editor">Open your prototype in your editor</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/create-pages">Create pages</a>
<a href="/how-tos/build-basic-prototype/create-pages">Create pages</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/link-pages-together">Link your pages together</a>
<a href="/how-tos/build-basic-prototype/link-pages-together">Link your pages together</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/use-components">Use components from the Design System</a>
<a href="/how-tos/build-basic-prototype/use-components">Use components from the Design System</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/show-users-answers">Show the user's answers</a>
<a href="/how-tos/build-basic-prototype/show-users-answers">Show the user's answers</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/let-user-change-answers">Let the user change their answers</a>
<a href="/how-tos/build-basic-prototype/let-user-change-answers">Let the user change their answers</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/branching">Show different pages depending on user input (branching)</a>
<a href="/how-tos/build-basic-prototype/branching">Show different pages depending on user input (branching)</a>
</li>
<li>
<a href="/how-tos/make-first-prototype/link-index-page-start-page">Link your index page to your start page</a>
<a href="/how-tos/build-basic-prototype/link-index-page-start-page">Link your index page to your start page</a>
</li>
</ol>
</li>
Expand Down Expand Up @@ -86,7 +86,7 @@ <h2>Advanced usage</h2>

<ul class="nhsuk-list">
<li><a href="/how-tos/switching-from-govuk-prototype-kit">Switching from the GOV.UK Prototype Kit</a></li>
</ul>
</ul>

{{ backLink({
"href": "/",
Expand Down
2 changes: 1 addition & 1 deletion app/views/install/check-it-works.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2>Installation complete</h2>

<h2>Getting going</h2>

<p><a href="/how-tos/making-pages">Start making pages</a></p>
<p><a href="/how-tos/build-basic-prototype/index">Build a basic prototype</a> or view other <a href="/how-tos/index">how to guides</a>.</p>

{% block pagination %}
{% endblock %}
Expand Down

0 comments on commit 16413bd

Please sign in to comment.