-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(YALB-mega-footer-2): add new 3:1 horizontal logo crop type, add n…
…ew 3:1 image styles and responsive image style
- Loading branch information
Showing
8 changed files
with
195 additions
and
0 deletions.
There are no files selected for viewing
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
37 changes: 37 additions & 0 deletions
37
web/profiles/custom/yalesites_profile/config/sync/crop.type.logo_horizontal_3_1.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
uuid: 6b052cd9-2d1c-4b86-9349-7f3b7f7ba104 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
module: | ||
- entity_redirect | ||
third_party_settings: | ||
entity_redirect: | ||
redirect: | ||
add: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
edit: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
delete: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
anonymous: | ||
active: 0 | ||
destination: default | ||
url: '' | ||
external: '' | ||
label: 'Logo Horizontal (3:1)' | ||
id: logo_horizontal_3_1 | ||
description: 'Crop type for landscape/horizontal logos in 3:1 aspect ratio.' | ||
aspect_ratio: '3:1' | ||
soft_limit_width: null | ||
soft_limit_height: null | ||
hard_limit_width: null | ||
hard_limit_height: null |
26 changes: 26 additions & 0 deletions
26
web/profiles/custom/yalesites_profile/config/sync/image.style.3_1_300.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
uuid: 5a51324b-359a-43fd-bcb4-2be349b5084f | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- crop.type.logo_horizontal_3_1 | ||
module: | ||
- crop | ||
name: '3_1_300' | ||
label: '3:1 (300)' | ||
effects: | ||
aa428c6a-4f01-463a-a2a8-60826c4d4a66: | ||
uuid: aa428c6a-4f01-463a-a2a8-60826c4d4a66 | ||
id: crop_crop | ||
weight: 1 | ||
data: | ||
crop_type: logo_horizontal_3_1 | ||
automatic_crop_provider: null | ||
8a3873d2-9ad7-46cb-bdf9-5df37ba25a51: | ||
uuid: 8a3873d2-9ad7-46cb-bdf9-5df37ba25a51 | ||
id: image_scale_and_crop | ||
weight: 2 | ||
data: | ||
width: 300 | ||
height: 100 | ||
anchor: center-center |
26 changes: 26 additions & 0 deletions
26
web/profiles/custom/yalesites_profile/config/sync/image.style.3_1_400.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
uuid: 36d76d1d-fd7a-4deb-94e8-87b4f059b78b | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- crop.type.logo_horizontal_3_1 | ||
module: | ||
- crop | ||
name: '3_1_400' | ||
label: '3:1 (400)' | ||
effects: | ||
06a2fdc7-3eb2-437b-b96e-2b06edb78127: | ||
uuid: 06a2fdc7-3eb2-437b-b96e-2b06edb78127 | ||
id: crop_crop | ||
weight: 1 | ||
data: | ||
crop_type: logo_horizontal_3_1 | ||
automatic_crop_provider: null | ||
1779826d-ec52-4a15-b9e1-3ad08b1549a3: | ||
uuid: 1779826d-ec52-4a15-b9e1-3ad08b1549a3 | ||
id: image_scale_and_crop | ||
weight: 2 | ||
data: | ||
width: 400 | ||
height: 133 | ||
anchor: center-center |
26 changes: 26 additions & 0 deletions
26
web/profiles/custom/yalesites_profile/config/sync/image.style.3_1_500.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
uuid: d9ccb021-af76-427d-9704-d622356eb0ee | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- crop.type.logo_horizontal_3_1 | ||
module: | ||
- crop | ||
name: '3_1_500' | ||
label: '3:1 (500)' | ||
effects: | ||
53979460-2d06-41ed-8c19-0606690aca30: | ||
uuid: 53979460-2d06-41ed-8c19-0606690aca30 | ||
id: crop_crop | ||
weight: 1 | ||
data: | ||
crop_type: logo_horizontal_3_1 | ||
automatic_crop_provider: null | ||
5fd3c76d-3e51-4a42-a62c-002a6134504a: | ||
uuid: 5fd3c76d-3e51-4a42-a62c-002a6134504a | ||
id: image_scale_and_crop | ||
weight: 2 | ||
data: | ||
width: 500 | ||
height: 166 | ||
anchor: center-center |
26 changes: 26 additions & 0 deletions
26
web/profiles/custom/yalesites_profile/config/sync/image.style.3_1_600.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
uuid: 5efd596b-b64b-462a-8464-1d708d55bf08 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- crop.type.logo_horizontal_3_1 | ||
module: | ||
- crop | ||
name: '3_1_600' | ||
label: '3:1 (600)' | ||
effects: | ||
31133b06-51c3-40a2-b493-a5015514cf48: | ||
uuid: 31133b06-51c3-40a2-b493-a5015514cf48 | ||
id: crop_crop | ||
weight: 1 | ||
data: | ||
crop_type: logo_horizontal_3_1 | ||
automatic_crop_provider: null | ||
283af2b5-646f-4ac0-8651-fc56402b161c: | ||
uuid: 283af2b5-646f-4ac0-8651-fc56402b161c | ||
id: image_scale_and_crop | ||
weight: 2 | ||
data: | ||
width: 600 | ||
height: 200 | ||
anchor: center-center |
26 changes: 26 additions & 0 deletions
26
web/profiles/custom/yalesites_profile/config/sync/image.style.3_1_700.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
uuid: 1fc31537-285c-4d51-a818-e679ab7b4277 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- crop.type.logo_horizontal_3_1 | ||
module: | ||
- crop | ||
name: '3_1_700' | ||
label: '3:1 (700)' | ||
effects: | ||
40a36e6d-3a30-4c7c-9adb-eb2a89ecda22: | ||
uuid: 40a36e6d-3a30-4c7c-9adb-eb2a89ecda22 | ||
id: crop_crop | ||
weight: 1 | ||
data: | ||
crop_type: logo_horizontal_3_1 | ||
automatic_crop_provider: null | ||
09e9582c-0f44-431a-a684-1c35cea092e7: | ||
uuid: 09e9582c-0f44-431a-a684-1c35cea092e7 | ||
id: image_scale_and_crop | ||
weight: 2 | ||
data: | ||
width: 700 | ||
height: 233 | ||
anchor: center-center |
27 changes: 27 additions & 0 deletions
27
...s/custom/yalesites_profile/config/sync/responsive_image.styles.image_horizontal_logos.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
uuid: 5a91f1a5-323d-4607-b493-7bcbed8e18db | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- image.style.3_1_300 | ||
- image.style.3_1_400 | ||
- image.style.3_1_500 | ||
- image.style.3_1_600 | ||
- image.style.3_1_700 | ||
id: image_horizontal_logos | ||
label: 'Image - Horizontal Logos' | ||
image_style_mappings: | ||
- | ||
image_mapping_type: sizes | ||
image_mapping: | ||
sizes: '(min-width:556px) 500px, 100vw' | ||
sizes_image_styles: | ||
- '3_1_300' | ||
- '3_1_400' | ||
- '3_1_500' | ||
- '3_1_600' | ||
- '3_1_700' | ||
breakpoint_id: responsive_image.viewport_sizing | ||
multiplier: 1x | ||
breakpoint_group: responsive_image | ||
fallback_image_style: '3_1_300' |