<div class="return-nav">
    <a href="/">Return to previous page</a>
</div>
  • Content:
    // this breadcrumb-esque link appears on top of the page, above the h1
    .return-nav {
      @include rem(margin-bottom, $grid-typo-spacing-m);
      display: block;
    
      &:before {
        color: $ncDarkBlue;
        content: '\3c';
        margin-right: 0.25em;
        text-decoration: none;
      }
    
      &:hover:before,
      &:hover a {
        color: $ncOrange;
      }
    }
    
  • URL: /components/raw/return-navigation/_return-nav.scss
  • Filesystem Path: ../../modules/custom/corp_markup/theme/navigation/return_nav.tpl.php/_return-nav.scss
  • Size: 332 Bytes

Description

A block navigation component appearing in pages which have a clear return destination, e.g. the contact form.

Example usage: https://wellcome.ac.uk/about-us/contact-us/funding-enquiry-enhanced?ref=10


Content notes

UX notes

Design notes

Back-end notes

Front-end notes

{
  "title": "Return to previous page",
  "url": "/"
}
  • Handle: @return-navigation
  • Preview:
  • Filesystem Path: ../../modules/custom/corp_markup/theme/navigation/return_nav.tpl.php/return_nav.tpl.php