-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title text image links block #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple enough, LGTM (one optional change inline comments)
@@ -0,0 +1,22 @@ | |||
{% load wagtailcore_tags %} | |||
{% load wagtailimages_tags %} | |||
<section class="flex flex-col md:flex-row md:justify-between my-16 {% if value.layout == "image_left" %}flex-col-reverse md:flex-row-reverse{% endif %}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd add md:items-center
(I think?) here so that things can be vertically centered.
Tests failing for some random security problem that I will attempt to fix. |
Adds a title + text + image block.
Description
Adds a block that allows for an image, either on the left or the right, a description and a title to be added to pages.
Motivation and Context
Can be found in on the Disasters and Climate Resiliance page of the Figma file.
How Can It Be Tested?
Screenshots (if appropriate):
Types of changes
Checklist: