Skip to content
Snippets Groups Projects
Commit 104f572c authored by Max's avatar Max
Browse files

Issue #3343373: Initial implementation

parent e1d28170
No related branches found
No related tags found
1 merge request!1Issue #3343373: Initial implementation
Showing
with 667 additions and 0 deletions
package-lock.json
node_modules/
# Development
## Styles
1. Run `npm i`
2. `npm run build` to build styles
3. `npm run watch` to watch and rebuild styles
.block-lb-related-articles {
margin: 40px 0; }
@media (min-width: 768px) {
.block-lb-related-articles {
margin: 80px 0 70px; } }
.block-lb-related-articles .section-description {
margin-bottom: 40px; }
@media (min-width: 768px) {
.block-lb-related-articles .section-description {
margin-bottom: 50px; } }
.block-lb-related-articles .section-description h3 {
font-family: "Cachet Medium", "Cachet", Verdana, Geneva, sans-serif;
font-size: 35px;
line-height: 40px; }
@media (min-width: 768px) {
.block-lb-related-articles .section-description h3 {
font-size: 50px;
line-height: 65px; } }
.block-lb-related-articles .section-description .link a {
color: var(--ylb-color-dark-grey);
font-size: 18px;
line-height: 26px; }
.block-lb-related-articles .section-description .link a:after {
content: '';
width: 5px;
height: 9px;
margin-left: 10px;
display: inline-block;
background: url(../svg/chevron-right.svg) no-repeat;
background-size: contain; }
.block-lb-related-articles .related-articles {
display: flex;
flex-wrap: wrap; }
@media (min-width: 768px) {
.block-lb-related-articles .related-articles {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px; } }
@media (min-width: 1200px) {
.block-lb-related-articles .related-articles {
grid-template-columns: repeat(3, 1fr); } }
.block-lb-related-articles .related-articles .views-row {
width: 100%;
margin-bottom: 40px; }
@media (min-width: 768px) {
.block-lb-related-articles .related-articles .views-row {
margin-bottom: 0; } }
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxiLXJlbGF0ZWQtYXJ0aWNsZXMtYmxvY2suY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0UsY0FBYyxFQUFFO0VBQ2hCO0lBQ0U7TUFDRSxtQkFBbUIsRUF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2Zy9jaGV2cm9uLXJpZ2h0LnN2Zykgbm8tcmVwZWF0O1xuICAgICAgICBiYWNrZ3JvdW5kLXNpemU6IGNvbnRhaW47IH1cbiAgLmJsb2NrLWxiLXJlbGF0ZWQtYXJ0aWNsZXMgLnJlbGF0ZWQtYXJ0aWNsZXMge1xuICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgZmxleC13cmFwOiB3cmFwOyB9XG4gICAgQG1lZGlhIChtaW4td2lkdGg6IDc2OHB4KSB7XG4gICAgICAuYmxvY2stbGItcmVsYXRlZC1hcnRpY2xlcyAucmVsYXRlZC1hcnRpY2xlcyB7XG4gICAgICAgIGRpc3BsYXk6IGdyaWQ7XG4gICAgICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogcmVwZWF0KDIsIDFmcik7XG4gICAgICAgIGdhcDogMzBweDsgfSB9XG4gICAgQG1lZGlhIChtaW4td2lkdGg6IDEyMDBweCkge1xuICAgICAgLmJsb2NrLWxiLXJlbGF0ZWQtYXJ0aWNsZXMgLnJlbGF0ZWQtYXJ0aWNsZXMge1xuICAgICAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IHJlcGVhdCgzLCAxZnIpOyB9IH1cbiAgICAuYmxvY2stbGItcmVsYXRlZC1hcnRpY2xlcyAucmVsYXRlZC1hcnRpY2xlcyAudmlld3Mtcm93IHtcbiAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgbWFyZ2luLWJvdHRvbTogNDBweDsgfVxuICAgICAgQG1lZGlhIChtaW4td2lkdGg6IDc2OHB4KSB7XG4gICAgICAgIC5ibG9jay1sYi1yZWxhdGVkLWFydGljbGVzIC5yZWxhdGVkLWFydGljbGVzIC52aWV3cy1yb3cge1xuICAgICAgICAgIG1hcmdpbi1ib3R0b206IDA7IH0gfVxuIl19 */
\ No newline at end of file
.node--lb.node--type-article-lb.node--view-mode-related-content {
border-radius: 8px;
box-shadow: 0 0 11px 0 rgba(0, 0, 0, 0.15);
padding: 15px 20px 20px;
height: 100%; }
.node--lb.node--type-article-lb.node--view-mode-related-content .changed {
color: var(--ylb-color-dark-grey);
font-size: 16px;
font-family: "Cachet Medium", "Cachet", Verdana, Geneva, sans-serif;
line-height: 20px;
text-transform: uppercase;
margin-bottom: 15px; }
.node--lb.node--type-article-lb.node--view-mode-related-content .field-header-image {
width: calc(100% + 40px);
margin: 0 -20px 20px; }
.node--lb.node--type-article-lb.node--view-mode-related-content .field-header-image img {
border-radius: 0; }
.node--lb.node--type-article-lb.node--view-mode-related-content .wrapper-field-tags {
margin-bottom: 20px;
margin-top: 0; }
.node--lb.node--type-article-lb.node--view-mode-related-content h3 {
margin-bottom: 20px; }
.node--lb.node--type-article-lb.node--view-mode-related-content h3 a {
color: var(--ylb-color-dark-grey);
font-family: "Cachet Medium", "Cachet", Verdana, Geneva, sans-serif;
font-size: 30px;
line-height: 32px; }
.node--lb.node--type-article-lb.node--view-mode-related-content .body {
font-family: Verdana, Arial, sans-serif;
font-size: 18px;
line-height: 28px; }
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxiLXJlbGF0ZWQtYXJ0aWNsZXMtbm9kZS5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSxrQkFBa0I7RUFDbEIsMENBQTBDO0VBQzFDLHVCQUF1QjtFQUN2QixZQUFZLEVBQUU7RUFDZDtJQUNFLGlDQUFpQztJQUNqQyxlQUFlO0lBQ2YsbUVBQW1FO0lBQ25FLGlCQUFpQjtJQUNqQix5QkFBeUI7SUFDekIsbUJBQW1CLEVBQUU7RUFDdkI7SUFDRSx3QkFBd0I7SUFDeEIsb0JBQW9CLEVBQUU7SUFDdEI7TUFDRSxnQkFBZ0IsRUFBRTtFQUN0QjtJQUNFLG1CQUFtQjtJQUNuQixhQUFhLEVBQUU7RUFDakI7SUFDRSxtQkFBbUIsRUFBRTtJQUNyQjtNQUNFLGlDQUFpQztNQUNqQyxtRUFBbUU7TUFDb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sYi5ub2RlLS12aWV3LW1vZGUtcmVsYXRlZC1jb250ZW50IC5maWVsZC1oZWFkZXItaW1hZ2UgaW1nIHtcbiAgICAgIGJvcmRlci1yYWRpdXM6IDA7IH1cbiAgLm5vZGUtLWxiLm5vZGUtLXR5cGUtYXJ0aWNsZS1sYi5ub2RlLS12aWV3LW1vZGUtcmVsYXRlZC1jb250ZW50IC53cmFwcGVyLWZpZWxkLXRhZ3Mge1xuICAgIG1hcmdpbi1ib3R0b206IDIwcHg7XG4gICAgbWFyZ2luLXRvcDogMDsgfVxuICAubm9kZS0tbGIubm9kZS0tdHlwZS1hcnRpY2xlLWxiLm5vZGUtLXZpZXctbW9kZS1yZWxhdGVkLWNvbnRlbnQgaDMge1xuICAgIG1hcmdpbi1ib3R0b206IDIwcHg7IH1cbiAgICAubm9kZS0tbGIubm9kZS0tdHlwZS1hcnRpY2xlLWxiLm5vZGUtLXZpZXctbW9kZS1yZWxhdGVkLWNvbnRlbnQgaDMgYSB7XG4gICAgICBjb2xvcjogdmFyKC0teWxiLWNvbG9yLWRhcmstZ3JleSk7XG4gICAgICBmb250LWZhbWlseTogXCJDYWNoZXQgTWVkaXVtXCIsIFwiQ2FjaGV0XCIsIFZlcmRhbmEsIEdlbmV2YSwgc2Fucy1zZXJpZjtcbiAgICAgIGZvbnQtc2l6ZTogMzBweDtcbiAgICAgIGxpbmUtaGVpZ2h0OiAzMnB4OyB9XG4gIC5ub2RlLS1sYi5ub2RlLS10eXBlLWFydGljbGUtbGIubm9kZS0tdmlldy1tb2RlLXJlbGF0ZWQtY29udGVudCAuYm9keSB7XG4gICAgZm9udC1mYW1pbHk6IFZlcmRhbmEsIEFyaWFsLCBzYW5zLXNlcmlmO1xuICAgIGZvbnQtc2l6ZTogMThweDtcbiAgICBsaW5lLWhlaWdodDogMjhweDsgfVxuIl19 */
\ No newline at end of file
@import "_functions";
@import "_mixins";
@import "_variables";
$font-cache-medium: "Cachet Medium", "Cachet", Verdana, Geneva, sans-serif;
.block-lb-related-articles {
margin: 40px 0;
@include media-breakpoint-up('md') {
margin: 80px 0 70px;
}
.section-description {
margin-bottom: 40px;
@include media-breakpoint-up('md') {
margin-bottom: 50px;
}
h3 {
font-family: $font-cache-medium;
font-size: 35px;
line-height: 40px;
@include media-breakpoint-up('md') {
font-size: 50px;
line-height: 65px;
}
}
.link {
a {
color: var(--ylb-color-dark-grey);
font-size: 18px;
line-height: 26px;
&:after {
content: '';
width: 5px;
height: 9px;
margin-left: 10px;
display: inline-block;
background: url(../svg/chevron-right.svg) no-repeat;
background-size: contain;
}
}
}
}
.related-articles {
display: flex;
flex-wrap: wrap;
@include media-breakpoint-up('md') {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
@include media-breakpoint-up('xl') {
grid-template-columns: repeat(3, 1fr);
}
.views-row {
width: 100%;
margin-bottom: 40px;
@include media-breakpoint-up('md') {
margin-bottom: 0;
}
}
}
}
@import "_functions";
@import "_mixins";
@import "_variables";
$font-cache-medium: "Cachet Medium", "Cachet", Verdana, Geneva, sans-serif;
.node--lb.node--type-article-lb.node--view-mode-related-content {
border-radius: 8px;
box-shadow: 0 0 11px 0 rgba(0,0,0,0.15);
padding: 15px 20px 20px;
height: 100%;
.changed {
color: var(--ylb-color-dark-grey);
font-size: 16px;
font-family: $font-cache-medium;
line-height: 20px;
text-transform: uppercase;
margin-bottom: 15px;
}
.field-header-image {
width: calc(100% + 40px);
margin: 0 -20px 20px;
img {
border-radius: 0;
}
}
.wrapper-field-tags {
margin-bottom: 20px;
margin-top: 0;
}
h3 {
margin-bottom: 20px;
a {
color: var(--ylb-color-dark-grey);
font-family: $font-cache-medium;
font-size: 30px;
line-height: 32px;
}
}
.body {
font-family: Verdana, Arial, sans-serif;
font-size: 18px;
line-height: 28px;
}
}
<svg width="19px" height="29px" viewBox="0 0 19 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Layout-Builder-2.0" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Testimonials-Desktop" transform="translate(-1173.000000, -554.000000)" fill="#2F2F2F">
<g id="Group-5" transform="translate(247.800000, 304.000000)">
<g id="Group-4" transform="translate(0.000000, 176.000000)">
<path d="M943.50404,87.7715895 L943.440025,87.6682026 L936.284295,76.0051044 L936.159049,75.8009479 C935.515426,74.791817 934.348618,74.1818308 933.097477,74.2004127 L927.190034,74.2004127 C926.532454,74.2018559 926.000194,74.7035696 926.000195,75.3219652 C925.99653,75.5074561 926.044504,75.6906243 926.139358,75.8532957 L933.346578,87.5922982 C934.028177,88.6849911 934.039313,90.036369 933.375802,91.1388642 L927.113494,101.346692 C927.018641,101.509364 926.970667,101.692532 926.974332,101.878023 C926.974332,102.497439 927.508287,102.999575 928.166954,102.999575 L934.226084,102.999575 C935.477297,103.018428 936.644239,102.408372 937.287656,101.39904 L937.412902,101.194884 L943.438634,91.3796642 L943.549964,91.1977555 C943.855302,90.684444 944.010407,90.1041577 943.999458,89.5160812 C944.00208,88.9040296 943.832608,88.3022028 943.508215,87.7715895 L943.50404,87.7715895 Z" id="Shape"></path>
</g>
</g>
</g>
</g>
</svg>
\ No newline at end of file
langcode: en
status: true
dependencies: { }
id: lb_related_articles
label: 'Related Articles'
revision: 0
description: 'A component for adding custom Related Articles.'
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.field.block_content.lb_related_articles.field_article_type
- field.field.block_content.lb_related_articles.field_content_items
- field.field.block_content.lb_related_articles.field_items_count_to_display
- field.field.block_content.lb_related_articles.field_location_reference
- field.field.block_content.lb_related_articles.field_related_link
- field.field.block_content.lb_related_articles.field_section_title
- field.field.block_content.lb_related_articles.field_tags
- field.field.block_content.lb_related_articles.field_widget_type
module:
- link
id: block_content.lb_related_articles.default
targetEntityType: block_content
bundle: lb_related_articles
mode: default
content:
field_article_type:
type: options_select
weight: 4
region: content
settings: { }
third_party_settings: { }
field_content_items:
type: entity_reference_autocomplete
weight: 7
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_items_count_to_display:
type: options_select
weight: 8
region: content
settings: { }
third_party_settings: { }
field_location_reference:
type: entity_reference_autocomplete
weight: 5
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_related_link:
type: link_default
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
field_section_title:
type: string_textfield
weight: 1
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
field_tags:
type: entity_reference_autocomplete
weight: 6
region: content
settings:
match_operator: CONTAINS
match_limit: 10
size: 60
placeholder: ''
third_party_settings: { }
field_widget_type:
type: options_select
weight: 3
region: content
settings: { }
third_party_settings: { }
info:
type: string_textfield
weight: 0
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
langcode:
type: language_select
weight: 9
region: content
settings:
include_locked: true
third_party_settings: { }
hidden: { }
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.field.block_content.lb_related_articles.field_article_type
- field.field.block_content.lb_related_articles.field_content_items
- field.field.block_content.lb_related_articles.field_items_count_to_display
- field.field.block_content.lb_related_articles.field_location_reference
- field.field.block_content.lb_related_articles.field_related_link
- field.field.block_content.lb_related_articles.field_section_title
- field.field.block_content.lb_related_articles.field_tags
- field.field.block_content.lb_related_articles.field_widget_type
module:
- link
id: block_content.lb_related_articles.default
targetEntityType: block_content
bundle: lb_related_articles
mode: default
content:
field_related_link:
type: link
label: hidden
settings:
trim_length: 80
url_only: false
url_plain: false
rel: ''
target: ''
third_party_settings: { }
weight: 1
region: content
field_section_title:
type: string
label: hidden
settings:
link_to_entity: false
third_party_settings: { }
weight: 0
region: content
hidden:
field_article_type: true
field_content_items: true
field_items_count_to_display: true
field_location_reference: true
field_tags: true
field_widget_type: true
langcode: true
search_api_excerpt: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.media.related_content
- field.field.media.image.field_media_caption
- field.field.media.image.field_media_image
- field.field.media.image.field_media_in_library
- field.field.media.image.field_media_tags
- media.type.image
- responsive_image.styles.related_block_image_desktop
module:
- layout_builder
- responsive_image
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
id: media.image.related_content
targetEntityType: media
bundle: image
mode: related_content
content:
field_media_image:
type: responsive_image
label: hidden
settings:
responsive_image_style: related_block_image_desktop
image_link: ''
third_party_settings: { }
weight: 0
region: content
hidden:
created: true
field_media_caption: true
field_media_in_library: true
field_media_tags: true
langcode: true
name: true
search_api_excerpt: true
thumbnail: true
uid: true
langcode: en
status: true
dependencies:
config:
- core.entity_view_mode.node.related_content
- field.field.node.article_lb.body
- field.field.node.article_lb.field_header_image
- field.field.node.article_lb.field_location_reference
- field.field.node.article_lb.field_subtitle
- field.field.node.article_lb.field_tags
- field.field.node.article_lb.field_type
- field.field.node.article_lb.layout_builder__layout
- node.type.article_lb
module:
- layout_builder
- layout_builder_restrictions
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
layout_builder_restrictions:
allowed_block_categories: { }
entity_view_mode_restriction:
allowed_layouts:
- 'bootstrap_layout_builder:blb_col_1'
- 'bootstrap_layout_builder:blb_col_2'
- 'bootstrap_layout_builder:blb_col_3'
- 'bootstrap_layout_builder:blb_col_4'
denylisted_blocks: { }
allowlisted_blocks:
'Content fields':
- 'field_block:node:article_lb:body'
- 'field_block:node:article_lb:changed'
restricted_categories:
- 'Chaos Tools'
id: node.article_lb.related_content
targetEntityType: node
bundle: article_lb
mode: related_content
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 120
third_party_settings: { }
weight: 2
region: content
field_header_image:
type: entity_reference_entity_view
label: hidden
settings:
view_mode: related_content
link: false
third_party_settings: { }
weight: 0
region: content
field_location_reference:
type: entity_reference_label
label: hidden
settings:
link: true
third_party_settings: { }
weight: 3
region: content
field_tags:
type: entity_reference_label
label: hidden
settings:
link: false
third_party_settings: { }
weight: 1
region: content
hidden:
addthis: true
field_subtitle: true
field_type: true
langcode: true
layout_builder__layout: true
links: true
search_api_excerpt: true
langcode: en
status: true
dependencies:
module:
- media
id: media.related_content
label: 'Related content'
targetEntityType: media
cache: true
langcode: en
status: true
dependencies:
module:
- node
id: node.related_content
label: 'Related content'
targetEntityType: node
cache: true
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_article_type
module:
- options
id: block_content.lb_related_articles.field_article_type
field_name: field_article_type
entity_type: block_content
bundle: lb_related_articles
label: 'Article type'
description: 'Choose Type to filter Articles based on the Type values set inside the Article.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: list_string
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_content_items
id: block_content.lb_related_articles.field_content_items
field_name: field_content_items
entity_type: block_content
bundle: lb_related_articles
label: 'Specified Articles'
description: 'Set dedicated Articles to be displayed in the search results.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default_no_dep:node'
handler_settings:
target_bundles: null
sort:
field: _none
direction: ASC
auto_create: 0
auto_create_bundle: ''
target_bundles_no_dep:
article_lb: article_lb
field_type: entity_reference
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_items_count_to_display
module:
- options
id: block_content.lb_related_articles.field_items_count_to_display
field_name: field_items_count_to_display
entity_type: block_content
bundle: lb_related_articles
label: 'Items count to display'
description: 'Count of Articles that should be displayed in the block.'
required: true
translatable: false
default_value:
-
value: 3
default_value_callback: ''
settings: { }
field_type: list_integer
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_location_reference
id: block_content.lb_related_articles.field_location_reference
field_name: field_location_reference
entity_type: block_content
bundle: lb_related_articles
label: Locations
description: 'Choose Locations to filter Articles based on the Locations values set inside the Article.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
handler: 'default_no_dep:node'
handler_settings:
target_bundles: null
sort:
field: _none
direction: ASC
auto_create: 0
auto_create_bundle: ''
target_bundles_no_dep:
branch: branch
field_type: entity_reference
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_related_link
module:
- link
id: block_content.lb_related_articles.field_related_link
field_name: field_related_link
entity_type: block_content
bundle: lb_related_articles
label: Link
description: 'Related page link that is displayed in the header section of the block.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
title: 2
link_type: 17
field_type: link
langcode: en
status: true
dependencies:
config:
- block_content.type.lb_related_articles
- field.storage.block_content.field_section_title
id: block_content.lb_related_articles.field_section_title
field_name: field_section_title
entity_type: block_content
bundle: lb_related_articles
label: 'Section title'
description: ''
required: true
translatable: true
default_value:
-
value: 'Related Articles'
default_value_callback: ''
settings: { }
field_type: string
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment