<!-- Related Events -->
<div class="event_related">
<div class="event_related_header">
<div class="fs-row">
<div class="fs-cell">
<div class="event_related_header_inner">
<div class="event_related_header_title_wrapper">
<h2 class="event_related_title">Related Events</h2>
<a href="#" class="event_related_all_link">
View All Events
</a>
</div>
<div class="event_related_description">
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla non metus auct.</p>
</div>
</div>
</div>
</div>
</div>
<div class="event_related_body">
<div class="fs-row">
<div class="fs-cell">
<ul class="event_related_items event_related_items_2_col" aria-label="Related Events">
<li class="event_related_item">
<figure class="event_related_item_figure">
<a class="event_related_item_figure_link" href="page-event-detail.html" aria-label="Read more about In Enim Justo Rhoncus Ut" tabindex="-1">
<img class="event_related_item_image" srcset="https://images.fastspot.com/jhu-sustainability/980x654/1 980w, https://images.fastspot.com/jhu-sustainability/740x494/1 740w, https://images.fastspot.com/jhu-sustainability/500x334/1 500w, https://images.fastspot.com/jhu-sustainability/300x200/1 300w" sizes="(min-width: 1394px) 401px, (min-width: 1220px) 346px, (min-width: 980px) 269px, (min-width: 740px) 685px, calc(100vw - 66px)" src="https://images.fastspot.com/jhu-sustainability/300x200/1" alt="" loading="lazy" width="300" height="200">
</a>
</figure>
<div class="event_related_item_wrapper">
<div class="event_related_item_content">
<div class="event_related_item_detail event_related_item_detail_category">
<a class="event_related_item_link" href="page-event-category.html">Category One</a>
</div>
<h2 class="event_related_item_title">
<a href="page-event-detail.html" class="event_related_item_title_link ">
<span class="event_related_item_title_link_inner">
<span class="event_related_item_title_link_label">In Enim Justo Rhoncus Ut</span>
</span>
</a>
</h2>
</div>
</div>
</li>
<li class="event_related_item">
<div class="event_related_item_placeholder">
<a href="page-event-detail.html" aria-label="Read more about Aenean commodo ligula eget dolor" tabindex="-1" class="event_related_item_figure_link event_related_item_figure_link_placeholder">
<img src="/images/placeholder-calendar.svg" alt="" width="123" height="123" class="event_related_item_placeholder_icon">
</a>
</div>
<div class="event_related_item_wrapper">
<div class="event_related_item_content">
<div class="event_related_item_detail event_related_item_detail_category">
<a class="event_related_item_link" href="page-event-category.html">Category One</a>
</div>
<h2 class="event_related_item_title">
<a href="page-event-detail.html" class="event_related_item_title_link ">
<span class="event_related_item_title_link_inner">
<span class="event_related_item_title_link_label">Aenean commodo ligula eget dolor</span>
</span>
</a>
</h2>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- END: Related Events -->
{#
{% include '@component-related-events' with {
title: 'Title',
description: 'Description',
items: [
{
image: '1',
title: 'Item Title',
description: 'Item Description'
}
]
} %}
#}
<!-- Related Events -->
<div class="event_related">
{% if title or description %}
<div class="event_related_header">
<div class="fs-row">
<div class="fs-cell">
<div class="event_related_header_inner">
<div class="event_related_header_title_wrapper">
{% if title %}
<h2 class="event_related_title">{{ title }}</h2>
{% endif %}
{% if view_all %}
<a href="{{ view_all.url }}" {{view_all.target == '_blank' ? 'target="_blank" rel="noopener"'}} class="event_related_all_link">
{{ view_all.title }}
</a>
{% endif %}
</div>
{% if description %}
<div class="event_related_description">
<p>{{ description }}</p>
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
<div class="event_related_body">
<div class="fs-row">
<div class="fs-cell">
<ul class="event_related_items event_related_items_{{items|length > 2 ? 3 : 2}}_col" aria-label="{% if title %}{{ title }}{% else %}Related Events{% endif %}">
{% for item in items %}
<li class="event_related_item">
{% if item.image %}
<figure class="event_related_item_figure">
<a class="event_related_item_figure_link" href="{{ item.url }}" aria-label="Read more about {{ item.title }}" tabindex="-1">
{% include '@partial-image' with {
class: 'event_related_item',
alt: '',
image: item.image,
loading: 'lazy',
sources: [
img.classic.med,
img.classic.sml,
img.classic.xsml,
img.classic.xxsml
],
sizes: [
'(min-width: 1394px) 401px',
'(min-width: 1220px) 346px',
'(min-width: 980px) 269px',
'(min-width: 740px) 685px',
'calc(100vw - 66px)',
]
} %}
</a>
</figure>
{% else %}
<div class="event_related_item_placeholder">
<a href="{{ item.url }}" aria-label="Read more about {{ item.title }}" tabindex="-1" class="event_related_item_figure_link event_related_item_figure_link_placeholder">
<img src="/images/placeholder-calendar.svg" alt="" width="123" height="123" class="event_related_item_placeholder_icon">
</a>
</div>
{% endif %}
<div class="event_related_item_wrapper">
<div class="event_related_item_content">
{% if item.categories %}
<div class="event_related_item_detail event_related_item_detail_category">
<a class="event_related_item_link" href="{{ item.categories[0].url }}">{{ item.categories[0].label }}</a>
</div>
{% endif %}
<h2 class="event_related_item_title">
{% include '@partial-link' with {
class: 'event_related_item_title',
title: item.title,
url: item.url
} %}
</h2>
</div>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
<!-- END: Related Events -->
No notes defined.