diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-03 23:30:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-03 23:30:21 +0300 |
| commit | b1bf055da68e6f77650dbbd13320f377c543f470 (patch) | |
| tree | 1cac5590d6c8471b37048b6d6b26f79f9d4b4b5a /internal/processor | |
| parent | 1b24076788868f50812468b1bf4bb0ae86214e8c (diff) | |
Add per-post share button with permalink (mobile view)
Each post now exposes a share button in its header that surfaces only on
mobile. Clicking it invokes navigator.share() with a permalink of the
form "<page>#post-<ID>", which the existing deep-link handler in
shared.js already opens directly in the modal.
When navigator.share is unavailable the link is copied to the clipboard
and a brief toast confirms the action; very old browsers fall back to
window.prompt.
Amp-Thread-ID: https://ampcode.com/threads/T-019e8f2a-b58e-72b3-b572-28d1fb1d9a1d
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/processor')
0 files changed, 0 insertions, 0 deletions
