Sprint 2: Create 'Featured Links' component
Requires: Stacked Links component
The Component Heading is used within Featured Links component and Link Grid component. Design is at https://www.figma.com/design/DpS9o1LIG27rvzTqc13bcQ/Templates-%E2%80%93-wireframes?node-id=1140-10333&t=yal80cdnR0gHjIVx-0
There are 3 variations in how this will display on desktop:
- Image with Stacked Links (Image can be chosen to render left or right)
- Image with Single CTA button (Image can be chosen to render left or right)
- No image with Stacked Links
Image with Stacked Links (Left image)
Image with Stacked Links (Right image)
Image with single CTA (Left image)
Image with single CTA (Right image)
No Image with Stacked Links only
On mobile - the left/right alignment is not followed and image will always stack at the top.
The only required fields are the Heading and at least 1 Link (either to render as the CTA button or to render as Stacked Links if > 1 link). The rest of the fields are optional and will determine the layout.
Validation:
- Users are not able to have NO image and 1 link as a CTA. I think we need to consider a validation here (as well as help text from Content) that states that if there is no image uploaded and ONLY 1 link on component save... then it blocks the save.
See designs on dev on figma for given padding on this and heading styles.