~/talk

Building a Membership Site with 11ty

Talkat TheJam.dev 2023 · 2023-01-25..01-26· [web-platform, serverless, javascript]
slides:none on file

Builds a passwordless membership site using 11ty v2 beta, Netlify and Supabase with no frameworks — vanilla JS plus Netlify Edge (Deno) functions. Implements Supabase magic link signup, a session page that reads Supabase localStorage, an Edge login function that sets an access token cookie with proper expiry, and an 11ty Edge plugin that exposes dynamic is_user global data so templates render gated content (premium variable) or a login preview. Mentions upcoming use of WebC for client-side enhancements.

AI-written summary · about

  1. 0:00Project overview
  2. 1:34Setup and configuration
  3. 4:08Magic link authentication
  4. 7:20Edge function basics
  5. 11:02Integrating Edge auth
  6. 17:59Gated content logic
  7. 25:46Building the content gate
  8. 31:06Next steps and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.