Strapi Component Bulletpointfeature - kwantu/platformconfiguration GitHub Wiki
1. Bulletpointfeature
1.1 What is a Bulletpointfeature?
A Bulletpointfeature is simply a way of displaying bullet points. Each bullet point must contain an icon and a URL that shows at the bottom of the bullet points. You can optionally add an image that displays to the right of the bullet points.
BulletPointFeature example:
1.2 How to create a Bulletpointfeature
A Bulletpointfeature is comprised of the following fields.
Field | Description | Required? |
---|---|---|
Name | This is the name of the component that is used to help identify it in Strapi | Yes |
Label | This is the label for the component on the portal | Yes |
Description | This is the description of the component that is used to help identify it in Strapi | No |
DisplayTitle | This is a radio that controls whether the Label is shown or not on the portal | Yes |
Subheading | This is a label that will be displayed as a subheading above the bullet points | No |
Subheading | This is a label that will be displayed as a subheading above the bullet points | No |
Image | This is an upload for the image that will be displayed to the right of the bullet points | No |
ButtonText | This is the text that will be displayed in the button below the bullet points | Yes |
ButtonUrl | This is the URL that the button will direct the user to when the button is clicked | Yes |
Item(x)Text | This is the text for the bullet points where (x) is a number from 1 - 5 | Yes |
Item(x)Icon | This is the upload for the image of the bullet points where (x) is a number from 1 -5 | Yes |
BulletPointFeature fields example 1:
BulletPointFeature fields example 2:
1.3 How can this be developed further?
1.3.1 Allow a variable number of items.
Currently with the Bulletpointfeature we are stuck with exactly 5 bullet points. We should implement the same ability that the Banner has to add a number of entries that can individually be customised.
1.3.2 Option to show or hide button
It is required to provide text and a URL for the button. A useful option would be to have the choice to not include the button.