{% let css_image_position -%} {% let css_image_position_corner -%} {# If css updates make sure to update in both places! #} {% match project.image.position %} {% when Position::Left %} {% let css_image_position = "2xl:flex items-stretch justify-between" -%} {% let css_image_position_corner = "flex w-full 2xl:w-1/2 grow rounded-t-2xl object-cover 2xl:rounded-tr-none 2xl:rounded-l-2xl" -%} {% when Position::Right %} {% let css_image_position = "2xl:flex items-stretch justify-between 2xl:flex-row-reverse" -%} {% let css_image_position_corner = "flex w-full 2xl:w-1/2 grow rounded-t-2xl object-cover 2xl:rounded-tl-none 2xl:rounded-r-2xl" -%} {% endmatch %}
{{ project.tagline }}
{{ desc }}
{% endfor %}