Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

102 review and change information architecture #144

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/assets/sass/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,10 @@ p .app-code {
.nhsuk-table__cell {
padding: 16px 16px 16px 0;
}


// fix with bug for buttons when inverted - should be removed when source code is fixed

.nhsuk-button--reverse, .nhsuk-button--reverse:link .nhsuk-button--reverse:visited, .nhsuk-button--reverse:active, .nhsuk-button--reverse:hover {
color: $color_nhsuk-blue !important;
}
63 changes: 49 additions & 14 deletions app/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,21 @@
<div class="nhsuk-width-container nhsuk-hero--border">
<div class="nhsuk-grid-row">
<div class="nhsuk-grid-column-one-half">
<div class="nhsuk-hero__wrapper">
<div class="nhsuk-hero__wrapper nhsuk-u-padding-bottom-0">
<h1 class="nhsuk-heading-l">
Rapidly create HTML prototypes of NHS services
</h1>
<p class="nhsuk-body-l nhsuk-u-margin-bottom-0">
<p class="nhsuk-body-l">
Use prototypes to get valuable feedback and insights from user research or the people you work with.
</p>

<p class="nhsuk-u-margin-bottom-0">
{{ button({
text: "Get started",
href: "/install",
classes: "nhsuk-button--reverse"
}) }}
</p>

</div>
</div>
<div class="nhsuk-grid-column-one-half">
Expand All @@ -29,7 +37,10 @@ <h1 class="nhsuk-heading-l">
<div class="nhsuk-grid-column-full">

<ul class="nhsuk-grid-row nhsuk-card-group">
<li class="nhsuk-grid-column-one-third nhsuk-card-group__item">

<!-- hidden as hopefully not needed with 'get started' as action button -->
<!--
<li class="nhsuk-grid-column-one-half nhsuk-card-group__item">
{{ card({
"href": "/install",
"clickable": "true",
Expand All @@ -38,7 +49,24 @@ <h1 class="nhsuk-heading-l">
"description": "Download and installation guides"
}) }}
</li>
<li class="nhsuk-grid-column-one-third nhsuk-card-group__item">
-->
<!-- end hidden section -->
<li class="nhsuk-grid-column-full nhsuk-card-group__item">

<div class="nhsuk-card nhsuk-card--clickable">
<div class="nhsuk-card__content">

<strong class="nhsuk-tag nhsuk-u-margin-right-3 " >
What's new
</strong>

<h2 class="nhsuk-card__heading nhsuk-heading-xs nhsuk-u-margin-bottom-0 nhsuk-u-display-inline-block nhsuk-u-font-weight-normal"><a class="nhsuk-card__link" href="/whats-new/updates">Version 5.1.0 released 12 November 2024</a></h2>

</div>
</div>

</li>
<li class="nhsuk-grid-column-one-half nhsuk-card-group__item">
{{ card({
"href": "/how-tos",
"clickable": "true",
Expand All @@ -47,22 +75,29 @@ <h1 class="nhsuk-heading-l">
"description": "Learn to create pages, use components, add data and more"
}) }}
</li>
<li class="nhsuk-grid-column-one-third nhsuk-card-group__item">

<!--
<li class="nhsuk-grid-column-one-half nhsuk-card-group__item">
{{ card({
"href": "page-templates",
"href": "updates",
"clickable": "true",
"heading": "Page templates",
"heading": "What's new",
"headingClasses": "nhsuk-heading-m",
"description": "Copy and paste page templates into your project"
"description": "Check what changes have been made to the kit recently"
}) }}
</li>
-->
<li class="nhsuk-grid-column-one-half nhsuk-card-group__item">
{{ card({
"href": "about",
"clickable": "true",
"heading": "Support",
"headingClasses": "nhsuk-heading-m",
"description": "Contact the team to get help and support"
}) }}
</li>
</ul>

<hr class="nhsuk-u-margin-top-2 nhsuk-u-margin-bottom-6">

<div class="nhsuk-u-reading-width">
<p class="nhsuk-u-margin-bottom-0"><a href="https://service-manual.nhs.uk">Visit the NHS digital service manual</a> for guidance and examples.</p>
</div>

</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
}) }}
{% endblock %}


{% block footer %}
{{ footer({
links: [
Expand Down