{% 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.name }} image
{% match project.logo %} {% when Some with (logo) %} {% let css_logo -%} {# If css updates make sure to update in both places! #} {% if logo.transparent_background == true -%} {% let css_logo = "h-16 w-16 rounded-xl mr-4 p-2 bg-white" -%} {% else -%} {% let css_logo = "h-16 w-16 rounded-xl mr-4" -%} {% endif -%} {% when None %} {% endmatch %}
{{ project.name }}
{{ project.dates }}

{{ project.tagline }}

{% for desc in project.description %}

{{ desc }}

{% endfor %}
    {% for accomplishment in project.accomplishments %}
  • {{ accomplishment }}
  • {% endfor %}
Technologies
    {% for technology in project.technologies %}
  • {{ technology }}
  • {% endfor %}
{% match project.link %} {% when Some with (link) %} {% match link %} {% when ProjectLink::Available(project_link) %}
{% include "icons/link.html" %} {{ project_link.label }}
{% when ProjectLink::NotAvailable %} No longer available {% endmatch %} {% when None %} {% endmatch %}