diff --git a/src/www/pages/index.njk b/src/www/pages/index.njk index 1c303c0a7..4c4532d54 100644 --- a/src/www/pages/index.njk +++ b/src/www/pages/index.njk @@ -36,61 +36,57 @@
{# User research #}
- {{ - wmndsContentTilesNormal({ - classModifiers: 'wmnds-content-tile--with-one-link', - title: "User research", - copy: "

Start with user needs to make sure you're building the right thing

", - smallTitle: true, - readMore: true, - link: '/user-research/', - linkText: 'Read more about user research', - linkTitle: 'User research' + {{ + wmndsContentCard({ + clickable: true, + link: "/user-research/", + linkTitle: "User research", + html: "
+

User research

+

Start with user needs to build the right thing

+
" }) }}
{# Styles #}
- {{ - wmndsContentTilesNormal({ - classModifiers: 'wmnds-content-tile--with-one-link', - title: "Styles", - copy: "

Make your service look and feel like WMN: colours, icons, typography and utility classes

", - smallTitle: true, - readMore: true, - link: '/styles/', - linkText: 'Read more about styles', - linkTitle: 'Styles' + {{ + wmndsContentCard({ + clickable: true, + link: "/styles/", + linkTitle: "Styles", + html: "
+

Styles

+

Make your service look and feel like West Midlands Network

+
" }) }}
{# Components #}
- {{ - wmndsContentTilesNormal({ - classModifiers: 'wmnds-content-tile--with-one-link', - title: "Components", - copy: "

Reusable parts of the user interface: content, map and form elements; buttons and messages

", - smallTitle: true, - readMore: true, - link: '/components/', - linkText: 'Read more about components', - linkTitle: 'Components' + {{ + wmndsContentCard({ + clickable: true, + link: "/components/", + linkTitle: "Components", + html: "
+

Components

+

Reusable parts of the user interface

+
" }) }}
{# Patterns #}
- {{ - wmndsContentTilesNormal({ - classModifiers: 'wmnds-content-tile--with-one-link', - title: "Patterns", - copy: "

Commonly used sets of components

", - smallTitle: true, - readMore: true, - link: '/patterns/', - linkText: 'Read more about patterns', - linkTitle: 'Patterns' + {{ + wmndsContentCard({ + clickable: true, + link: "/patterns/", + linkTitle: "Patterns", + html: "
+

Patterns

+

Commonly used sets of components

+
" }) }}