Bootcamp II is a wordpress theme (as well as an inside joke) designed to suit the needs of foothillschurch.com. It makes use of webpack, Babel, Sass, Tailwind, Browsersync, PostCSS, ESLint, Stylelint, Prettier and more. It is meant for that site, but if you can use it by all means go for it.
Either make all images required, or make this block support missing images a little bit better. Either by adjusting the layout to only render the images with a value, or by providing a placeholder
A code optimization suggestion for gallery is that you could loop the images rather than having to declare each one.
There are two approaches you could take. Either echoing the non-picture block in one iteration, like this
All image fields aren't required in the image block, and if the editor doesn't provide one of them, instead it just shows "Picture 5" or whatever.
https://github.com/Myzwer/foothillschurch/blob/effc5bbf81497ae99f0561ab7849412fe9272bfd/components/blocks/gallery.php#L33-L67
Either make all images required, or make this block support missing images a little bit better. Either by adjusting the layout to only render the images with a value, or by providing a placeholder
A code optimization suggestion for gallery is that you could loop the images rather than having to declare each one.
There are two approaches you could take. Either echoing the non-picture block in one iteration, like this
OR, you could use
order
for all screen sizes and echo the block outside of the loop.I think the 2nd one is a little cleaner and easier to read personally.