<!-- Event Feature -->
<div class="upcoming_event_block">
<div class="upcoming_event_block_header">
<div class="fs-row">
<div class="fs-cell">
<div class="upcoming_event_block_header_inner">
<h2 class="upcoming_event_block_title">Upcoming Event</h2>
<div class="upcoming_event_block_action">
<a href="#" class="upcoming_event_block_link">
<span class="upcoming_event_block_link_inner">
<span class="upcoming_event_block_link_label">View All Events</span>
<span class="upcoming_event_block_link_icon" aria-hidden="true">
<svg class="icon icon_arrow_right">
<use href="/images/icons.svg#arrow_right" />
</svg>
</span>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="upcoming_event_body">
<div class="fs-row">
<div class="fs-cell">
<div class="upcoming_event_block_inner">
<div class="upcoming_event">
<figure class="upcoming_event_figure">
<a class="upcoming_event_figure_link" href="#" aria-label="Read more about In Enim Justo Rhoncus Ut" tabindex="-1">
<img class="upcoming_event_figure_image" srcset="https://images.fastspot.com/framework/980x735/1 980w, https://images.fastspot.com/framework/740x555/1 740w, https://images.fastspot.com/framework/500x375/1 500w, https://images.fastspot.com/framework/300x225/1 300w" src="https://images.fastspot.com/framework/300x225/1" alt="" loading="lazy" width="300" height="225">
</a>
</figure>
<div class="upcoming_event_wrapper">
<div class="upcoming_event_header">
<h2 class="upcoming_event_title">
<a href="#" class="upcoming_event_title_link">
<span class="upcoming_event_title_link_inner">
<span class="upcoming_event_title_link_label">In Enim Justo Rhoncus Ut</span>
</span>
</a>
</h2>
</div>
<div class="upcoming_event_body">
<div class="upcoming_event_details">
<div class="upcoming_event_detail">
<span class="upcoming_event_detail_hint">Time: </span>
<span class="upcoming_event_detail_label">
<span class="upcoming_event_detail_label_date">May 31, 2023 - May 31, 2023</span>
</span>
</div>
<div class="upcoming_event_detail">
<span class="upcoming_event_detail_hint">Location: </span>
<span class="upcoming_event_detail_label">Johns Hopkins Homewood campus</span>
</div>
</div>
<div class="upcoming_event_description">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END: Event Feature -->
{#
{% include '@partial-event-feature' with {
item: {
image: '1',
date: {
same_day: true,
all_day: false,
from: '2023-05-31 17:00:00',
to: '2023-05-31 19:00:00'
},
title: 'Title',
url: '#',
description: 'Description',
location: 'Location',
categories: [
{
label: 'Category',
url: '#'
}
]
}
} %}
#}
<!-- Event Feature -->
<div class="upcoming_event_block">
{% if item.blockTitle %}
<div class="upcoming_event_block_header">
<div class="fs-row">
<div class="fs-cell">
<div class="upcoming_event_block_header_inner">
{% if item.blockTitle %}
<h2 class="upcoming_event_block_title">{{ item.blockTitle }}</h2>
{% endif %}
{% if item.link %}
<div class="upcoming_event_block_action">
{% include '@partial-link' with {
class: 'upcoming_event_block',
title: item.link.title,
url: item.link.url,
icon: 'arrow_right',
} %}
</div>
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
<div class="upcoming_event_body">
<div class="fs-row">
<div class="fs-cell">
<div class="upcoming_event_block_inner">
<div class="upcoming_event">
{% if item.image %}
<figure class="upcoming_event_figure">
<a class="upcoming_event_figure_link" href="{{ item.url }}" aria-label="Read more about {{ item.title }}" tabindex="-1">
{% include '@partial-image' with {
class: 'upcoming_event_figure',
alt: '',
image: item.image,
loading: 'lazy',
sources: [
img.full.med,
img.full.sml,
img.full.xsml,
img.full.xxsml
]
} %}
</a>
</figure>
{% endif %}
<div class="upcoming_event_wrapper">
<div class="upcoming_event_header">
<h2 class="upcoming_event_title">
{% include '@partial-link' with {
class: 'upcoming_event_title',
title: item.title,
url: item.url
} %}
</h2>
</div>
<div class="upcoming_event_body">
<div class="upcoming_event_details">
{% if item.date.all_day == false %}
<div class="upcoming_event_detail">
<span class="upcoming_event_detail_hint">Time: </span>
<span class="upcoming_event_detail_label">
<span class="upcoming_event_detail_label_date">{{ item.date.from|date('M d, Y') }} - {{ item.date.to|date('M d, Y') }}</span>
</span>
</div>
{% endif %}
{% if item.location %}
<div class="upcoming_event_detail">
<span class="upcoming_event_detail_hint">Location: </span>
<span class="upcoming_event_detail_label">{{ item.location }}</span>
</div>
{% endif %}
</div>
{% if item.description %}
<div class="upcoming_event_description">
<p>{{ item.description }}</p>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END: Event Feature -->
No notes defined.