Leave site Skip to content
staging
You are here: Home » wp blocks

wp blocks

‘Details’

The Details gutenberg block, code has changed from details to accordion. Exists in Frontend library:

https://github.com/policedigitalservices/frontend/blob/master/src/scss/components/_accordion.scss

Woooo

This is an example paragrpah

Woooo

This is an example paragrpah

Woooo

This is an example paragrpah

‘Lead text’

Lead text gutenberg block, potentially will stay as is, and just be transferred into the frontend library

Hello this is a paragraph lead block

‘Care card’ / ‘contact box’

RENAMING TO ACTION

Exists in Frontend library:

https://asp-design-system.policedigital.services/components/action/

This ‘card card’ gutenberg block needs renaming. Avoiding the use of ‘card’

Care card

This is a care card

Care card

This is a care card

Time to contact us

This is a the contact box

‘Do/Do not’ / ‘information box’

RENAMING TO NOTIFICATION

This gutenberg block adds a lists to an ‘information box’ component. Component will need renaming as it already exists in the frontend library:

https://asp-design-system.policedigital.services/components/alert/

Now exists:

Possible names: alert, panel, notification, banner

This is a test

  • Hello this is a test
  • Test this is a hello

This is also a test

  • Test 1
  • Test 2

Testing

testing 123

Testing

testing 123

Testing

testing 123

‘Steps’

This is the ‘steps’ block, there is already a ‘steps’ component in the frontend library, so one will need renaming

  1. Step 1 :

    To view or hide the content within this step, use the show/hide toggle

  2. Step 2 :

    To view or hide the content within this step, use the show/hide toggle

  3. Step 3 :

    To view or hide the content within this step, use the show/hide toggle

‘block list’

Currently called ‘cards’, I think these need renaming potentially

‘card list’

This are currently ‘cards’ and I think we should make them the Card