Last active
January 9, 2023 16:54
-
-
Save annelyse/0e31ca931b484f075c5cf8358b3fdfb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "group_63a093e6cf3f4", | |
"title": "Equipe", | |
"fields": [ | |
{ | |
"key": "field_63bc0fdf01706", | |
"label": "Membre", | |
"name": "member", | |
"aria-label": "", | |
"type": "group", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "", | |
"class": "", | |
"id": "" | |
}, | |
"layout": "", | |
"sub_fields": [ | |
{ | |
"key": "field_63a09463358bd", | |
"label": "Prénom", | |
"name": "firstname", | |
"aria-label": "", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"maxlength": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_63a0940a358bc", | |
"label": "Nom", | |
"name": "lastname", | |
"aria-label": "", | |
"type": "text", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"maxlength": "", | |
"placeholder": "", | |
"prepend": "", | |
"append": "" | |
}, | |
{ | |
"key": "field_63a094a2358bf", | |
"label": "Photo", | |
"name": "img", | |
"aria-label": "", | |
"type": "image_aspect_ratio_crop", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"crop_type": "aspect_ratio", | |
"aspect_ratio_width": 445, | |
"aspect_ratio_height": 652, | |
"return_format": "", | |
"preview_size": "thumbnail", | |
"library": "", | |
"min_width": "", | |
"min_height": "", | |
"min_size": "", | |
"max_width": "", | |
"max_height": "", | |
"max_size": "", | |
"mime_types": "" | |
}, | |
{ | |
"key": "field_63a09485358be", | |
"label": "Description", | |
"name": "description", | |
"aria-label": "", | |
"type": "wysiwyg", | |
"instructions": "", | |
"required": 0, | |
"conditional_logic": 0, | |
"wrapper": { | |
"width": "50", | |
"class": "", | |
"id": "" | |
}, | |
"default_value": "", | |
"tabs": "all", | |
"toolbar": "basic", | |
"media_upload": 0, | |
"delay": 1 | |
} | |
] | |
} | |
], | |
"location": [ | |
[ | |
{ | |
"param": "page", | |
"operator": "==", | |
"value": "2" | |
} | |
] | |
], | |
"menu_order": 0, | |
"position": "normal", | |
"style": "default", | |
"label_placement": "top", | |
"instruction_placement": "label", | |
"hide_on_screen": "", | |
"active": true, | |
"description": "", | |
"show_in_rest": 0 | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if item.member_img %} | |
<div class="offcanvas__img"> | |
{% set image = Image(item.member_img) %} | |
<img src="{{ image.src('team') }}" | |
alt="{{ image.alt }}" | |
loading="lazy" | |
width="{{ image.sizes.team.width }}" | |
height="{{ image.sizes.team.height }}" | |
srcset="{{ image.srcset }}" | |
sizes="{{ image.img_sizes }}" /> | |
</div> | |
{% endif %} | |
{{ item.title }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment