Commit d589fc24 authored by Leticia Ferreira's avatar Leticia Ferreira
Browse files

update maquetado texto izq img derecha

Showing with 34 additions and 2 deletions
uuid: 41ce60bc-435a-4664-9505-d3a9191e3ec5
langcode: es
status: true
dependencies:
module:
- options
- paragraphs
id: paragraph.field_estilo_imagen
field_name: field_estilo_imagen
entity_type: paragraph
type: list_string
settings:
allowed_values:
-
value: 495x675px
label: 495x675px
-
value: 495x459px
label: 495x459px
-
value: 495x216px
label: 495x216px
allowed_values_function: ''
module: options
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
{% set image = content.field_image %}
{% set alt_img = image["#items"].0.value.alt %}
{% set texto = content.field_rich_text|field_value %}
//TODO
<section class="component-intro">
{% set style_img = content.field_estilo_imagen|field_value %}
{% set class_style = style_img.0['#markup'] == '495x675px' ? 'aspect-xl' : style_img.0['#markup'] == '495x216px' ? 'aspect-xs' : style_img.0['#markup'] == '495x459px' ? 'aspect-default' : '' %}
<section class="component-intro {{class_style}}">
<div class="page-container">
<div class="intro__content">
......
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