diff --git a/hugo-site/content/_index.md b/hugo-site/content/_index.md index 2a8613a5..e998973e 100644 --- a/hugo-site/content/_index.md +++ b/hugo-site/content/_index.md @@ -37,14 +37,14 @@ side.

+ media="(prefers-color-scheme: dark)" width="1800" height="886"> + width="1800" height="886"> + media="(prefers-color-scheme: dark)" width="1800" height="886"> A live River chat room, the Freenet Official room, showing messages and a member list + alt="A live River chat room, the Freenet room, showing a room list, a conversation and a member list" + width="1800" height="886" fetchpriority="high" decoding="async"> diff --git a/hugo-site/static/images/river-hero-dark.webp b/hugo-site/static/images/river-hero-dark.webp index 4b6d306c..41a8b14c 100644 Binary files a/hugo-site/static/images/river-hero-dark.webp and b/hugo-site/static/images/river-hero-dark.webp differ diff --git a/hugo-site/static/images/river-hero-light.webp b/hugo-site/static/images/river-hero-light.webp index c77cc745..23e0383b 100644 Binary files a/hugo-site/static/images/river-hero-light.webp and b/hugo-site/static/images/river-hero-light.webp differ diff --git a/hugo-site/static/images/river-screenshot-dark.png b/hugo-site/static/images/river-screenshot-dark.png index ffc4711f..4d6ac9ce 100644 Binary files a/hugo-site/static/images/river-screenshot-dark.png and b/hugo-site/static/images/river-screenshot-dark.png differ diff --git a/hugo-site/static/images/river-screenshot-light.png b/hugo-site/static/images/river-screenshot-light.png index c80ae581..78c47584 100644 Binary files a/hugo-site/static/images/river-screenshot-light.png and b/hugo-site/static/images/river-screenshot-light.png differ diff --git a/hugo-site/static/slides/demo/river.html b/hugo-site/static/slides/demo/river.html index 3da1905d..fd321289 100644 --- a/hugo-site/static/slides/demo/river.html +++ b/hugo-site/static/slides/demo/river.html @@ -5,7 +5,7 @@

River: Decentralized Chat

- River Chat + River Chat
diff --git a/hugo-site/themes/freenet/assets/css/freenet.css b/hugo-site/themes/freenet/assets/css/freenet.css index 9b7e9f9e..ee07e3f9 100644 --- a/hugo-site/themes/freenet/assets/css/freenet.css +++ b/hugo-site/themes/freenet/assets/css/freenet.css @@ -363,12 +363,15 @@ } /* Natural aspect ratio, no cropping. A fixed height with object-fit: cover was - tried and reverted: the light and dark screenshots have different aspect - ratios (1379x1269 against 1290x867), so any height tall enough to suit the - light one crops the DARK one horizontally, which removed the member list - entirely and sliced message text mid-word. The two schemes therefore have - slightly different hero heights, which nobody sees, and both show the whole - screenshot, which everybody does. + tried and reverted back when the two screenshots had different aspect ratios + (1379x1269 light against 1290x867 dark): any height tall enough for the light + one cropped the DARK one horizontally, removing the member list and slicing + message text mid-word. + + Both are now captured in one pass at the same viewport, so they are both + 1800x910 and the two schemes render at identical heights. The cropping hazard + above is therefore gone, but there is still nothing to gain from object-fit: + cover, so this stays as it is. The width/height attributes on each reserve the correct box before the image lands, so this costs no layout shift. */ diff --git a/hugo-site/themes/freenet/layouts/river/baseof.html b/hugo-site/themes/freenet/layouts/river/baseof.html index d5cec6b8..7042c959 100644 --- a/hugo-site/themes/freenet/layouts/river/baseof.html +++ b/hugo-site/themes/freenet/layouts/river/baseof.html @@ -9,6 +9,8 @@ + +