Skip to content

Commit

Permalink
portico: Rewrite main landing page.
Browse files Browse the repository at this point in the history
  • Loading branch information
terpimost authored and timabbott committed May 9, 2024
1 parent a1a1452 commit ad1f9f9
Show file tree
Hide file tree
Showing 12 changed files with 567 additions and 737 deletions.
Binary file modified static/images/landing-page/hello/original/screen-1-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/landing-page/hello/original/screen-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/landing-page/hello/original/screen-2-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
384 changes: 150 additions & 234 deletions templates/corporate/hello.html

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions tools/setup/generate_landing_page_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def generate_landing_page_images() -> None:
size_1x = get_x_size(image.size, 1)

## Generate WEBP images.
image.save(f"{GENERATED_IMAGES_DIR}/{file_name}-3x.webp", quality=50)
image_2x = image.resize(size_2x)
image_2x.save(f"{GENERATED_IMAGES_DIR}/{file_name}-2x.webp", quality=50)
image_1x = image.resize(size_1x)
Expand All @@ -42,7 +41,6 @@ def generate_landing_page_images() -> None:
## Generate JPG images.
# Convert from RGBA to RGB since jpg doesn't support transparency.
rgb_image = image.convert("RGB")
rgb_image.save(f"{GENERATED_IMAGES_DIR}/{file_name}-3x.jpg", quality=19, optimize=True)
rgb_image_2x = rgb_image.resize(size_2x)
rgb_image_2x.save(
f"{GENERATED_IMAGES_DIR}/{file_name}-2x.jpg", quality=50, optimize=True
Expand Down
Loading

0 comments on commit ad1f9f9

Please sign in to comment.