From b1cbdc6c2882951d87a02418b9c77a9140afa8dd Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 31 May 2026 09:53:54 -0500 Subject: [PATCH] fix: serve logo as WebP with PNG fallback via picture element Converts the 120KB PNG logo to 17KB WebP (86% smaller). Both logo instances in the marketing layout use with WebP source and PNG fallback for maximum browser compatibility. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- .../components/marketing_layouts.ex | 26 +++++++++++------- priv/static/images/towerops_logo.webp | Bin 0 -> 17214 bytes 2 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 priv/static/images/towerops_logo.webp diff --git a/lib/towerops_web/components/marketing_layouts.ex b/lib/towerops_web/components/marketing_layouts.ex index fc28470f..10b34aaa 100644 --- a/lib/towerops_web/components/marketing_layouts.ex +++ b/lib/towerops_web/components/marketing_layouts.ex @@ -32,11 +32,14 @@ defmodule ToweropsWeb.MarketingLayouts do