Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .changeset/website-hero-poster-resolution.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/website-own-the-relay-copy.md

This file was deleted.

33 changes: 33 additions & 0 deletions website/site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# nostream-website

## 1.3.5

### Patch Changes

- [#1062](https://github.com/cameri/nostream/pull/1062) [`5d5b5b1`](https://github.com/cameri/nostream/commit/5d5b5b1c0a439523b70a08f448fdc8cec9873864) Thanks [@chappie-daemon](https://github.com/chappie-daemon)! - perf(website): size the hero poster to the box it paints in

`hero-poster.webp` was encoded at 1920Γ—1080 for a box `Hero.astro` caps at
1180Γ—664 CSS px (`min(1180px, 80vw, film-h * 16/9)`), which Lighthouse's
`image-delivery-insight` reported as 36.9 KiB of waste on
`ema.tnsor.network` ([#876](https://github.com/cameri/nostream/issues/876)).
The poster now encodes at 1440Γ—810 β€” 1.22Γ— that box, enough for a 1.25Γ—
display, so it needs no `devicePixelRatio` branch β€” and drops from 42,926 B
to 30,878 B, a 28% reduction. SSIM against the old file at the display size
is 0.9968 at 1180Γ—664 and 0.9964 at the larger 1359Γ—764 layout [#876](https://github.com/cameri/nostream/issues/876) measured.

The social preview is unaffected: `og:image` defaults to the generated
`social-card.png` at 1200Γ—630 in `build-social-card.mjs`, and the hero poster
has no second consumer. `scripts/build-media.mjs` resizes to 1440 so the next
`pnpm run media` keeps the size instead of restoring 1920.

- [#1063](https://github.com/cameri/nostream/pull/1063) [`771f53e`](https://github.com/cameri/nostream/commit/771f53e0d1caa0ac4b140f489ffb6d021705472a) Thanks [@chappie-daemon](https://github.com/chappie-daemon)! - docs(website): lead with what the relay gives you, not its language

The default meta description and the footer still introduced nostream as "a
Nostr relay written in TypeScript", which describes the implementation and not
the thing a reader gets. The `<title>`, the `og:image:alt` and the repository
description already lead with owning a relay in a social network nobody can
switch off; the two stragglers now match them.

The description feeds `meta[name=description]`, `og:description` and
`twitter:description`, so the link preview changes with it. The technical
substance β€” PostgreSQL + Redis, Lightning admission, Tor and I2P, admin
console β€” is unchanged.

## 1.3.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion website/site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nostream-website",
"version": "1.3.4",
"version": "1.3.5",
"private": true,
"type": "module",
"description": "nostream.dev landing page and docs, built with Astro",
Expand Down
Loading