diff --git a/README.md b/README.md index 2bcf8a1..15b13b7 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,28 @@ Both functions authenticate with a scoped `email + crm` key held by the paused agent runs nothing. It exists only because an API key cannot mint another API key. Deleting it revokes the key and breaks both functions. +## Sharing + +`/flyer` (`views/flyer.ejs`) is the link to send someone: the poster shown as a +sheet, a download button, and the share controls. It is what the footer and the +post-RSVP confirmation both point at, rather than the raw PDF, so a share always +lands on something with context. + +There is no general "share protocol". What exists is the **Web Share API** +(`navigator.share`), which on a phone opens the real OS share sheet and is the +only way to reach apps a web page cannot link to. Where `navigator.canShare` +allows files it shares the PDF itself, which is far better in a group chat than +a link; it falls back to sharing the URL, and the button stays hidden entirely on +browsers without support. Under that sit plain per-channel URLs (SMS, mailto, +WhatsApp, X, LinkedIn, Facebook) that work with no JavaScript at all, and a +copy-to-clipboard with a select-the-text fallback for in-app browsers that block +the clipboard. + +`site.config.js -> images.share` is a 1200x630 unfurl card carrying the same four +facts the flyer leads with. Both `/` and `/flyer` use it for `og:image`, so a +pasted link never previews as a wordless photo. Regenerate it from +`design/og-card.html` the same way as the flyer. + ## The printable flyer `public/assets/founders-break-flyer.pdf` is a one-page US Letter flyer, linked diff --git a/design/email-header-web.png b/design/email-header-web.png new file mode 100644 index 0000000..5d6cf2d Binary files /dev/null and b/design/email-header-web.png differ diff --git a/design/og-card.html b/design/og-card.html new file mode 100644 index 0000000..fc2ef61 --- /dev/null +++ b/design/og-card.html @@ -0,0 +1,48 @@ + + + + + + + + +
+
+

UF Startup Pool Social  /  Gainesville

+

The Founder’s
Break

+

Every Thursday7 to 9 PM

+
+

Silver Q Billiards225 W University Ave, Gainesville

+

Free entry
18 and over

+
+
+ +