<!-- News Feature -->
<section class="news_feature" id="news_feature_1" aria-labelledby="news_feature_1_item_title" aria-describedby="news_feature_1_item_description">
<div class="fs-row">
<div class="fs-cell">
<div class="news_feature_inner">
<div class="news_feature_item">
<figure class="news_feature_item_figure">
<a class="news_feature_item_figure_link" href="#" aria-labelledby="news_feature_1_item_title" tabindex="-1">
<img class="news_feature_item_image" srcset="https://images.fastspot.com/framework/980x654/1 980w, https://images.fastspot.com/framework/740x494/1 740w, https://images.fastspot.com/framework/500x334/1 500w, https://images.fastspot.com/framework/300x200/1 300w" src="https://images.fastspot.com/framework/300x200/1" alt="" loading="lazy" width="300" height="200">
</a>
</figure>
<div class="news_feature_item_wrapper">
<div class="news_feature_item_header">
<h2 class="news_feature_item_title" id="news_feature_1_item_title">
<a class="
news_feature_item_title_link
" href="#">
<span class="news_feature_item_title_link_inner">
<span class="news_feature_item_title_link_label">
Featured News
</span>
</span>
</a>
</h2>
<div class="news_feature_item_categories">
<div class="news_feature_item_category_hint" id="news_feature_1_item_category_hint">
Categories
</div>
<ul class="news_feature_item_category_list" aria-labelledby="news_feature_1_item_category_hint">
<li class="news_feature_item_category">
<a class="
button_text
" href="#">
<span class="button_text_inner">
<span class="button_text_label">
Maecenas nec odio et
</span>
</span>
</a>
</li>
<li class="news_feature_item_category">
<a class="
button_text
" href="#">
<span class="button_text_inner">
<span class="button_text_label">
Donec vitae
</span>
</span>
</a>
</li>
</ul>
</div>
</div>
<div class="news_feature_item_body">
<div class="news_feature_item_details">
<div class="news_feature_item_detail news_feature_item_date">
<span class="news_feature_item_detail_hint">
Published:
</span>
<time class="news_feature_item_detail_label" datetime="2019-01-01 17:00:00">
January 1, 2019
</time>
</div>
<div class="news_feature_item_detail news_feature_item_author">
<span class="news_feature_item_detail_hint">
- by
</span>
<span class="news_feature_item_detail_label">
Johnny Appleseed
</span>
</div>
</div>
<div class="news_feature_item_description" id="news_feature_1_item_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>
</section>
<!-- END: News Feature -->
{#
{% include '@component-news-feature' with {
item: {
image: '1',
alt: '',
categories: [
{
title: 'Category',
url: '#'
}
],
title: 'Title',
url: '#',
date: '2019-01-01 17:00:00',
author: 'Author',
description: 'Description'
}
} %}
#}
{% set id = uniqid('news_feature') %}
<!-- News Feature -->
<section
class="news_feature"
id="{{ id }}"
aria-labelledby="{{ id }}_item_title"
{% if item.description %}aria-describedby="{{ id }}_item_description"{% endif %}
>
<div class="fs-row">
<div class="fs-cell">
<div class="news_feature_inner">
<div class="news_feature_item">
{% if item.image %}
<figure class="news_feature_item_figure">
<a
class="news_feature_item_figure_link"
href="{{ item.url }}"
aria-labelledby="{{ id }}_item_title"
tabindex="-1"
>
{% include '@partial-image' with {
class: 'news_feature_item_image',
alt: item.alt,
image: item.image,
loading: 'lazy',
crop: 'classic',
max: 'med'
} %}
</a>
</figure>
{% endif %}
<div class="news_feature_item_wrapper">
<div class="news_feature_item_header">
<h2 class="news_feature_item_title" id="{{ id }}_item_title">
{% include '@partial-link' with {
classes: {
base: 'news_feature_item_title_link',
},
id: null,
title: item.title,
url: item.url
} %}
</h2>
{% if item.categories %}
<div class="news_feature_item_categories">
<div
class="news_feature_item_category_hint"
id="{{ id }}_item_category_hint"
>
Categories
</div>
<ul
class="news_feature_item_category_list"
aria-labelledby="{{ id }}_item_category_hint"
>
{% for category in item.categories %}
<li class="news_feature_item_category">
{% include '@partial-link' with {
classes: {
base: 'button_text',
},
id: null,
title: category.title,
url: category.url
} %}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
<div class="news_feature_item_body">
<div class="news_feature_item_details">
<div class="news_feature_item_detail news_feature_item_date">
<span class="news_feature_item_detail_hint">
Published:
</span>
<time class="news_feature_item_detail_label" datetime="{{ item.date }}">
{{ item.date|date('F j, Y') }}
</time>
</div>
{% if item.author %}
<div class="news_feature_item_detail news_feature_item_author">
<span class="news_feature_item_detail_hint">
- by
</span>
<span class="news_feature_item_detail_label">
{{ item.author }}
</span>
</div>
{% endif %}
</div>
{% if item.description %}
<div class="news_feature_item_description" id="{{ id }}_item_description">
<p>{{ item.description }}</p>
</div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- END: News Feature -->
No notes defined.