From fb045a9e1ae51d18ae7a3dd974185cb9c0595e24 Mon Sep 17 00:00:00 2001 From: vickytnz Date: Sat, 23 Nov 2024 18:31:06 +0000 Subject: [PATCH] add button with css to make it visible --- app/assets/sass/docs.scss | 7 +++++++ app/views/index.html | 25 +++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/app/assets/sass/docs.scss b/app/assets/sass/docs.scss index cf5e3aa8..bc887f46 100755 --- a/app/assets/sass/docs.scss +++ b/app/assets/sass/docs.scss @@ -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; +} diff --git a/app/views/index.html b/app/views/index.html index 71d7bf4b..0e8ee1e8 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -7,13 +7,21 @@
-
+

Rapidly create HTML prototypes of NHS services

-

+

Use prototypes to get valuable feedback and insights from user research or the people you work with. -

+ +

+{{ button({ + text: "Get started", + href: "/install", + classes: "nhsuk-button--reverse" +}) }} +

+
@@ -29,6 +37,9 @@

    + + + + +
  • {{ card({ "href": "/how-tos", "clickable": "true", @@ -59,7 +72,7 @@

    }) }}

  • --> -
  • +
  • {{ card({ "href": "about", "clickable": "true", @@ -68,7 +81,7 @@

    "description": "Contact the team to get help and support" }) }}

  • -
  • +
  • {{ card({ "href": "contribute", "clickable": "true",