1. Collections Component Guide
  2. Image card
  3. Extra links without indent
Image card example

Extra links without indent

Don’t indent the extra links. Used for links to people pages.

How it looks (preview)

How to call this example

<%= render "govuk_publishing_components/components/image_card", {
  href: "/government/people/",
  image_src: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/feature/image/62756/s300_courts-of-justice.JPG",
  image_alt: "some meaningful alt text please",
  context: {
    text: "The Rt Hon"
  },
  heading_text: "John Whiskers MP",
  extra_links: [
    {
      text: "Minister for Cats",
      href: "/government/ministers/"
    }
  ],
  extra_links_no_indent: true
} %>