Skip to content

Commit

Permalink
Update landing page image sizes - tablet is the largest
Browse files Browse the repository at this point in the history
  • Loading branch information
richardTowers committed Nov 28, 2024
1 parent 54e5732 commit b7b11b5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions config/image_kinds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,37 @@ default:
from_version: s960
landing_page_image:
display_name: "Landing page image (2x pixel density) (1260 by 944)"
valid_width: 1260
valid_height: 944
valid_width: 1416
valid_height: 1062
permitted_uses:
- landing_page
versions:
- name: landing_page_desktop_2x
width: 1260
height: 944
- name: landing_page_desktop_1x
width: 630
height: 472
from_version: landing_page_desktop_2x
# Note - tablet landing page images are bigger than desktop
# because of the way they're laid out, so the tablet version
# comes first and is the parent of all others.
- name: landing_page_tablet_2x
width: 1416
height: 1062
from_version: landing_page_desktop_2x
- name: landing_page_tablet_1x
width: 708
height: 531
from_version: landing_page_desktop_2x
from_version: landing_page_tablet_2x
- name: landing_page_desktop_2x
width: 1260
height: 944
from_version: landing_page_tablet_2x
- name: landing_page_desktop_1x
width: 630
height: 472
from_version: landing_page_tablet_2x
- name: landing_page_mobile_2x
width: 1220
height: 914
from_version: landing_page_desktop_2x
from_version: landing_page_tablet_2x
- name: landing_page_mobile_1x
width: 610
height: 457
from_version: landing_page_desktop_2x
from_version: landing_page_tablet_2x
hero_mobile:
display_name: "Mobile hero image (2x pixel density) (1280 by 960)"
valid_width: 1280
Expand Down
Binary file modified test/fixtures/landing_page_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7b11b5

Please sign in to comment.