~/talk

How do Localise & Personalize Content with Sanity.io and Next.js

Talkat React Advanced 2021 · 2021-10-22..10-23· [web-platform, react]
slides:none on file

A working demo shows geo‑targeted banners built with Sanity.io and Next.js hosted on Vercel, using an API route that reads country info from headers or a query override and runs a GROQ query to fetch matching banner documents. Banners use an Unsplash asset reference and the Sanity image builder, client code records a localStorage timestamp so repeat views are suppressed, and an incognito run visibly receives the localized banner, proving the approach works end to end.

AI-written summary · about

  1. 0:00Intro
  2. 0:27The Problem
  3. 1:55The Solution
  4. 2:57The Code
  5. 6:45Outro
~/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.