Commit c7256d60 authored by Chris Shantz's avatar Chris Shantz
Browse files

Merge branch '3.0.x' into prod/3.0.x

parents 6d5dd828 18283b77
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -124,6 +124,12 @@ $card-padding: rem(gesso-spacing(sm)) !default;
}
}
}
.card__position {
color: $uw-black;
font-size: 1.26562rem;
}
// footer
.card__footer {
@include uw-no-breakout();
......
......@@ -38,5 +38,6 @@
'address': node.address,
'map_link': node.map_link,
'catalog_tags': node.catalog_tags,
'position': node.position,
} %}
</div>
......@@ -15,7 +15,7 @@
{% endif %}
<div class="card__body">
{% if title or author or date or sub_title %}
{% if title or author or date or sub_title or position %}
<div class="card__header">
{% if date %}
<div class="card__date">
......@@ -36,12 +36,17 @@
</a>
{% endif %}
</h{{ header_level }}>
{% if sub_title %}
<span class="sub-title">{{ sub_title }}</span>
{% endif %}
{% endif %}
{% if position %}
<div class="card__position">
{{ position }}
</div>
{% endif %}
{% if author %}
<div class="card__author">
by
......@@ -133,7 +138,7 @@
</div>
{% endif %}
{% if link_profile or personal_website %}
{% if link_profile or personal_webpage %}
<div class="card__contact-links">
{% embed '@components/details/details.twig' %}
{% block details_summary %}
......
......@@ -11,9 +11,9 @@
</a>
</h2>
{% endif %}
{% if contact.sub_title %}
{% if contact.position %}
<span class="uw-contact__position">
{{ contact.sub_title }}
{{ contact.position }}
</span>
{% endif %}
{% endblock %}
......
......@@ -2,24 +2,19 @@ name: 'WCMS Gesso'
description: 'Provides stylings to WCMS'
type: module
core_version_requirement: '^8 || ^9'
component-libraries:
global:
paths:
components:
namespaces:
global:
- source/_patterns/01-global
base:
paths:
base:
- source/_patterns/02-base
layouts:
paths:
layouts:
- source/_patterns/03-layouts
components:
paths:
components:
- source/_patterns/04-components
templates:
paths:
templates:
- source/_patterns/05-templates
marcos:
paths:
macros:
- source/_macros
dependencies:
- components:components
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment