<div class="resource-cards">
<div class="resource-cards__content">
<div class="resource-cards__header">
<h2 class="resource-cards__title">
Resource Cards
</h2>
<div class="resource-cards__more-link">
<a href="#" class="standard-button standard-button--secondary standard-button-position--default">
<span class="standard-button__text">
See all
</span>
<span class="standard-button__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span>
</a>
</div>
</div>
<div class="resource-cards__item resource-cards__item--white">
<div class="resource-card resource-card--card-background-white">
<div class="resource-card__text-content">
<div class="metadata-eyebrow-small">
<div class="metadata-eyebrow-small__type">
<div class="metadata-eyebrow-small__type__icon">
<svg role="img" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 24">
<title>document</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 6.25L14.2857 0.5H0V23.5H20V6.25ZM2.85714 3.375H12.8571V7.6875H17.1429V20.625H2.85714V3.375ZM14.2857 16.3125V17.75H5.71429V16.3125H14.2857ZM14.2857 14.875V13.4375H5.71429V14.875H14.2857ZM14.2857 10.5625V12H5.71429V10.5625H14.2857ZM8.57143 7.6875V6.25H5.71429V7.6875H8.57143Z" />
</svg>
</div>
<div class="metadata-eyebrow-small__type__label">
PDF
</div>
</div>
</div>
<a class="linked-text-with-icon linked-text-with-icon--headline5" href="#">Mauris nibh felis adipiscing varius vel tellus urna<span class="linked-text-with-icon__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span></a>
<div class="resource-card__summary">
Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt.
</div>
<div class="resource-card__date">
November 2021
</div>
<div class="resource-card__tags">
<ul class="tag-badge-list ">
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Aging
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Behavioral and Mental Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Health Equity
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Tribal Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Women's Health
</span>
</li>
</ul>
</div>
</div>
<img class="resource-card__image resource-card__image--portrait" src="holder.js/500x500?auto=yes&outline=yes" width="" height="" alt='a placeholder' />
</div>
</div>
<div class="resource-cards__item resource-cards__item--white">
<div class="resource-card resource-card--card-background-white">
<div class="resource-card__text-content">
<div class="metadata-eyebrow-small">
<div class="metadata-eyebrow-small__type">
<div class="metadata-eyebrow-small__type__icon">
<svg role="img" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 24">
<title>document</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 6.25L14.2857 0.5H0V23.5H20V6.25ZM2.85714 3.375H12.8571V7.6875H17.1429V20.625H2.85714V3.375ZM14.2857 16.3125V17.75H5.71429V16.3125H14.2857ZM14.2857 14.875V13.4375H5.71429V14.875H14.2857ZM14.2857 10.5625V12H5.71429V10.5625H14.2857ZM8.57143 7.6875V6.25H5.71429V7.6875H8.57143Z" />
</svg>
</div>
<div class="metadata-eyebrow-small__type__label">
PDF
</div>
</div>
</div>
<a class="linked-text-with-icon linked-text-with-icon--headline5" href="#">Mauris nibh felis adipiscing varius vel tellus urna<span class="linked-text-with-icon__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span></a>
<div class="resource-card__date">
November 2021
</div>
<div class="resource-card__tags">
<ul class="tag-badge-list ">
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Tribal Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Women's Health
</span>
</li>
</ul>
</div>
</div>
<img class="resource-card__image resource-card__image--landscape" src="holder.js/700x500?auto=yes&outline=yes" width="" height="" alt='a placeholder' />
</div>
</div>
<div class="resource-cards__item resource-cards__item--white">
<div class="resource-card resource-card--card-background-white">
<div class="resource-card__text-content">
<div class="metadata-eyebrow-small">
<div class="metadata-eyebrow-small__type">
<div class="metadata-eyebrow-small__type__icon">
<svg role="img" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 24">
<title>document</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 6.25L14.2857 0.5H0V23.5H20V6.25ZM2.85714 3.375H12.8571V7.6875H17.1429V20.625H2.85714V3.375ZM14.2857 16.3125V17.75H5.71429V16.3125H14.2857ZM14.2857 14.875V13.4375H5.71429V14.875H14.2857ZM14.2857 10.5625V12H5.71429V10.5625H14.2857ZM8.57143 7.6875V6.25H5.71429V7.6875H8.57143Z" />
</svg>
</div>
<div class="metadata-eyebrow-small__type__label">
PDF
</div>
</div>
</div>
<a class="linked-text-with-icon linked-text-with-icon--headline5" href="#">Mauris nibh felis adipiscing varius vel tellus urna<span class="linked-text-with-icon__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span></a>
<div class="resource-card__summary">
Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt.
</div>
<div class="resource-card__date">
November 2021
</div>
<div class="resource-card__tags">
<ul class="tag-badge-list ">
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Aging
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Behavioral and Mental Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Health Equity
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Tribal Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Women's Health
</span>
</li>
</ul>
</div>
</div>
<img class="resource-card__image resource-card__image--portrait" src="holder.js/500x500?auto=yes&outline=yes" width="" height="" alt='a placeholder' />
</div>
</div>
<div class="resource-cards__item resource-cards__item--white">
<div class="resource-card resource-card--card-background-white">
<div class="resource-card__text-content">
<div class="metadata-eyebrow-small">
<div class="metadata-eyebrow-small__type">
<div class="metadata-eyebrow-small__type__icon">
<svg role="img" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 24">
<title>document</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 6.25L14.2857 0.5H0V23.5H20V6.25ZM2.85714 3.375H12.8571V7.6875H17.1429V20.625H2.85714V3.375ZM14.2857 16.3125V17.75H5.71429V16.3125H14.2857ZM14.2857 14.875V13.4375H5.71429V14.875H14.2857ZM14.2857 10.5625V12H5.71429V10.5625H14.2857ZM8.57143 7.6875V6.25H5.71429V7.6875H8.57143Z" />
</svg>
</div>
<div class="metadata-eyebrow-small__type__label">
PDF
</div>
</div>
</div>
<a class="linked-text-with-icon linked-text-with-icon--headline5" href="#">Mauris nibh felis adipiscing varius vel tellus urna<span class="linked-text-with-icon__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span></a>
<div class="resource-card__date">
November 2021
</div>
<div class="resource-card__tags">
<ul class="tag-badge-list ">
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Aging
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Behavioral and Mental Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Health Equity
</span>
</li>
</ul>
</div>
</div>
<img class="resource-card__image resource-card__image--portrait" src="holder.js/500x660?auto=yes&outline=yes" width="" height="" alt='a placeholder' />
</div>
</div>
<div class="resource-cards__item resource-cards__item--white">
<div class="resource-card resource-card--card-background-white">
<div class="resource-card__text-content">
<div class="metadata-eyebrow-small">
<div class="metadata-eyebrow-small__type">
<div class="metadata-eyebrow-small__type__icon">
<svg role="img" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 24">
<title>document</title>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20 6.25L14.2857 0.5H0V23.5H20V6.25ZM2.85714 3.375H12.8571V7.6875H17.1429V20.625H2.85714V3.375ZM14.2857 16.3125V17.75H5.71429V16.3125H14.2857ZM14.2857 14.875V13.4375H5.71429V14.875H14.2857ZM14.2857 10.5625V12H5.71429V10.5625H14.2857ZM8.57143 7.6875V6.25H5.71429V7.6875H8.57143Z" />
</svg>
</div>
<div class="metadata-eyebrow-small__type__label">
PDF
</div>
</div>
</div>
<a class="linked-text-with-icon linked-text-with-icon--headline5" href="#">Mauris nibh felis adipiscing varius vel tellus urna<span class="linked-text-with-icon__chevron-icon">
<svg role="img" class="right-chevron" xmlns="http://www.w3.org/2000/svg" fill="currentColor" aria-hidden="true" viewBox="0 0 8 12">
<title>right chevron</title>
<path class="_mark right-chevron__shape" d="M4.50496 5.98003L0.00107202 0.0064757L0.00964937 2.55136e-07L3.49611 5.59932e-07L8 5.97463L3.48968 12L-9.53674e-07 12L4.50496 5.98003Z" />
</svg>
</span></a>
<div class="resource-card__summary">
Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt.
</div>
<div class="resource-card__date">
November 2021
</div>
<div class="resource-card__tags">
<ul class="tag-badge-list ">
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Aging
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Behavioral and Mental Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Health Equity
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Tribal Health
</span>
</li>
<li class="tag-badge-list__item">
<span class="tag-badge tag-badge--blueTint">
Women's Health
</span>
</li>
</ul>
</div>
</div>
<img class="resource-card__image resource-card__image--portrait" src="holder.js/500x500?auto=yes&outline=yes" width="" height="" alt='a placeholder' />
</div>
</div>
</div>
</div>
{% set cardBackground = background == 'blueTint' ? 'white' : 'blueTint' %}
<div class="resource-cards">
<div class="resource-cards__content">
{% if component.heading or component.moreLinkUrl %}
<div class="resource-cards__header">
{% if component.heading %}
<h2 class="resource-cards__title">
{{component.heading}}
</h2>
{% endif %}
{% if component.moreLinkUrl %}
<div class="resource-cards__more-link">
{% include 'bits/standard-button/standard-button.twig' with {
button: {
text: component.moreLinkText,
url: component.moreLinkUrl,
linkType: component.moreLinkType,
variant: 'secondary',
}
} %}
</div>
{% endif %}
</div>
{% endif %}
{% for resource in component.cards %}
{% if resource %}
<div class="resource-cards__item resource-cards__item--{{ cardBackground }}">
{% include 'partials/resource-card/resource-card.twig' with { cardBackround: cardBackground, largeTags: false } %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
{
"site": {
"title": "National Network of Public Health Institutes"
},
"background": "blueTint",
"breadcrumbs": [
{
"title": "Home",
"url": "#"
},
{
"title": "Primary Page One",
"url": "#"
},
{
"title": "Interior Page One",
"url": "#"
}
],
"footerLinks": {
"items": [
{
"title": "Subscribe to our newsletter",
"url": "#"
},
{
"title": "Explore membership benefits",
"url": "#"
},
{
"title": "See career opportunities",
"url": "#"
}
]
},
"contactInfo": {
"copyright": "© National Network of Public Health Institutes. All Rights Reserved",
"facebookLink": "https://facebook.com",
"linkedInLink": "https://linkedin.com",
"youtubeLink": "https://youtube.com",
"flickrLink": "https://flickr.com",
"twitterLink": "https://twitter.com",
"instagramLink": "https://instagram.com",
"youTubeLink": "https://youtube.com"
},
"utilityNavigation": {
"items": [
{
"title": "Member directory",
"url": "#"
},
{
"title": "Events",
"url": "#",
"isActive": true
},
{
"title": "Blog",
"url": "#"
}
]
},
"primaryNavigation": {
"items": [
{
"title": "Workforce resources",
"url": "#",
"children": [
{
"title": "Resource Directory",
"url": "#",
"children": []
},
{
"title": "Trainings",
"url": "#",
"children": [
{
"title": "Training Level 3 example",
"url": "#"
}
]
}
]
},
{
"title": "Programs & Projects",
"url": "#",
"isDescendantActive": true,
"children": [
{
"title": "Data Modernization",
"url": "#",
"children": []
},
{
"title": "Environmental Health and Emergency Preparedness",
"url": "#",
"children": []
},
{
"title": "Evaluation and Impact",
"url": "#",
"isDescendantActive": true,
"children": [
{
"title": "Third level example",
"url": "#",
"isActive": true,
"children": [
{
"title": "Fourth level example",
"url": "#",
"isActive": true,
"children": [
{
"title": "Fifth level example",
"url": "#",
"isActive": true
}
]
},
{
"title": "Fourth level example 2",
"url": "#"
},
{
"title": "Fourth level example 3",
"url": "#"
}
]
}
]
},
{
"title": "Multisector Strategies and Population Health",
"url": "#",
"children": []
},
{
"title": "Public Health Events and Convenings Management",
"url": "#",
"children": []
},
{
"title": "Public Health Infrastructure Grant",
"url": "#",
"children": []
},
{
"title": "Public health training",
"url": "#",
"children": []
}
]
},
{
"title": "Explore the Network",
"url": "#",
"children": [
{
"title": "Member Directory",
"url": "#",
"children": []
},
{
"title": "Membership paths",
"url": "#",
"children": []
}
]
},
{
"title": "Partner with us",
"url": "#"
},
{
"title": "About",
"url": "#",
"children": [
{
"title": "Blog",
"url": "#",
"children": []
},
{
"title": "Events",
"url": "#",
"children": []
},
{
"title": "Newsletters",
"url": "#",
"children": []
},
{
"title": "Signature programs",
"url": "#",
"children": []
},
{
"title": "Contact us",
"url": "#",
"children": []
},
{
"title": "Meet the team",
"url": "#",
"children": []
}
]
}
]
},
"component": {
"type": "resource-cards",
"heading": "Resource Cards",
"moreLinkUrl": "#",
"moreLinkText": "See all",
"moreLinkType": "internal",
"cards": [
{
"resourceType": "PDF",
"creationDateDisplay": "November 2021",
"title": "Mauris nibh felis adipiscing varius vel tellus urna",
"permalink": "#",
"cardBackground": "blueTint",
"addImage": true,
"featuredImage": {
"src": "holder.js/500x500?auto=yes&outline=yes",
"altText": "a placeholder",
"orientation": "portrait"
},
"tags": [
"Aging",
"Behavioral and Mental Health",
"Health Equity",
"Tribal Health",
"Women's Health"
],
"includeTags": true,
"includeImage": true,
"includeSummary": true,
"summary": "Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt."
},
{
"resourceType": "PDF",
"creationDateDisplay": "November 2021",
"title": "Mauris nibh felis adipiscing varius vel tellus urna",
"permalink": "#",
"addImage": true,
"featuredImage": {
"src": "holder.js/700x500?auto=yes&outline=yes",
"altText": "a placeholder",
"orientation": "landscape"
},
"tags": [
"Tribal Health",
"Women's Health"
],
"includeTags": true,
"includeImage": true
},
{
"resourceType": "PDF",
"creationDateDisplay": "November 2021",
"title": "Mauris nibh felis adipiscing varius vel tellus urna",
"permalink": "#",
"cardBackground": "blueTint",
"addImage": true,
"featuredImage": {
"src": "holder.js/500x500?auto=yes&outline=yes",
"altText": "a placeholder",
"orientation": "portrait"
},
"tags": [
"Aging",
"Behavioral and Mental Health",
"Health Equity",
"Tribal Health",
"Women's Health"
],
"includeTags": true,
"includeImage": true,
"includeSummary": true,
"summary": "Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt."
},
{
"resourceType": "PDF",
"creationDateDisplay": "November 2021",
"title": "Mauris nibh felis adipiscing varius vel tellus urna",
"permalink": "#",
"addImage": true,
"featuredImage": {
"src": "holder.js/500x660?auto=yes&outline=yes",
"altText": "a placeholder",
"orientation": "portrait"
},
"tags": [
"Aging",
"Behavioral and Mental Health",
"Health Equity"
],
"includeTags": true,
"includeImage": true
},
{
"resourceType": "PDF",
"creationDateDisplay": "November 2021",
"title": "Mauris nibh felis adipiscing varius vel tellus urna",
"permalink": "#",
"cardBackground": "blueTint",
"addImage": true,
"featuredImage": {
"src": "holder.js/500x500?auto=yes&outline=yes",
"altText": "a placeholder",
"orientation": "portrait"
},
"tags": [
"Aging",
"Behavioral and Mental Health",
"Health Equity",
"Tribal Health",
"Women's Health"
],
"includeTags": true,
"includeImage": true,
"includeSummary": true,
"summary": "Voluptate qui quidem qui veniam quae. Beatae voluptatem ducimus unde aut ipsum omnis dolor. Repellat debitis reprehenderit quisquam sunt."
}
]
}
}
.resource-cards {
&__content {
display: grid;
gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
grid-template-rows: auto;
max-width: 100%;
padding-top: 5rem;
padding-bottom: 5rem;
}
&__header {
grid-column: 1/-1;
display: flex;
flex-direction: row;
align-items: end;
gap: 0.5rem;
}
&__title {
@include headline4;
flex: 0 1 auto
}
&__more-link {
flex: 0 0 auto;
margin-left: auto;
}
&__more-link-text {
@include body;
display: flex;
flex-flow: row nowrap;
align-items: center;
gap: 0.5rem;
}
&__more-link-icon svg {
width: 1rem;
height: 1rem;
}
&__item {
height: 100%;
background-color: var(--white);
&--blueTint {
background-color: var(--blueTint);
}
}
&__item .resource-card {
padding: 1.5rem;
}
}
No notes defined.